摘要: Android Application Testing 阅读全文
posted @ 2017-09-07 12:49 得那些过往 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 本文对常用的数据结构:Array, ArrayList,List,IList,ICollection, Stack, Queue, HashTable, Dictionary, IQueryable, IEnumerable等进行详述。 一、Collection(集合)Collection是数据记录 阅读全文
posted @ 2017-09-07 12:46 得那些过往 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 注册功能Selenium代码: package com.selenium.testng; import org.openqa.selenium.WebDriver; import org.testng.annotations.BeforeClass; import org.testng.annota 阅读全文
posted @ 2017-09-03 14:02 得那些过往 阅读(853) 评论(0) 推荐(0) 编辑
摘要: // 对edittext输入文本内容 public static void editTexts_SendKeys(AndroidDriver driver,int which,String text){ List<WebElement> textList = driver.findElementsB 阅读全文
posted @ 2017-08-31 19:44 得那些过往 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、选择一个控件并进行点击的方法: driver.findElement(By.id("com.xx.mobile.socialwidget:id/contact_container")).click(); 2、如果我们需要点击列表中的某一个元素,或者一个界面有多个同种控件时点击指定一个控件的方法: 阅读全文
posted @ 2017-08-30 11:03 得那些过往 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1.安装java 2.在eclipse安装testNG 3.配置build path,加入jar包 4.新建一个testng程序,run as testng 阅读全文
posted @ 2017-08-30 10:09 得那些过往 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.安装java,并配置环境变量 2.在eclipse配置SDK开发环境,安装testNG,导入jar包 3.安装nodejs 4.安装和启动appium 5.第一个appium程序 5.1.在eclipse编辑好脚本 5.2打开Appium 5.3打开模拟器 5.4运行程序,run as test 阅读全文
posted @ 2017-08-30 10:04 得那些过往 阅读(134) 评论(0) 推荐(0) 编辑