Identify an element on webpage dynamically

I requested, using the word please that you report your problem clearly. You claimed a certain line of code produced a certain error. I don’t believe that’s true. WebUI.click() does not produce errors talking about verifyElementPresent().

You do NOT need to apologize, Michael. And yes, you are doing something wrong - we’ll come to that in a minute. What we need is a clearly stated issue and a specific error caused by that issue. That’s all. I’m sorry if you take umbrage with my remarks, but I am trying to help you. If you report issues properly, things will go smoother.

At least now we have an issue (click) reporting an error about click.

Now go back to your error and find the “Caused by” part. That will help a lot.

For future reference, follow this guide to ask questions and make great reports: