Download Scriptless Generated Appium Code

You are here:
< All Topics

Scriptless Generated Appium Code

Follow the steps shown below to download scriptless generated appium code:

  1. Navigate to “Test Case Writer”
  2. Click on “Local Execution” Button on Top Right Corner
  3. Click on “Download Test Case” Button

In order to execute the generated code on local machine, follow the instruction given below:

  • Install java, Android,Appium and Maven.
  • Download project appium-android from here download.
  • Unzip the zip file and you will see the “appium-android” folder.
  • Copy the java files you want to run, into the “appium-android” folder at path: appium-android/src/test/java/appium/tgo/
  • Start Appium server
  • Open terminal and change current directory to root folder of project appium-android
  • Run command : mvn clean
  • To run any java file Run commandmvn test -Dtest={JavaFileName} -Dcapability.app={APP_PATH} -Dcapability.udid={UDID} -Dcapability.platformVersion={Device_OS_Version} -Dmaven.test.failure.ignore=true
  • Commands example:
    mvn test -Dtest=test_case_0 -Dcapability.app=/Users/harry/Downloads/FordPass.apk -Dcapability.udid=52003e2feed24559 -Dcapability.platformVersion=7.0 -Dmaven.test.failure.ignore=true

 

 

 

 

Table of Contents