Wait for Text in a Field

Hello, can anyone help me with this.
I have recorded some task in UI Vision. But, I want the tasks to be executed only if there in content in this box.
Their is no fix time when the content will arrive in this box. It may takes 5 seconds or 1 minutes.

I just want to wait until any content arrive in this box then proceeded the other recorded steps.

In other words: You are waiting for the empty white box to disappear :wink:

Wait for image to appear with VisualAssert does not work in this inverted case, but you can re-use the code for If {picture} then {do this}:

The loop in If {picture} then {do this} waits for the image to appear, but if you change

   {
      "Command": "repeatIf",
      "Target": "${found} == 0",
      "Value": ""
    },

to

   {
      "Command": "repeatIf",
      "Target": "${found} == 1",
      "Value": ""
    },

it waits for the white box image to disappear (= box content has changed).

1 Like

if you want to wait for text
then run infinite loop
extract text after x seconds
if text is there then end the loop

1 Like