i have a case in which i have to keep clicking on the green tick multiple times till it disappears by its own (number of clicks vary from time to time)
the problem is that i used below while loop, but iam stuck in infinte loop, since it keeps looking for the same screen.
When you use Element Exists, it return Boolean value (True or False). Please take If Condition
If ManualValuation = True
Give a try… it will work for sure…
I tried, it didnt work, because i have to click more than one time on the pop up till it disappears, so iam not able to break the while loop, it gives error.
@m0e91
use ‘Do While’ Loop.
Keep your Click Activity and Element Exists both Inside the Do Block.
In the Condition of Do while Activity, provide the Boolean output from Element Exists Activity.
You can also use ‘On Element Appear’
Indicate the Green Tick in this activity.
Inside Do block, provide the click activity.
Make sure the ‘Repeat Forever’ is True (This will repeat the click activity untill it exists)
Also tick the ‘ContinueOnError’ property (This will move forward the flow once the element is gone)
‘Do While’ Loop.
Keep your Click Activity and Element Exists both Inside the Do Block.
In the Condition of Do while Activity, provide the Boolean output from Element Exists Activity.
The Boolean Output in the above statement will work as break for you.
Initially when the green tick is present, the ‘Element Exists’ Output will be True, so the process will try again to click while the output is True.
Once the tick disappears, the element will not exist and the Output will be False, so now the while loop will not work and move ahead.
Please share the screenshot of the workflow u designed.