I am building an automation that opens the “Dell Driver Recurring Updates” program in Windows, clicks an “Install/Reinstall” button, and then waits for it to complete before moving on but I cannot think of any way for UiPath Studio to be aware of when the process completes.
There is a “Status” field that changes from “Installing” to “Installed”. There is also an element that appears after clicking “Install” that says “Installing” and then disappears afterwards. I do not wish to use a “x amount of seconds” wait event or anything of that sort as the completion time can vary. Any thoughts on how I can go about doing this?
You can indicated installed and wait for it using check app state
Alternately check the task manager if any specififc service or process is starting in that time frame…if yes use get processes and check if the required process is still present or not…if not present that means its completed
Thanks Anil. I checked task manager and no additional processes appear so that doesn’t seem to work
I tried using “Check App State” previously and while I am able to select the element, it seems I have to set a number of seconds to wait after it appears. Is there a way for the workflow to only progress after that element is no longer on the screen? Going by seconds is not ideal as the process could hang possibly and would not have been a successful run. Any ideas there?
I am trying this as I think it is promising but when I use the “Check App State”, I choose “Wait for Element to disappear” and output to a boolean variable but regardless if the object has disappeared or not, the value of the variable per my message box activity is always “True”. What am I doing wrong? I feel like such an idiot.