![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I have setup a task with: 1) Open a text file 2) Wait for window (the text file) to close (wait up to 60 seconds before going on) 3) wait 500 ms 4) Open application When the task runs it does not wait for the 60 seconds to see if the window is closed. It just goes right through it Why? |
| |||
| Hello Terry, That is probably because it executes the first command and then immediately goes to the second one. By the time it comes to the second command, the text file window hasnt opened yet and hence the condition is satisfied (i.e. window closed) and no need to wait for 60 seconds. If you put a delay of 1 or 2 seconds between the first and second command, that would give enough time for the text file window to open. Hope that helps! |