UiPath Best Practices: UI Synchronization

Unexpected behavior is likely to occur when the application is not in the state the workflow assumes it to be. The first thing to watch for is the time the application takes to respond to Robot interactions.

The DelayMS property of input enables you to wait a while for the application to respond. However, there are situations when an application’s state must be validated before proceeding with certain steps in a process. Measures may include using extra activities that wait for the desired application state before other interactions. Activities that might help include:

  • ElementExists, ImageExists, Text Exists, OCR Text Exists
  • FindElement, Find Image, Find Text
  • WaitElementVanish, WaitImageVanish
  • WaitScreenText(in terminals)
Close Menu