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 to build the environment of 4399AT automated testing tools

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

Share

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

How to build 4399AT automated testing tools environment, 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.

Premise:

Win10 64-bit system

Jdk1.8 environment (enter java-version under dos, and the java version can be displayed after confirmation)

Node.js (above 9.0) (run node-v under dos and display node version after confirmation)

SDK environment (the name of the environment variable should be set to ANDROID_HOME. After configuration, type adb under dos, and the information related to adb can be displayed after confirmation)

Note: if there is no problem with the first four parts, proceed to the next step.

Appium installation

Need to install, modify the source code, remove the appium from the installation module. If the computer already has appium installed, please uninstall it and install the modified Appium.

Before installing Appium, check whether there is a .npmrc file in c:\ users\ xx\. If not, configure it as follows:

Append to the .npmrc file in the user directory (c:\ user\ xxx\)

/ / chromedriver

Chromedriver_cdnurl= http://npm.taobao.org/mirrors/chromedriver

/ / selendroid

Selendroid_driver_cdnurl= http://maven.aliyun.com/nexus/content/groups/public/io/selendroid/selendroid-standalone

After saving, install Appium

If you have this .npmrc file, enter the command directly under dos to install it:

Npm install-g appium-- registry http://193.112.218.181:4873

If the installation is successful, type appium-v, and version 17.2.0 will be displayed. Then the installation is successful.

If the installation fails, first check whether there is a problem with the installation of node.js and run npm install-g nrm

If the installation is successful, in the next step, if the installation fails, please reinstall node.js and install the latest version of node.js

Install the secondary apk

After downloading, install appium-setting.apk and appium-ime.apk on the test phone.

Is it helpful for you to read the above content? 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