gopalqa
12 years agoOccasional Contributor
TestComplete is unable to click on the displayed value for the jQuerry Autocomplete
Hi,
I am new to this tool and my TestComplete version 9.2 and trying to automate sending emails function in our app.
Here are the steps,
1. Place cursor in the "Senders Address" text field, type person first name (like John) and it display matches to the text that you entered.
2. Then Click on the required text (which has John as first name and Smith as last name),
3. It should display John smith in the "Senders Address" field.
When I replay above script, TestComplete is typing John in the text field but it is unable to click John Smith in the list because "Text IdentifierID" is changing for every run. This is a jquery AutoComplete control. I highly appreciate if someone give quick response.
Thanks in advance.
Gp.
I am new to this tool and my TestComplete version 9.2 and trying to automate sending emails function in our app.
Here are the steps,
1. Place cursor in the "Senders Address" text field, type person first name (like John) and it display matches to the text that you entered.
2. Then Click on the required text (which has John as first name and Smith as last name),
3. It should display John smith in the "Senders Address" field.
When I replay above script, TestComplete is typing John in the text field but it is unable to click John Smith in the list because "Text IdentifierID" is changing for every run. This is a jquery AutoComplete control. I highly appreciate if someone give quick response.
Thanks in advance.
Gp.
Hi Gopal,
There is a great screencast demonstrating how to deal with dynamic objects to create a reliable test. Watch it: