Micro Focus QTP (UFT) Forums
Drop down list class is a link - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Drop down list class is a link (/Thread-Drop-down-list-class-is-a-link)



Drop down list class is a link - thotamurali - 08-21-2014

Hi,

I am new to QTP.

I am trying to record the sign up page. But drop down values are not recording and when I run it, it is failing.


This is our site.
https://chroniclevitae.com/account/new?cid=VTHOME

This is one of the drop down question.
* Which of the following most closely describes your position?

Code:
Browser("Vitae | The Only Online").Page("Join the Only Online Community_2").Link("Select an Option").Click
Browser("Vitae | The Only Online").Page("Join the Only Online Community 2").Link("Select an Option")
Browser("Vitae | The Only Online").Page("Join the Only Online Community_2").Link("Tenure-track (Assistant").Click



Can you please help me.

Thanks in advance
-murali


RE: Drop down list class is a link - vinod123 - 08-22-2014

can u tell me the version of the browser and QTP. There is a solution for your problem Using GetROProperty get the innertext data and save it in datatable use Loop to display the desired result from your datatable of the QTP.







With Regards
Thomas Vinod

hi in the case of any problem please report the issue as early as possible


RE: Drop down list class is a link - thotamurali - 08-22-2014

Thanks Vinod for getting back to me. I am a manual tester and learning the QTP on my own. I don't even know the VB programming. But I am able to record scripts and play them.

IE browser: 11
QTP (UFT): 11

This is our site: https://chroniclevitae.com/
Create new Account page: https://chroniclevitae.com/account/new?cid=VTHOME

Here I am not able to record the drop down items.

Thanks again Vinod for getting back to me.