Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to reset any application through Appium ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 498
    Comment on it

    There are many times we have to reset application at some point. Lets take the example of browser in the mobile device. Suppose that we are navigating in the application and at some point on clicking the link it should opened in the browser and if there are more than one browser installed in your mobile device and after selecting the browser, you tapped on always button. Now everytime when you click on the same link in the application it will always open in same browser. According to the test case, you have to check the screen in every browser, then you should first reset the application so that it should come to default and then select the browser in which you want to open the link.

    Appium provides a method through which we can easily reset our application.

    resetApp()

    This method will only reset the currently running app for the current session.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: