ANDROID-SDK, cmd open input adb, "Android Debug Bridge version 1.0.39" shows that the current ADB version is 1.0.39, which is referred to as version 39
adb
2. Check the ADB version number of the Night God Simulator (NOx) to find the installation path: \nox\bin, there is a nox_adb.exe, in fact, is adb.exe, in order to avoid conflict in the NOx change a name. Enter CMD in the upper-left corner of the address bar3. Then in the CMD reference input nox_adb, you can see the NOx inside t
First, install the Python libraryThere are many ways to install the Python library, such as PIP installation, source file installation, and run package installation, but the most common use is to install with PIPAppium+python do the automated testing of the mobile end, you need to install the following Python library, open the cmd command:InstallationAppium-Python-ClientPip Install Appium-python-clientInstallationschematicsPip Install schematicsInstal
Build your system environment: WINDOWS7 version 64-bit systemFirst, the Environment preparation
jdk8.0.151
Android-sdk_r20.3.4-windows
python3.5
appium1.4.16.1
Node-8.9.3
Second, the above tool installation processPlease self-Baidu, here skipThird, test the installation environment1.JDK environment, input java-version on cmd command line2.ANDROID-SDK environment, enter android at cmd command line, Open SDK Manager interface3.python environment, enter python on the cmd command
Method One: Open Appium directly, click on the top left corner of the robot iconChoose the location of the APK, here take contactmanager.apk as an exampleMethod Two: Use the Dex2jar and Jd-gui tools to decompile the APK fileHere still take contactmanager.apk as an example(1) Rename contactmanager.apk to Contactmanager.zip and extract the file Classes.dex;(2) Unzip the Dex2jar-2.0.zip and enter the folder from the command line;(3) Run the commandGet Cl
Based on Appium to do automated testing, the app password keyboard does not recognize the problem of solving ideasThe solution to this problem is as follows: 1. For iOS unordered keyboard : First, the password keyboard for iOS is recognizable, but the password keyboard is generally unordered. For this situation, the idea is to use Macaca or appium-inspector to obtain information about each key. First, defi
‘]=‘.XXSearchActivity‘
desired_caps[‘unicodeKeyboard‘]=True
desired_caps[‘resetKeyboard‘]=True
driver = webdriver.Remote(‘http://localhost:4723/wd/hub‘, desired_caps)
driver.find_elements_by_name("搜索话题")
driver.find_element_by_class_name("android.widget.EditText").send_keys(u"可爱")
# driver.find_element_by_id(‘et_searchactivity_search‘).send_keys(u"可爱")
driver.find_element_by_name("搜索").click()
Time.sleep (5)//Pause on page for 5 seconds
driver.quit()
From for not
In Uiautomator, you cannot see the elements in the webview directly, do you know if you have encountered them? As followsHere's how to fix it:STEP0: Turn Uiautomator offStep1: In Appium, set Android SettingsStep2: After starting APPIM server, start InspectorStep3: At this point, we can find in the mobile phone, has launched the app, click "Refresh" can capture the current interface elements, select the WebView menu to open. Open Webivew via inspect ta
1. Installation of JKD for Java This is not a detail. (1) Installation: Download JDK installation, install the JRE along with the installation process(2) Environment configuration: In the "My Computer" environment variable, add JAVA system variables, the specific operation is to create a variable named "java_home" variable in the "System variables" area, the value of the JDK is the installation path, such as "c:/java/jdk1.6.0_25"; Java_home is added to the system variable path by editing the ope
Appium Environment Construction
Installation of the SDK:
1. Download, install the SDK, adt configure the Android environment variable: http://developer.android.com
2. Find Windows:installer.exe in the inside
3. Install the default selectable disk
To configure the SDK system variables:
1. Right-click My Computer--Properties--advanced--environment variables2. New Android_home variable name in the System Variable field: Android_home Variable Value: E:\
Continue to build the appium environment.
Section II installs the Android development environment
If your environment is a Mac then you can skip this section directly. Just as we were using selenium for Web automation testing, we needed a browser to execute the test script. So the mobile-end automated test, we also need an Android phone (mobile phone need to link the computer) or the Android simulator.
I
Appium's past life one, what is AppiumAppium is an open-source, cross-platform testing framework that can be used to test native and hybrid mobile applications. Appium supports iOS, Android, and Firefoxos platforms. Appium uses Webdriver's JSON wire protocol to drive the UIAutomation Library of the Apple system and the Uiautomator framework of the Android system. Appium
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.