INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.ttings without first uninstalling, similarly for io.appium.unlock app. Unable to import junit or other libraries and code errors / Gradle unable to pull required dependencies Issues might appear in different steps of the entire process, like: S.NoĬreation of project and configuring the selenium libraries When you are working with Appium, Android Studio, Selenium WebDriver to automate the mobile application testing you might encounter issues and keeps you at hold, you will not be able to proceed any step further. Reference: Troubleshooting issues when working on mobile app testing automation Step 3: Execute your first Mobile App Testing automation scriptĭetailed steps to create virtual device in android studio.ĭetailed steps to open and start appium server along with settings.ĭetailed steps to launch mobile emulator and execute the test script created in earlier steps.
How to identify the Mobile application’s package name and Launcher Activity name, the details which are required for writing the selenium WebDriver script. Identify Mobile Application package and MainActivity to form the xpath, and to use in selenium webdriver script How to find android mobile app object’s attributes and their values? i.e. While you are creating the selenium test automation script to automate mobile app testing , following two concepts will be highly handy for you. In this step you will be covering following activities S.Noĭetailed steps to create android project in Android Studio.ĭetailed steps to add selenium libraries to the above created project.ĭetailed steps to create a test script with in the project created above. Step 2: Creating project in Android Studio I had drafted the issues and solutions for the issues I faced in the entire process or automating mobile app testing in a mobile emulator. Important Note: During further steps, if you face any issue that is stopping you from proceeding, I would recommend you to refer to the last section of this article which is the troubleshooting section.
Update existing Path variable as per the second option mentioned in the below tableĬ:\Users\ %ANDROID_HOME%\tools\ %ANDROID_HOME%\platform-tools\.Add a new variable as per the first option mentioned in the below table.Click on “Environment Variables” Button.Click on “Advanced System Settings” you will be presented with “System Properties” window.
Just make sure that you have administrative rights to install the software.
Step 1: Setting up Mobile app testing automation environment Step by step instructions to automate mobile app testing using appium, android studio, selenium webdriver. Before I dive in to detailed steps, I would like to share with you the environment I worked on for test automation of mobile app testing.