"Wait" makes the script fail
Posted: Wed Nov 03, 2010 8:27 am
Hi Oleg,
The wait for window option within a script always makes
my task to fail. The logs show an error stating that the
window could not be found,even when the window has
appeared on the screen. Somehow, it is not seeing the
screen come up.
I have selected hidden and child window watch and looking
for window to be activated and have incorporated a delay
in case the system takes some time to pull the screen up.
Something needs to be added or changed here?
Also, the scripts run when I initiate them manually,
however the when initiated by the scheduler, they always
seem to get stuck at some window and fail. It it
necessary for the Robotask window to be up? I understood
that it would anyhow initiate the tasks till the time it
is running locally on the machine.
Thanks
Ankita
The wait for window option within a script always makes
my task to fail. The logs show an error stating that the
window could not be found,even when the window has
appeared on the screen. Somehow, it is not seeing the
screen come up.
I have selected hidden and child window watch and looking
for window to be activated and have incorporated a delay
in case the system takes some time to pull the screen up.
Something needs to be added or changed here?
Also, the scripts run when I initiate them manually,
however the when initiated by the scheduler, they always
seem to get stuck at some window and fail. It it
necessary for the Robotask window to be up? I understood
that it would anyhow initiate the tasks till the time it
is running locally on the machine.
Thanks
Ankita