Tap on it and you will see a window opens up with too many fields.
Now hover over android icon and you would see “Android Settings. “Override Existing Session” can be checked to override any existing Appium sessions(if any). “Pre-Launch Application” is to prelaunch the application before any commands start executing. “Check for Updates” is to check regular Appium updates. You would see “Server Address” (IP address on which you want the Appium server to run) and “Port” (port on which the Appium server will listen for WebDriver commands) as it shows “127.0.0.1” (localhost) and “4723” respectively here – Hover over gear icon and you would see “General Settings”. Launch Appium.exe and you would see following buttons – After Appium is downloaded, you will find an “Appium.exe” application inside extracted ‘Appium’ folder.įOURTH STEP : Understanding Appium Parameters
Select both jar files which needs to be added -> click on ‘Open’ -> then tap ‘OK’.ĭownload Appium for Windows zip file here and extract the zip file contents. Go to Libraries section -> Add External JARs (Note: I am using java client here) Right click on your project -> Properties. Import all these jar files in your project.
Selenium Server (formerly the Selenium RC Server) version here.Īppium Client Library jar file (according to your language choice) from here. You will need to export required selenium jar files in your project. Also mention ‘Package’ and then click ‘Finish’ Right click on src folder -> ‘New’ -> ‘Class’
Make sure the device which you are connecting to your PC to run tests on has Developer Options enabled and USB debugging option is checked there as shown below – PATHvariable (would contain System32, platform-tools, tools ,ant bin and jdk bin set) –Ĭ:\Windows\System32 D:\Android_Development\android_sdk\platform-tools %JAVA_HOME%\bin D:\Android_Development\android_sdk\tools %ANT_HOME%\bin For example ,in my machine, path is specified as – All these variables should be set under ‘System variables’ not in ‘User variables’.ĭepending on the location where you have jdk, android-sdk and ant installed in your machine, path should be specified. Make sure you set up environment variables correctly before executing any script. We would be using java-client here for client library as we discuss further.
‘.apk‘ file of the app on which tests will be executed. Selenium Server (formerly the Selenium RC Server) version (download link)Īppium Client Library jar file (according to your language choice) (download link) There are step by step Appium Testing on WINDOW by Shahadat Khan:įollowing things will be required as we work on appium android automation on windows platform –