当前位置:网站首页>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 inspector
MediumRemote Path
Middle 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 name
Can 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 information
This 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 :


边栏推荐
- Shallow and first code
- cookie session jwt
- 1115 counting nodes in a BST (30 points)
- 2022-02-11 daily clock in: problem fine brush
- My first Smartphone
- Market status and development prospect prediction of global neutral silicone sealant industry in 2022
- Notes | numpy-07 Slice and index
- [SQL injection] joint query (the simplest injection method)
- Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
- 1099 build a binary search tree (30 points)
猜你喜欢
[research materials] 2022q1 game preferred casual game distribution circular - Download attached
[research materials] annual report of China's pension market in 2021 - Download attached
Class loading mechanism (detailed explanation of the whole process)
Basic knowledge of reflection (detailed explanation)
Thesis reading_ Tsinghua Ernie
The programmer resigned and was sentenced to 10 months for deleting the code. JD came home and said that it took 30000 to restore the database. Netizen: This is really a revenge
[clock 223] [binary tree] [leetcode high frequency]: 102 Sequence traversal of binary tree
Online VR model display - 3D visual display solution
First + only! Alibaba cloud's real-time computing version of Flink passed the stability test of big data products of the Institute of ICT
2022-02-11 daily clock in: problem fine brush
随机推荐
Review the configuration of vscode to develop golang
Thesis reading_ ICD code_ MSMN
Maximum continuous sub segment sum (dynamic programming, recursive, recursive)
What is UUID
[luatos sensor] 2 air pressure bmp180
Flutter monitors volume to realize waveform visualization of audio
Prepare for 2022 and welcome the "golden three silver four". The "summary of Android intermediate and advanced interview questions in 2022" is fresh, so that your big factory interview can go smoothly
[research materials] 2021 annual report on mergers and acquisitions in the property management industry - Download attached
Basic use of Metasploit penetration testing framework
Notes | numpy-08 Advanced index
Notes | numpy-07 Slice and index
I stepped on a foundation pit today
"Hands on deep learning" pytorch edition Chapter II exercise
cookie session jwt
Unity tool Luban learning notes 1
ZABBIX monitoring of lamp architecture (3): zabbix+mysql (to be continued)
Distinguish between releases and snapshots in nexus private library
50 practical applications of R language (36) - data visualization from basic to advanced
Keepalived热备与HAProxy
Gbase8s composite index (I)