Micro Focus QTP (UFT) Forums

Full Version: Dropdown values Automation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am struck with one problem. in a Page i am having 2 dropdowns and corresponding textbox.
How can i automate this scenario.
Hi Arainspy,

could you please elaborate bit more... and if possible provide the screenshots...
Hi,

Thanks for the reply. I am attaching the screen shot.

After Clicking on Search button, pop up window will appear on the screen with the search results.

Please help me in Automating the Search screen.
what is the problem you are actually facing?
if it is for selecting an item from the drop down then use indexes for item like .select #1...
Hi,

My problem is in my screen i am having 3 dropdown and a textbox.

the funtionality is : I will be selecting options in 3 dropdowns and enter value in the corresponding textbox and click on search button, then a popup window will appear on the screen with search results.

How can i capture the options in 3 dropdowns ,value from textbox and popup window with Search results?

How to Automate this scenario??

Please help me..

-
Hi,

For selecting the values in dropdown no need to capture the options avilable in dropdown.
For getting the value after selecting we can use "GetROProperty("innertext") " or GetROProperty("value") (check it with object spy).

Whether your query finds answer in this?