Hi all,
I’m trying to develop a loop that meets the following requirement:
Press “enter” until “OCR text exists”, then perform “X steps”.
Steps I’ve done:
Screen scraped the text, selected scrapping method - OCR, inverted text.
Changed variable type to Boolean
Put in a “IF” activity.
Condition, variable = True, then “X”.
This is where I get stuck. I need it to loop “enter” until Variable = TRUE but I’m not sure how to do that.
Any assistance is greatly appreciated
Ellboy
(Elliott)
July 17, 2019, 8:21am
2
Use a while or do while. Put what you’ve already got inside and I think the condition is what you’ve used in your if statement.
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Thanks for the reply Ellboy, I’ve added Element Exists activity and flow chart decision.
If Element exists, then hit F11, else - within “Do while”, send hot key “enter” with condition = true.
The current problem is that it isn’t looping “enter”, just pressing it once. I need it to hit Enter until Element Exists appears
Vashisht
(Vashisht Devasani)
July 17, 2019, 11:07am
4
Hi @richardli23 ,
You have to keep that element exists activity also in the loop because you want to check whether the element is present or not after pressing enter right.
Thats why?
any queries ping me or if helpful mark it as solution.
Cheers.