I am having an issue when selecting an item for a drop down list in IE.
I am passing a variable to select in the drop down list however this isn’t working for every item in the list. It works for some and not for others.
Example of exception error shown below:
“Message : Cannot select item. It was not found among existing items.
TIP: Some combo-boxes delay load items until its dropdown is expanded. Try to simulate a click on control prior to selecting an item.”
This issue can resolved by providing some delay between the select activity this happend due the control of select take some time to load on the web page and the activity already executed.
The issue was with the space in the string. So United Kingdom would fail because of the space in the middle. I was able to fix this by replacing the space with “*”.