I have application and i would like to work with dropdown option for my website.
Specially i need to first click on dropdown and then select first item from the list.
Please share the steps for Keyword Test, attached is the screenshot where I need your assistance.
Could you please assist in the same.
What have you tried? Have you used Object spy to figure out the object and it's methods? You can try recording selecting the item and see what TestComplete finds. Once you do so, you can make whatever modifications you want.
yes, i have tried working with what Testcomplete finds during recording of the dropdown
However, whenever i playback the recorded steps I do not get the item selected and it says unable to find keyword dropdown.
Try to catch the item you want to select with object spy with point and fix and choosing the specified item and press Shift+Ctrl+A in this way you can see if the class of the dropdown is recognized.
I had the same problem with selecting the dropdown items on desktop application build in Delphi, after adding the class of the dropdown Tools->Current Project Properties->Open Aplication->Text Recognition all items from the dropdown were recognized.
I had also follow the steps from the link Compiling Delphi 2007 Applications With Debug Information and rebuilding new .exe my application is working more fast and stable, the controls are recognized.
Tried , but still Testcomplete is unable to identify the dropdown element.
Can we schedule a call sometime and I can screen share you the issue.
Your error sounds like one of timing where the drop down control is perhaps not available immediately upon selection. Is there an activity you're doing before you attempt the drop down that may require the page to load or refresh?
So, it cannot find the drop down?
There's an "Additional Info" panel on the log for that error. Can you provide that information?
Also, what was mapped for the drop down control? Are there variable components in the properties (ID's, etc) that change from run to run? It might have mapped fine the first time but might need to be adjusted.
There the logs:
The object with the specified attributes does not exist.
Also, please note these are not variable properties, Link dropdown has the same properties everytime it loads.
Lets setup a call. Please assist.
Based on the error you get, TestComplete cannot find the object. It means that mapping criteria have been changed since the time you had created the test. It's worth checking the criteria you use to make sure that they are reliable (contain IDs, names, etc.).