On image appear only works for limited time


#1

I’ trying to run a script non-stop.
I want it to automaticly type in a password when a certain image is displayed.
(element appear did not work)

Now everything works, but only for a short while.
If I wait a minute and try opening the thing with the image it does nothing.
If I run it imediately afer starting the script, it works.

itg456.xaml (19.8 KB)

Am I missing something?

Thanks!


#2

Try to clear selector field and run it.


#3

Cleared.
Unfortunately it still stops working after about a minute.


#4

yeah it is showing time out even repeat forever is set to true. @Gabriel_Tatu @adrian


#5

It works in the beginning, but quits itself after a minute.


#6

hey @Niels_Frederickx

just use image exists with monitor event that will work i guess


#7

Unfortunately it stil quits after about a minute.
With monior events it doesn’t work at all.

Here is what I have set up now.
itg456secondtry.xaml (18.9 KB)


#8

hmm looks strange they are not considering repeat forever property and taking default timeout. Lets see and wait for some one who can let us know something :slight_smile:


#9

OK, Thank you very much for your help :slight_smile:


#10

Just a note, could you add log messages in between each activity to see where / when it stops?

You could try using ‘Text’ exists on a string in the pop up?


#11

Hi Niels_Frederickx, I had the same problem. Here’s a solution that worked for me.
itg456secondtry.xaml (11.9 KB)

I waited 11 minutes after starting the task and it was still able to find the target selector. So it does work passed the 30 second time out limit.
Stop Watch

I found this video showing how to use event triggers.
hwww.youtube.com/watch?v=AJsiRd1QjGQ&ab_channel=UiPath