- Install Appium server, install path: http://appium.io/
- Install the Node JS, install path: https://nodejs.org/en/
- Open the Appium server
- Start the Appium server
- Install the Java JDK, install path: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Install the Android SDK, install path: https://developer.android.com/studio/index.html?gclid=CjwKEAjwmMS-BRCm5dn51JLbp1wSJACc61tFag0ZqtZdGSydOBbWbC1TKrebc1z_tn6qQtBq5lJE0BoCNdDw_wcB
- Add environment variables for Java and Android SDK
- Create Android emulator
- Start emulator
- Install the PowerApp sdk
- Run PowerApp test cases
We can execute the below CMD to create the above step:
The step 1,2,5,6, we can copy the files and install it.
The step 3, CMD: “C:Program Files (x86)AppiumAppium.exe"
The step 4: CMD: “C:Program Files (x86)Appium ode_modules.binappium.cmd” -a 127.0.0.1 -p 4723
The step 7: we can change the registry value, see the below screen shot:
The step 8: CMD: android create avd -n EmulatorName -t 7 -b default/x86 (details, please refer to: http://blog.sina.com.cn/s/blog_4d353ac3010186c4.html)
The step 9: CMD: emulator -avd avdName (go to the Android SDK tools path firstly)
The step 10: CMD: adb install ***.sdk