- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 软件测试基准流程
1、何为软件测试一种以保障软件的正确性、完整性、安全性、性能、可扩展性及健壮性为目的的测试过程。使用人工或自动化手段,来运行或测试某个程序系统的过程。其目的在于检验它是否满足既定的需求或反应预期结果与实际结果之间的偏差。2、测试类别划分2.1是否覆盖源代码:黑盒 >> 灰盒 >> 白盒2.2按测试阶段划分(1)单元测试单元测试(模块测试):针对软件设计最小的单位-程序模块,进行正确性检查的测试工作[代码层面]单元测试需要从程序内部结构出发设计测试用例,
2021-01-04 13:27:02
521
原创 JAVA+Appium实现元素组合属性定位页面元素
背景:页面元素无法通过单一属性唯一确定[XPath/id不唯一,........],需要通过组合属性定位1、组合属性定位List<MobileElement> lis = new ArrayList<MobileElement>(); MobileElement mobileEle =null; /* locate elements by className and index */ public List<MobileElement> getElem.
2021-01-03 19:51:46
625
1
原创 调用三方Http接口,得到相应体,遍历JSON得到具体的Entry
1、HttpClient调起三方接口:相关依赖<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</...
2021-01-03 19:03:00
433
原创 ParseDataBetweenJavaCollection(List<T>)AndXML
1、将带有范型的JavaColl存储的数据转化为XML格式(ParseXML)所需依赖:<dependency> <groupId>xom</groupId> <artifactId>xom</artifactId> <version>1.3.5</version></dependency>JAVA实现:import java.io.BufferedOutpu...
2021-01-03 18:14:05
384
1
原创 Android_App_auto_CommDependencies
JAVA +AppiumMaven_Dependencies<dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.10</version> <...
2021-01-01 22:11:33
139
原创 JAVA+Appium 自动化实现手机屏幕滑动点击操作
背景:App某些页面元素无法通过Appium或其他方式抓取到,无法通过传统方式定位到元素。原理:获取到当前屏幕的尺寸,在要操作的元素的屏幕位置构造像素点位,进而执行点击或滑动操作。注:坐标定位时采用相对定位方式,可适配其他分辨率。1、坐标点击屏幕元素<!-- https://mvnrepository.com/artifact/io.appium/java-client --> <dependency> <groupId...
2021-01-01 18:17:32
5156
4
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人