Ask a Question

Selecting item in dropdown menu based on parameter

SOLVED
csteinburg
Occasional Contributor

Selecting item in dropdown menu based on parameter

What is the most effective method of automating the actions of opening a dropdown and selecting the item that matches a provided Parameter, such as providing a Parameter for a Province/State dropdown and choosing the state that matches the parameter provided in the Keyword Test?

3 REPLIES 3
Marsha_R
Community Hero

Use the Object Spy on your dropdown and use the properties to see how it's indexed.  Use the index that matches the desired parameter for the selection you need.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
csteinburg
Occasional Contributor

csteinburg_0-1609864652243.png

I can see its children here, but I am still unsure of how to select it against a parameter

Okay now use the three dots  ...  on the right side of those entries to drill down until you find the actual name of one of the child objects that you want to use and show us that please


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: