How do i make a conditional step?


#1

One of the applications I’m using has a pop-up the first time you use it, however, when u access the same application again, it will not pop up. Is there a way to for example, wait for like 30 secs, if the pop up comes up, do the things to clear the pop up, else, carry on with the procedures?


#2

You can use ‘Delay’ activity to wait for the number of seconds that you want. Then use ‘Element Exists’ activity to identify any unique element within the popup. It will give you the result in Boolean. You can use that in an ‘If’ condition and proceed with the steps that you want to.

Let me know if thats what you were looking for.

Thanks,
Rammohan B.