Tags: png build times you encounter Appium find can't RorUse the cnpm install-G appium command to mount the Times error:Gyp err! Configure ErrorGyp err! Stack Error:can ' t find Python executable "C:\Python\python. EXE ", you c aset the PYTHON env variableThere is a problem with python from the wrong prompt, but there is no problem with the configuration of the Python installation and environment variables
Appium Environment Construction1. Install Oracle VirtualBox >= 4.1 (the higher the version, the better): https://www.virtualbox.org/wiki/Downloads Official Download installation,and the corresponding patches, such as VirtualBox 4.2.16 Oracle VM VirtualBox Extension Pack2. Install Android development environment: Sdk,eclipse+adt: http://www.android-doc.com/sdk/index.html3. Installing Genymotion: https://www.
extra update fails, manually download the file Haxm-windows_v6_0_3.zip (6.0.3) directly: Https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-managerSimply follow the prompts to installThird, open the Android AVD new simulator1, Device:nexus One (3.7 ", 480*800:hdpi)Target:android 4.4.2-api Level 19Cpu:goole APIs Intel Atom (x86)Skin:no SkinInternal storage:200SD Card:1gib (if 0, install app may fail)Iv. in the Eclip
Prepare to print out the XML content of the article with Page_source when automating tests with Appium on the Little Ape search appBut found that only the external structure of the content can be printed, the actual content of the article is not displayedAs followsAfter querying, we know that we need to get all the context through contexts and then switch to the corresponding context via Switch_to.context () to getBy printing the context, the results
ObjectiveRun the Appium code with the real machine, the first time you open the app, some phones will have permission pop-up window problem, usually this pop-up window is in front of the boot page or after the boot page appears. The buttons on the right pop-up window are fixed,Just navigate to the "Always Allow" button and click OK. There is another problem is that the number of pop-up windows are not certain, some apps are 2 or 3, in order to solve t
First, the software needs to be installedSecond, start the simulatorMethod One: Run the Genymotion simulator1. Start VirtualBox3. Start GenymotionMethod Two: Run ADTThree, positioning elements, start \android-sdks\tools\uiautomatorviewer.batIv. Installing the APK in the Genymotion
Drag the apk from your computer directly to the analog phone (launched with genymotion) to install it automatically.
Install the APK after you have downloaded it from your browser in an analog phone (launc
Recently has been busy, finally have the time to tidy up, pass a simple use case, after running can see the use case report, hope to everyone helpful.Htmltestrunner This package has a lot of online, you can download it yourself.1 ImportUnitTest2 fromAppiumImportWebdriver3 fromTimeImportSleep4 ImportOS5 ImportTempfile6 fromPILImportImage7 ImportHtmltestrunner8 Import Time9 Ten classlittertestscase (unittest. TestCase): One defsetUp (self): Adesi
When it comes to app automation, you're often asked how to know the app's package name and launch page name. The question is simple:1. The most direct way to ask development ah, they tell you the app's package name and start page.2. If you are shy and can see/understand the code, get the code and get it out.1) If it is an in-house app, download the latest code, then go to the code to find the package name and start page.2) If it is not the company's a
ObjectiveWhat does the SDK manager have to install?First, the SDK Manager1. Double-click Open SDK Manager interface2.Tools inside the top three is a must download--android SDK Tools has a variety of utilities, such as: Uiautomatorviewer,uiautomatorviewer,uiautomatorviewer--android SDK Platform-tools There are adb,adb,adb--android SDK Build-tools There are appt,aapt,appt3.SDK platform Next up, it can be backwards compatible.4.Extras here, choose the fo
Have a friend message response positioning element, yes, Captain also for this has been headache, I use the app is the original Android +WEBSERVICE+H5 type, positioning although no problem, but in the operation of the various do not pass ... It's really a headache. The "action" I'm talking about here means, for example, emptying the input box, entering a user name, and so on, but positioning is fine. Today first to show you a more standard app, with this there is no problem, in fact, the captain
? 13.1 definition of the 13.1.1 logHear the log this thing may have some people inexplicably, the first contact will feel why we want to collect logs, even if we want to collect logs so we need to collect what logs, what is the role of the log and so on.In fact, whether the log is in the test, development is very important, if you run Automation when the program error, but you do not log how you go to locate the program errors or your app error? Or is it another environmental factor?In Java has
ObjectiveRecently, the latest version of the Night God Simulator, and then ADB devices found not connected to the simulator, the ADB server version doesn ' t match this client (39); Killing ...From the error message to see is the ADB version mismatch caused, next talk about how to solve the problemEnvironment:Night God simulator 6.0.9.0System ADB version number 1.0.39Encounter problems1. Download the night God simulator from official website "", I dow
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
In my previous article Appium based on Android's various findelement control positioning methods Practice and recommendations >> In the second chapter, Appium can use the Uiautomator method to locate the controls on the Android interface, just a few examples. As this article gives its own commitment, today special writing this article to describe uiautomator various control positioning methods, as the previ
Key Words
Description
Example
automationName
The automated test engine you want to use
Appium(default) orSelendroid
platformName
The phone operating system you want to test
iOS, Android , orFirefoxOS
platformVersion
Mobile OS Version
For example: 7.1 ,4.4
deviceName
Type of phone or simulator used
iPhone Simulator,,,, iPad Simulator iPhone
1. Install python3.4 and SET environment variables2. Replace the lib file (or switch to the C:\Python34\Script directory to execute the PIP install-u Selenium command)3. Install the JDK and configure the environment variables (refer to http://jingyan.baidu.com/article/bea41d435bc695b4c41be648.html)4. Eclipse Install Pydev plugin (reference http://www.cnblogs.com/linzhenjie/articles/2639113.html)5. Install the browser plugin FirebugThe above has been set up a good PC end python+selenium environme
IntroducedAppium 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 platform testing. Appium uses Webdriver's JSON wire protocol to drive the UIAutomation Library of the Apple system and the Uiautomator framework of the Android system.Characteristics:
Cross-architecture
Cross-device
C
(Appium directory does not know can view Appium run log)Modify Directory /usr/local/lib/node_modules/appium/node_modules/appium-android-driver/build/lib/ under theAndroid-helpers.js and driver.js FileAndroid-helpers.jsComment out the followingHelpers.pushsettingsapp = function callee$0$0 (ADB) {Return _regeneratorrunti
Launch Simulator, launch Appium Android AVD launch simulator admin Select a version start install appium-client direct pip install appium-python-client install simple script: Calculator parameters:platformname = Android #Android or iOS platformversion = version number of the 4.2 #android devicename = Android Emulator # emulator or device ID apppackage = com.
Supported platforms1. View Appium v1.7 version official documentationSupported platformsAppium supports app automation across a variety of platforms, like IOS, Android, and Windows. Each platform was supported by one or more "drivers", which know how to automate that particular platform. Choose a driver below for specific information on how this driver works and how to set it up:
Ios
The Xcuitest Driver
(DEPRECATED) The UIAutomation D
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.