Click.Item always select the 2nd item from the list
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Click.Item always select the 2nd item from the list
Hi
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marsha_R
I've attached part of the test recorded. I have 2 test DB's in which the drop-down data is different in many scenarios. In the example attached I would like a particular address to be selected depending on which database I am running the test against.
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
