How does the VerifyElementPresent work. it doesn’t seem to recognize the website’s dropdown list or their text boxes.
Could you give examples of what is not working?
How are you identifying the target element? Is it by id
, css
or xpath
?
From past experience I can suggest a couple of reasons:
If you are using a jQuery dropdown, then the id
attribute is dynamic, so the test case works when you record it, but when you try to replay it the id
is changed and so the test fails. In this case, I use xpath
to identify the target element.
A dynamic id
could also be why text boxes are not being identified.