Hi Support.
I’m new in UI Vision and I didn’t find a way to solve my problem yet. Could you help me, please?
I have a countdown timer that could start, let’s say, from 05:00 in certain web page and I need to monitoring when it achieves 00:00. I can use store command or storetext to read the timer by xPath for comparison.
How could I implement it, please?
Thanks in advance!
I would write a while loop with inside
- a Pause of a few seconds or so (so it does not run crazy)
- a xPathCount of the “time value” that would return 1 once the “00:00” is found
- Assign that value to a variable that you can use to exit your while loop (if PathCountVariable > 0)
Hope that helps
1 Like
A possible solution is:
-
Set a label to start the check before the element to check
-
Use the xPathCount command to detect if it found the element (if it found it will save in variable 1)
-
Gotoif to return to the label in case xPathCoun == 0 (element not found)
Here info about Gotoif command
https://ui.vision/rpa/docs/selenium-ide/gotoif