Micro Focus QTP (UFT) Forums
Dropdown values Automation - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Dropdown values Automation (/Thread-Dropdown-values-Automation)



Dropdown values Automation - arainspy - 07-26-2010

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.


RE: Dropdown values Automation - supputuri - 07-26-2010

Hi Arainspy,

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


RE: Dropdown values Automation - arainspy - 07-27-2010

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.


RE: Dropdown values Automation - Saket - 07-27-2010

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...


RE: Dropdown values Automation - arainspy - 07-27-2010

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..

-


RE: Dropdown values Automation - Arun Prakash - 07-28-2010

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?