# apptesting **Repository Path**: b_opensource/apptesting ## Basic Information - **Project Name**: apptesting - **Description**: 使用typescript+webdriverio 进行自动化 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-02-21 - **Last Updated**: 2023-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 使用测试app 感谢开源社区cnodejs https://cnodejs.org/ 搭建了一个测试服务器,被测app在 app目录下 ### 使用方式 ``` # 安装依赖 npm install # 运行 node out\main.js ``` ### B站视频 01-环境配置: https://www.bilibili.com/video/av90568816 02-项目搭建: https://www.bilibili.com/video/av90691503 03-app启动配置: https://www.bilibili.com/video/av90961001 04-xpath定位: 05-切换Context: ### 主要参考 元素定位参考: 1. appium:http://appium.io/docs/en/commands/element/find-elements/index.html#selector-strategies 2. webdriverio:https://webdriver.io/docs/selectors.html 3. chromedriver: https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md 4. UiSelector: https://developer.android.google.cn/reference/androidx/test/uiautomator/UiSelector ### 学习交流 微信: ![image/wechat.jpg](image/wechat.jpg)