Forum Discussion
7 Replies
- tristaanogreEsteemed Contributor
Could you post a screenshot of the keyword test steps that are executing this?
Typically, selecting a drop down is executed by the "ClickItem" method where you pass to that method either the string value of the item to be selected or the integer index of the item. If you are using the ClickItem method, then there may be some difference between the drop down component you are using and how TestComplete typically works with such components.
Please include, also, screenshots of the drop down control in the Object Browser displaying the full Advanced view of the properties of the object and the methods available.
- WillyJenkinsNew Contributor
Robert,
Here is the info you asked for to help flesh out the issue. As you can see I am using the ClickItem method and pulling the value to be selected from a spreadsheet. Although I don't think it makes a difference, I am seeing this behavior with drop downs that contain text as well as drop downs that are integers.
- tristaanogreEsteemed Contributor
Please provide a screen shot like this, both for properties and methods of the object in question.
- pgroeberSenior Member
We use TestComplete to test in Oracle and Oracle forms. We deal with drop down lists a lot and I use Keyword scripting for all my testing. To select a value in drop down lists I use 'Keys' as the Method or Property and then click on the three elicpes to open the Edit Parameter popup. Mode = Constant; Type = String, and in Value: I type the value I want to select from the drop down list. Hope this helps and good luck.
Related Content
- 2 years ago
Recent Discussions
- 2 days ago