Click.Item always select the 2nd item from the list
I am very new to TestComplete and have absolutely no coding knowledge whatsoever so am using keyword tests. I just want to be able to specify with click.item to either:
a) always choose option 2 of the drop-down or;
b) select a specific string element from a list of options which I can determine
I have searched through the community posts and looked at several guides but it is not making sense to me! Any help would be appreciated
Solved! Go to Solution.
Did you try recording a test that does either one of these actions? That's the place to start. Then you can show us your example and explain how you would like to change it. We all have different software to test and it's very hard to help you without more specifics.
[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.
You could query the database for the address that you want, and then store that in a variable that you pass as a parameter to the ClickItem message.
Click the Accept as Solution button if my answer has helped