Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Appium-desktop cooperate with the use of Night God Simulator in windows

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Windows Appium-desktop how to cooperate with the use of Night God simulator, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Install Android SDK and Java Sdk and set up the environment to download and install Night God Simulator

Download the address https://www.yeshen.com/, and install it directly. Next step.

Replace the adb.exe of Android sdk and keep the same version as the nox_adb of Night God Simulator.

The easiest way is to copy the adb.exe in the installation path of the Night God simulator, as shown below, and change the adb.exe of the bin directory of the Night God Simulator.

Replace adb.exe in the Android sd directory

Download appium-desktop

Appium-desktop project address: https://github.com/appium/appium-desktop

Download address: https://github.com/appium/appium-desktop/releases

Take Windows as an example, so choose the appium-desktop-Setup-1.2.4.exe file to download. It will be fine after installation.

Setting appium related information explanation of setting parameters of appium

{

"platformName": "Android"

"deviceName": "127.0.0.1 purl 62001"

"appPackage": "com.taobao.taobao"

"appActivity": "com.taobao.tao.welcome.Welcome"

"platformVersion": "4.2.2"

}

Fill in Android for 1.platformName (the following parameters of ios are not the same here is currently based on Android)

2.deviceName, this is more important. This is the driver address that fills in the Night God simulator. Generally speaking, the default address is 127.0.0.1purl 62001.

Specific operation steps, the first step: open the Night God simulator. Step 2: enter the installation directory

Nox_adb.exe connect 127.0.0.1:62001

How do 3.appPackage and appActivity get

Find the build-tools of Android sdk, find aapt, move the file that needs to be compiled, or specify the path of the file, and decompile to get the package name and entry.

Aapt dump badging c:\ software\ taobao.apk

Package:name= "com.taobao.taobao" can be seen from the following results

The following content is appActivity

4.platformVersions is the version number of Night God Simulator currently 4.4.2.

Start appium. If the screen is not updated, please click the refresh button to finish reading the above content. Is it helpful for you? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report