Forum Discussion

LaRo's avatar
LaRo
Occasional Contributor
2 years ago

[if object] method is delayed on mobile

hi

I have set up Android. And I want to check popup that appear only once on a particular page.

So, i used [if object] method to check popup object.

But it takes almost 40 seconds if no popup comes up!!

Looking at the Appium logs, [find element] is highly requested.

Is there any solution?

 

 

2 Replies

  • MW_Didata's avatar
    MW_Didata
    Regular Contributor

    Have you set the auto-wait timeout?

    If not then you right-click the 'If Object'

    click 'set Auto-Wait Timeout for Operations...'

    and type in how long you wish to wait.

     

    • LaRo's avatar
      LaRo
      Occasional Contributor

      Thanks, but it's still almost 40 seconds.

      Even if the auto-wait time is set to 300ms...