Sample guide to work with Appium Requirements: O.S - Windows - TopicsExpress



          

Sample guide to work with Appium Requirements: O.S - Windows 07/08 / Vista Software: 1.Java version - 1.6 and above 2.Eclipse 3.Android SDK 4.Appium(appium.io) 5.Selenium-server-standalone jar file. 6.testng-6.8 jar file. Steps to install: 1.Install java. 2.Install Eclipse. 3.Install Android SDK: Launch Eclipse - Help - Eclipse marketplace - Search ADT - Click on install button of Android ADT extensions. Launch Eclipse - Help - Eclipse marketplace - Search Android SDK - Click on install button of Android Development tools for Eclipse. 4.Install TestNG plugin from eclipse marketplace. 5.Create java project,associate Selenium-server-standalone and testng jars to the java project. 6.Creation and Launching Emulator: 1.Click on Android Virtual Device(AVD) Manager from menu bar. 2.AVD Manager screen opens. 3.Click on Create button. 4.Specify AVD name, select Device and fill all other required fields. 5. Launch Emulator by clicking on Android Virtual Device Manager option from menu bar. 7.Launch Appium - Start Appium Node Server. 8.Connect device (which has app installed and to be tested) to the machine or launch the emulator from eclipse. 9.Write the script and run.(Run project as TestNG project) How to inspect elements of application? 1.Click on Android SDK manager icon from menu bar in eclipse. 2.SDK path will be displayed. 3. GO to that path open tools folder. 4.Double click on uiautomatorviewer which is batch file. 5. It launches UI Automator Viewer. 6. Open required screen in emulator, go to UI Automator Viewer and click on Device Screenshot(uiautomator dump) option from menu bar. 7. In UI Automator Viewer, required screen will get displayed. 8. Click on the element you want to inspect. *Copy the apk file and save it in any any of the folder. The path of this apk need t specify in code.
Posted on: Fri, 21 Nov 2014 10:11:21 +0000

Trending Topics



Recently Viewed Topics




© 2015