Scenario: You are automating a login screen in a mobile app using Appium. When entering the username and password, the app sometimes experiences delays. Would you use an implicit wait, an explicit wait, or a combination of both? Explain your reasoning.

  • Combination of Both
  • Explicit Wait
  • Implicit Wait
  • None of the Above
In this scenario, a combination of implicit and explicit waits is advisable. Implicit waits can provide a default wait time for elements, and explicit waits can be applied selectively for specific situations, like handling delays during login.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *