Forum Discussion

MarcusBengtsson's avatar
MarcusBengtsson
Frequent Contributor
2 years ago

While loop exists

  Hello! I am trying to clean up some if objects + delays and instead use while loop to wait for objects to be ready but this specific one does not work and I cannot figure out why.   What I...
  • rraghvani's avatar
    2 years ago

    You are checking the property value of Exists for object Aliases.ComTestRibbonMenu.MainBorder.TextblockComtestIsRunning. If you want to check for text then use e.g. Aliases.ComTestRibbonMenu.MainBorder.TextblockComtestIsRunning.contentText?