当前位置:网站首页>appium1.22. Appium inspector after X version needs to be installed separately
appium1.22. Appium inspector after X version needs to be installed separately
2022-07-03 05:04:00 【Full stack husky】

| Wanyeji |
|---|
| Faint thunder , Cloudy sky . |
| But I hope the wind and rain will come , I can keep you here . |
Preface :
Author's brief introduction : Husky who yearns for power , You can call me Siberian Husky , One devoted to TFS - The whole stack Empowered bloggers
CSDN Blog expert certification 、 Nova plan Season 3 full stack track top_1 、 Huawei cloud sharing expert 、 Alibaba cloud expert Blogger
If there is something wrong with the knowledge of the article , Please correct me. ! Learn with you , Progress together
The motto of life : Being superior to some other man , Is not high , The true nobility is to be superior to one's former self .
If you feel the blogger's article is good , Please pay attention. 、 give the thumbs-up 、 Collect three companies to support bloggers
Column series ( Click unlock ) Learning route guidance Knowledge orientation Python Full stack white paper Zero foundation beginner level chapter Easy to get started in an easy to understand way , Let you fall in love with Python The charm of . Advanced Grammar Mainly around multi-threaded programming 、 Regular expression learning 、 Including project exercises close to actual combat . Office automation Realize the automatic operation of daily office software , Save time 、 Improve office efficiency . Automation test practice From the perspective of actual combat , One step ahead , Rapid transformation test development engineer . Database development practice Updating Introduction and practice of reptile Updating Data analysis Updating Introduction to the front +flask Full stack Updating django+vue Full stack Updating expand - Introduction to artificial intelligence Updating The road to network security Stepping on a pit Record the pit encountered during learning and drilling , It is convenient for those who come from behind to catch up Net security literacy Three days fishing , No deep understanding of the principle , It will only make you a script boy . vulhub The loopholes in the shooting range reappear Make it easy to reproduce vulnerabilities , Let security researchers focus more on the vulnerability principle itself . shell Programming Don't involve linux Basics , The final case will be in the direction of safety reinforcement . [ To be finished ] WEB Vulnerability attack and defense 2021 year 9 month 3 Stop updating on , Move to safe communities such as prophet community and small secret circles Collection of penetration tools 2021 year 9 month 3 Stop updating on , Move to safe communities such as prophet community and small secret circles A little Engineer Test artifact - Charles Software test data packet capture analysis artifact Test artifact - Fiddler Learn to fiddle , Learn not to stand upside down and eat , Rarefied ! Test artifact - Jmeter Not just a performance test artifact , It can also be used to build a lightweight interface automation testing framework . RobotFrameWork Python Automatic test tool realized , This chapter only introduces UI Automation part . Java Realization UI automation Document written in 2016 year ,Java Realized UI automation , It still has reference significance . MonkeyRunner There are not many application scenarios for this tool at present , The document has been deleted , Only for the sake of good typesetting .

List of articles
Preface
I've been tossing about these days mac In the environment appium It's really tossed a lot , Almost persuaded by the configuration environment . see , Encountered another pit , I can only harden my scalp and be buried …
Scenario as follows :
utilize aapt Analyze the local apk Package get package information , You need to fill the parameter information of startup into “appium-inspector” , This will automatically start when starting app 了 . But when I click appium Of Of this icon , But I found that I opened the browser directly , Jump to the “https://github.com/appium/appium-inspector” . It didn't open at all “appium-inspector” , This is very troublesome …

Scene analysis
OK, Next, let's analyze , stay The jump https://github.com/appium/appium-inspector Found the following .

See? , Let's take a look at what we installed appium Version of , Terminal execution appium -v

OK, Problem found , It's because we use appium The version is 1.22.3 Caused by the , therefore ,appium-inspector Additional installation required .
install appium-inspector
- Download and install
appium-inspector:https://github.com/appium/appium-inspector/releases- After installation , coordination appium Words , appium-inspector It needs to be started separately
- Also because
appium by 1.22.x,appium-inspector For the new version, Need to be inappium inspectorMediumRemote PathMiddle configuration/wd/hub

To configure appium-inspector And start the
- platformName: Equipment name , It's usually “Android” perhaps “ios”
- platformVersion: Version number , By command :
adb shell getprop ro.build.version.release, You can get a value of integer type , It's the version number- deviceName: If it is a real machine, fill in the equipment name ; If the simulator is used , Fill in IP Port number .
- By command :
adb devices -l, See a result ;model: The value that follows is "deviceName" Name to be filled- appPackge And appActivity Is required , There are also two ways to get these two parameters
- The first one is : adopt android sdk In the catalog build_tools Of
aapt, Carry out ordersaapt dump badging Pathname + apk Package nameCan get- The second kind : Launched the app Then pass the command
adb shell dumpsys activity | grep "mResume"see , With "/" For boundaries , On the left is appPackge, On the right is appActivity ;Format example :"com.taobao.taobao/com.taobao.tao.TBMainActivity"- PS: obtain appPackge And appActivity Parameters , Reference resources 〖Python APP Automation test practice ⑤〗- appium Capability Detailed explanation In this chapter
utilize aapt Analyze the local apk Package get package informationThis part of- automationName: This is an optional parameter , The general default is
"Appium"
After the above setting parameters are set, see the following figure :

After startup, it is as follows :


边栏推荐
- 2022-02-12 daily clock in: problem fine brush
- Mobile terminal - uniapp development record (public request encapsulation)
- [set theory] relational representation (relational matrix | examples of relational matrix | properties of relational matrix | operations of relational matrix | relational graph | examples of relationa
- Gbase8s composite index (I)
- Self introduction and objectives
- 论文阅读_清华ERNIE
- Market status and development prospects of the global IOT active infrared sensor industry in 2022
- 最大连续子段和(动态规划,递归,递推)
- Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
- Notes | numpy-09 Broadcast
猜你喜欢

Thesis reading_ Tsinghua Ernie

Gbase8s composite index (I)

2022-02-11 daily clock in: problem fine brush
![[luatos sensor] 1 light sensing bh1750](/img/70/07f29e072c0b8630f92ec837fc12d5.jpg)
[luatos sensor] 1 light sensing bh1750

Unity tool Luban learning notes 1

Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution

【批处理DOS-CMD命令-汇总和小结】-CMD窗口的设置与操作命令-关闭cmd窗口、退出cmd环境(exit、exit /b、goto :eof)

leetcode860. Lemonade change

Shuttle + alluxio accelerated memory shuffle take-off

Source insight garbled code solution
随机推荐
Concurrent operation memory interaction
Shell script -- condition judgment
Problems encountered in fuzzy query of SQL statements
Current market situation and development prospect forecast of global UV sensitive resin 3D printer industry in 2022
Self introduction and objectives
[PHP vulnerability weak type] basic knowledge, PHP weak equality, error reporting and bypassing
Oracle SQL table data loss
1099 build a binary search tree (30 points)
Market status and development prospect prediction of global SoC Test Platform Industry in 2022
Market status and development prospect prediction of global neutral silicone sealant industry in 2022
Flutter monitors volume to realize waveform visualization of audio
论文阅读_ICD编码_MSMN
Cross platform plug-in flutter for displaying local notifications_ local_ notifications
Market status and development prospect prediction of the global autonomous hybrid underwater glider industry in 2022
How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in
[develop wechat applet local storage with uni app]
Market status and development prospect forecast of global heat curing adhesive industry in 2022
RT thread flow notes I startup, schedule, thread
Market status and development prospect prediction of global colorimetric cup cover industry in 2022
[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
