In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Premise:
Open the simulator in xcode and install the APP to be tested
Action:
Step1. Open the appium graphical interface
Step2.appium is configured as follows (be sure to follow the official steps step by step):
Start Appium GUI app
Open Developer Settings of Appium GUI app
Put a tick in Enabled
Put a tick in Custom Server Flags
In the text field of Custom Server Logs put-native-instruments-lib
Open General Settings and make sure Server Address is 0.0.0.0 and Port is 4725
Open iOS Settings
In iOS Settings, Basic tab
Add App Path, mine is / Users/temp_user/Downloads/UICatalog.app (yes, this is the popular tutorial app) (see the help section below to find the correct path to the APP being tested)
Force Device, mine is iPhone 5, Platform 9.2, if you still get errors, in the appium log available devices are listed, find them and select to force device with data from the list or find device from xcode simulators list
In iOS Settings, Advanced tab
Put a tick in Use Native Instruments Library
Put a tick in Instruments Launch Timeout, add 900000 ms
Press Launch btn in Appium GUI app-after clicking the launch button, it becomes the stop button
Press Inspector btn in Appium GUI app-the magnifying glass icon in the image above. Click on it and automatically pull up the application to be tested in the simulator. At the same time, the following screen appears for positioning elements.
According to the above steps, after the configuration is complete, you can open the inspector interface, which is the first step in appium testing!
Through inspector, you can view the distribution of elements on different pages, and locate and find elements.
With small help:
1. The directory of the simulator is here:
/ Users/ the user name you are currently logged in / Library/Application Support/iPhone Simulator/
Your App is here by XCode Build:
/ Users/ the user name you are currently logged in / Library/Developer/Xcode/DerivedData/YOURPROJECTNAME_SOMETHINGSOMETHING/Build/Products
2. How to display all file directories under mac (hide folders)
Copy or enter the following command (case sensitive) in Terminal:
"defaults write com.apple.Finder AppleShowAllFiles YES"
After the configuration is completed, restart the Finder to take effect.
3. To quickly locate a path in Finder, press "command+ shift+ G"
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.