当前位置:网站首页>Appium source code analysis of dry goods app automated testing
Appium source code analysis of dry goods app automated testing
2022-04-21 17:49:00 【Hua Weiyun】
Appium By Node.js To achieve HTTP service , It's not a new framework , Instead, it integrates the existing excellent framework , stay Selenium WebDriver agreement (JsonWireProtocol/Restful web service) The support of mobile terminal is added on the basis of , send Appium Meet a wide range of needs .
More detailed information is officially available Appium Structure description :https://appium.io/docs/en/contributing-to-appium/appium-packages/
Appium principle
Different platforms ( Such as Android,iOS) Adopt different operation and interaction modes .Appium You can create and manage multiple WebDriver Session To interact with different platforms .
The following steps can compile and build Appium Source code :
// clone appium Source code git clone https://github.com/appium/appium.gitcd appium// Installation project dependencies npm install// compile npm run build// function node .
Appium lib The directory contains the core code .

such as main.js Contained in the Appium Start statement for :
async function logStartupInfo (parser, args) { let welcome = `Welcome to Appium v${APPIUM_VER}`; let appiumRev = await getGitRev(); if (appiumRev) { welcome += ` (REV ${appiumRev})`; } logger.info(welcome); let showArgs = getNonD
It is amended as follows
async function logStartupInfo (parser, args) { let welcome = `hello v${APPIUM_VER}`; let appiumRev = await getGitRev(); if (appiumRev) { welcome += ` (REV ${appiumRev})`; } logger.info(welcome); let showArgs = getNonD
After compiling Appium Server Your startup log will change :

It is worth noting that , Appium Itself does not contain any code about the test method , If you modify and customize the bottom layer , Please watch the following articles .
Get more :https://qrcode.ceba.ceshiren.com/link?name=article&project_id=qrcode&from=hwyun×tamp=1650527133
版权声明
本文为[Hua Weiyun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211745129607.html
边栏推荐
猜你喜欢

【AI与食品】北工商中科院计算所最新《基于视觉分析的膳食评估》综述性论文

洞见科技首批通过央行国家金融科技测评中心「联邦学习」产品评测,实现「MPC+FL」金融应用双认证

169. Most elements
理想ONE终于换代?全新产品序列定名L8,重度伪装路试照曝光

VS2019 visual studio 终端调试乱码问题

Understand prototype patterns in minutes

There is a prize for essay | a heavy prize of 5000 yuan. You are invited to contribute

短视频APP相关推荐资源位的高扩展高可用工程实践

MOS管和IGBT有什么区别?别傻傻分不清了

Dynamic programming: coin topic summary
随机推荐
看看技术宅怎么拯救学霸机,我用10块钱修好了笔记本电脑
Shell编程学习(三)条件判断、流程控制
每周推荐短视频:企业之间的竞争是看谁能抢占先机
Brief introduction of common methods of wireless DoS attack
论文浅尝|《Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification》
MySQL advanced common functions
俄乌冲突引发顾虑 五眼网络安全部门建议盟友增强关键基础设施防护
STM32 MCU memory manager code can be directly used in engineering
"Method breakpoints may drastically slow down debugging" will be prompted during idea debugging
Mobile date plug-in (add your favorite)
Analysis on the adaptation layer of openharmony UI framework (I)
新技术的应用开启了有关产业互联网的第二条路径
MySQL基础合集
It is claimed that MNIST and cifar 10 have been "solved" and 100% accuracy has been achieved
修改van-dropdown-menu默认高度
Logstash ~ logstash one-stop tutorial (continuously updated)
本田北美产品规划发布!Insight混动停产,CR-V、雅阁即将发布
In cabin visual AI application front loading "increased by nearly 200% year-on-year". Which suppliers lead the Chinese market
Understand prototype patterns in minutes
百度地图、腾讯地图、高德地图经纬度转换