当前位置:网站首页>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 :


边栏推荐
- On typescript and grammar
- [SQL injection point] location and judgment of the injection point
- Chapter II program design of circular structure
- Current market situation and development prospect prediction of global direct energy deposition 3D printer industry in 2022
- Shell script -- condition judgment
- What is UUID
- [backtrader source code analysis 4] use Python to rewrite the first function of backtrader: time2num, which improves the efficiency by 2.2 times
- LVS load balancing cluster of efficient multi-purpose cluster (NAT mode)
- [luatos sensor] 2 air pressure bmp180
- MPM model and ab pressure test
猜你喜欢

2022-02-11 daily clock in: problem fine brush

RT thread flow notes I startup, schedule, thread

Celebrate the new year together

JQ style, element operation, effect, filtering method and transformation, event object

Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)

Handler understands the record

How to connect the network: Chapter 1 CSDN creation punch in

M1 Pro install redis

How to connect the network: Chapter 2 (Part 1): a life cycle of TCP connection | CSDN creation punch in

Thesis reading_ Chinese medical model_ eHealth
随机推荐
Review the old and know the new: Notes on Data Science
Esp32-c3 learning and testing WiFi (II. Wi Fi distribution - smart_config mode and BlueIf mode)
1110 complete binary tree (25 points)
JQ style, element operation, effect, filtering method and transformation, event object
论文阅读_中文NLP_ELECTRA
[SQL injection] joint query (the simplest injection method)
论文阅读_中文医疗模型_ eHealth
[clock 223] [binary tree] [leetcode high frequency]: 102 Sequence traversal of binary tree
Kept hot standby and haproxy
SSM framework integration
Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution
Mobile terminal - uniapp development record (public request encapsulation)
Unity tool Luban learning notes 1
What is UUID
ZABBIX monitoring of lamp architecture (3): zabbix+mysql (to be continued)
Cross platform plug-in flutter for displaying local notifications_ local_ notifications
Notes | numpy-09 Broadcast
Notes | numpy-11 Array operation
[research materials] 2021 annual report on mergers and acquisitions in the property management industry - Download attached
Learn to use the idea breakpoint debugging tool
