会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Aone.Net
曾经不好好学习,现在咋天天向上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
2021年10月8日
Appium:七:STF -Windows 部署
摘要: 镜像拉取启动
阅读全文
posted @ 2021-10-08 16:23 Catonce
阅读(66)
评论(0)
推荐(0)
2021年10月7日
Appium:六:断言
摘要: 常规断言 比较大小 price= self.driver.find_element(By.XPATH,'//*[contains(@resource-id="current_price")]'.text assert float(price) >=100 包含 name= self.driver.f
阅读全文
posted @ 2021-10-07 17:16 Catonce
阅读(179)
评论(0)
推荐(0)
2021年10月3日
Appium:五:包名|Activity获取
摘要: 一: SDK→build-tools aapt dump badging xx.apk 二: 启动app,终端输入命令 adb logcat | grep ActivityManager win: 启动app,终端输入命令 adb logcat | findstr ActivityManager 三
阅读全文
posted @ 2021-10-03 17:40 Catonce
阅读(76)
评论(0)
推荐(0)
2021年9月25日
Appium:四:控件
摘要: 常用控件 点击:click() 输入:send_keys() 获取属性 get_attribute('class') get_attribute('text') get_attribute('resource-id') get_attribute('content-desc') 获取元素状态:返回t
阅读全文
posted @ 2021-09-25 14:34 Catonce
阅读(42)
评论(0)
推荐(0)
2021年9月23日
Appium:三:APP元素定位
摘要: APP控件定位 Xpath定位 test属性定位: driver.find_element(By.XPATH,'//*[@test="test属性"]').click() resource-id属性定位: driver.find_element(By.XPATH,‘//*[@resource-id=
阅读全文
posted @ 2021-09-23 22:12 Catonce
阅读(70)
评论(0)
推荐(0)
2021年9月22日
Appium:二:等待方式
摘要: 等待方式 强制等待:设定的秒数到后,执行 import time time.sleep(10) 隐式等待:设定时间内找到后,执行后续代码,否则抛出异常 driver.implicitly_wait( 10) 全局设定 显示等待: WebDriverWait(driver,10)可针对单个步骤设定时间
阅读全文
posted @ 2021-09-22 23:37 Catonce
阅读(72)
评论(0)
推荐(0)
2021年9月15日
接口:协议分析工具
摘要: tcpdump 工具: wireshark工具分析:
阅读全文
posted @ 2021-09-15 15:27 Catonce
阅读(75)
评论(0)
推荐(0)
2021年9月7日
chromedriver下载
摘要: http://npm.taobao.org/mirrors/chromedriver
阅读全文
posted @ 2021-09-07 09:22 Catonce
阅读(33)
评论(0)
推荐(0)
2021年9月2日
Appium:一:环境部署
摘要: 环境部署 一:环境搭建 java 1.8 Android Sdk Appium Desktop Appium Client 安卓驱动 java环境配置: Android Sdk环境配置: Appium Desktop: 集成了Server and Inspector,官网下载 Appium Serv
阅读全文
posted @ 2021-09-02 15:52 Catonce
阅读(55)
评论(0)
推荐(0)
2021年9月1日
css定位案例
摘要: xp 选择器例子例子描述CSS .class .intro 选择 class="intro" 的所有元素。 1 #id #firstname 选择 id="firstname" 的所有元素。 1 * * 选择所有元素。 2 element p 选择所有 <p> 元素。 1 element,eleme
阅读全文
posted @ 2021-09-01 10:06 Catonce
阅读(140)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
公告