Problem with two popup application


#1

Hi !!
How to property set the workflow so that the robor knows which windows was shown and chose the right path. Can you use if loop ??


Thanks !!


#2

yes you can use if condition,
Method 1: --> 2 if conditions

if elementexists(window1)

then

do something

i felementexists(window2)

then

do something

Method 2: -->1 if condition

elementexists(window1)

then

do something

else

felementexists(window2)

perform ur activity

thanks


#3

could You illustrate this ?
thanks


#4

thanks


#5

I don’t know why, but the robot select bad workflow. I have condition (variable with boolean type). Maybe element exists is the wrong choise ??

Thanks


#6

you try using wait property, maybe its not waiting for element to appear.

thanks…


#7

Hm…
The robot does not have to wait for the popup to appear.

In this case popup doesn’t have.

This is the second condition. First condition is good

conditions 1 and 2 is the same

update :Robot always say that there is a popup