[JAVA] Memorandum of Understanding for Using Appium desktop Inspector with Emulator (Android App)

For the environment, refer to Previous article.

Preparing for ADV

Start it up.

Launch the Inspector

Start appium, start the server and click start inspector session in the upper right スクリーンショット 2018-01-05 14.03.13.png

A screen like this will appear. Select desired capabilities and enter the connection information in the form at the bottom left. First and foremost, there is a link to the documentation that you should look at. (I wish you could prepare something like a template ...) スクリーンショット 2018-01-05 14.06.57.png

I'm not sure when and how to use it from the document, so I set the following for the time being. This is also a plagiarism of people. Change the package name, app path, platform version, etc. to your own.

{
  "automationName": "Appium",
  "platformName": "Android",
  "appPackage": "jp.production765.minori.wevbiewtest",
  "appActivity": "jp.production765.minori.wevbiewtest.MainActivity",
  "platformVersion": "8.1.0",
  "deviceName": "Android Emulator",
  "app": "/Users/minori/AndroidStudioProjects/wevbiewtest/app/build/outputs/apk/debug/app-debug.apk"
}

Click "Start Session" at the bottom right to install the app on the emulator that is running and then launch the Inspector. Now you can directly see the element names in the native app.

スクリーンショット 2018-01-05 17.58.43.png

Recommended Posts

Memorandum of Understanding for Using Appium desktop Inspector with Emulator (Android App)
WebMvcConfigurer Memorandum of Understanding for Spring Boot 2.0 (Spring 5)
Story of test automation using Appium [Android / java]
How to make an app using Tensorflow with Android Studio
Memorandum of understanding about LOD.
The basics of the process of making a call with an Android app
Try AWS Lambda Runtime Interface Emulator with Docker Desktop for M1
Create an app catalog site using CLI for Microsoft 365 with Docker
How to get the contents of Map using for statement Memorandum
[Android] Dynamically set the height of ListView with copy (for beginners)