sjordan
12 years agoOccasional Contributor
Web ComboBox - Can't find it?
I recorded a test of our website that involves a drop down box, from which I selected the state "Michigan." When I ran the test, I repeatedly receive an error, "Cannot perform the ClickItem operation...
- 12 years agoHi Sabrina,
First of all "Happy New Year"... :)
It is always a best practive to map an object and then use it in the test.
The problem here is , when you recorded the test the properties of the object were different than when you executed next time.(May be index or some other property changes everytime when you launches the website.)
Also the best way to work with web based application is not to use Name-mapping file (when you know the properties of the object changes everytime).
Please have a look at findChild and XPath methods to work without Name mapping files.
I hope this has been of some help.