How can I click a button only if it is visible on the page ?
Posted: Wed Aug 20, 2014 12:12 pm
Hi,
I can use if-else statements inside user code but what I need is to accomplish this task without any coding. I need to use if statement in recording level, Write now only "if" statement is enough for me.
For example I want to click a button only if it is visible on the page.
There was something for this purpose in QTP; for example OptionalStep that means that step will be run if only the object exists on the page.
I hope there is some similar structure in Ranorex.
Thanks,
Rastek.
I can use if-else statements inside user code but what I need is to accomplish this task without any coding. I need to use if statement in recording level, Write now only "if" statement is enough for me.
For example I want to click a button only if it is visible on the page.
There was something for this purpose in QTP; for example OptionalStep that means that step will be run if only the object exists on the page.
I hope there is some similar structure in Ranorex.
Thanks,
Rastek.