issues while loading

Asked by Sikulipro

Hi,

If my image is on second page 1392018118006.png

I am clicking to the link for the second page , but some time it takes more time for loading , so what should i use to handle this
some time it take 5 seconds some time 40 seconds, to get the image on second page what should i do.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Sikulipro (saindane-harshal) said :
#1

i used wait command already but it does not helped me.

Revision history for this message
Best RaiMan (raimund-hocke) said :
#2

instead of click(image)

use
click(wait(image, time))

where time is a value in seconds greeter than the greatest possible value.

in your case e.g.
click(wait(image,60))

so it will wait max 60 seconds, but comes back immediately, if the image appears earlier.

Revision history for this message
Sikulipro (saindane-harshal) said :
#3

Thanks RaiMan, that solved my question.