Problem to solve: Appium run times error Failure on androidV7.0 system [install_failed_already_exists:attempt to re-install Io.appium.settings Without first uninstalling.]Cause Analysis: The uiautomator version of Appium is not suitable for androidV7.0.Pre-set conditions: Mobile phone end has been installed Appium Settings and unlock two applicationsResolution steps: 1. Modify the source file-note two lines of code to install Appiumsettings and unlock
Delete app data. **android only**appactivity to start the activityapppackage to start the package appwaitactivity wait for AC Tivityappwaitpackage waiting packet devicereadytimeout time to wait for device readiness Androidcoverage Enableperformancel Ogging (Chrome and WebView only) default= Falseandroiddevicereadytimeoutandroiddevicesocketavdavdlaunchtimeoutavdreadytimeoutavdargsusekeystorekeystorepathkeystore Passwordkeyaliaskeypasswordchromedriverexecutableautowebviewtimeoutintentactionintent
Android versionDevice Name: The name of the emulator usedLanguage: Select language(4) AdvancedSDK path: Fill in your SDK paths
(1) ServerServer Address: Fill in the Appium (IP)PORT: Set command port to interact with Webdriver commands, default port number 4723Check for updates: If checked, the version update will be examined automaticallyA few other commands are not spoken for the time being
Developer Settings, this piece of temporary use, if used to timely supplement
Inspecto
positioning, the difference is that the relative path is located in the//after only the class properties of Android or * can be connected. (//android.widget.button[@text = "Login"])IosIOS10 after using the Xcuitest framework, the native framework does not support xpath,appium conversion, and is not recommended for slow speed.AccessibilityidAndroidThe Content-desc property of Android corresponds to the Accessibilityid positioning method, this CONTENT-DESC attribute is specifically set for people
Write in front:This article describes the identification of the elements of the tools and elements of the positioning method, the tools to identify elements are mainly uiautomator and monitor, as well as Appium Inspector (small series under the windows in the 1.7.0 version can be used, 1.4.16 version is not available), This series of tutorials with the appium1.4.16 this article, it is not introduced Appium Inspector.First, the common identification el
\bin\uiautomatorviewer.bat:Sixth step: Problems encountered during running the script:
Occurs during script run: A new session could not being created
A) The path to install the SDK first cannot contain spacesb) Next environment variable configuration to use Android_home (I was sdk_home, after the change will no longer error)c) The correct display of the modified page should be displayed as:2. Error while running the script:"C:\Users\sxie\AppData\Local\Android\sdk\platform-tools\ad
ID LocatorMethods for ResourceID Propertiesdriver.find_element_by_id (' Com.lizi.app:id/setting_imageview '). Click () #以accessibility_id进行定位, for Android, it's the Content-description property.ClassName positioning# Locating unique Elements Self.driver.find_element_by_class_name ("Android.widget.EditText") # Find All Android.widget.EditText and locate the first oneName Locator#根据name进行定位, for Android, it's the Text propertyDriver.find_element_by_name (U "Login"). Click ()Xpath positioningDri
[Free]1th Course Introduction (Requires Android and Python basics)If you want to learn about mobile-specific testing and automated testing, don't know where to start! If you want to be in a test job, the interview is going to hit the wall, do not know where wrong! If you have been doing functional testing, do not know where the future is! Then this course is what you need!2nd Android App Performance testThis chapter examines the performance issues of an app in seven ways (time-consuming, CPU-bas
for the Android libraryHellocharts compatible to API8 's Android chart galleryMpandroidchart a powerful Android chart view/graphics library
Background processingTape a brisk, transactional, file-based FIFO libraryAndroid Priority job queues a work queue designed to easily schedule tasks for Android
Event BusEventbus an optimized event bus that simplifies communication of activities, fragments, threads, services, etc.Otto an enhanced event bus based on guava
Responsive programmingRxjava-response
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.