yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 211 212 213 214 215 216 217 218 219 ··· 367 下一页

2016年1月5日 #

摘要: 查看当前android设备已安装的第三方包 adbshellpmlistpackage-32 adbshell"getpropro.build.version.sdk" 阅读全文
posted @ 2016-01-05 10:46 xxxxxxxx1x2xxxxxxx 阅读(301) 评论(0) 推荐(0)

摘要: 批处理学习总结之常用符号批处理是一种简化的脚本语言,也称作宏。它应用于DOS和Windows系统中,它是由DOS或者Windows系统内嵌的命令解释器(通常是 COMMAND. COM或者CMD.EXE)解释运行。类似于Unix中的Shell脚本。批处理文件具有.bat或者.cmd的扩展名,其最简单... 阅读全文
posted @ 2016-01-05 10:44 xxxxxxxx1x2xxxxxxx 阅读(265) 评论(0) 推荐(0)

摘要: DOS批处理延时技术举个例子,我们要延时5秒打开gdh.txt这个文件,可以用以下几个方法方法一:ping缺点:时间精度为1秒,不够精确 www.2cto.com @echo off@ping 127.0.0.1 -n 6 >nulstart gdh.txt 方法二:vbs start /wait... 阅读全文
posted @ 2016-01-05 10:43 xxxxxxxx1x2xxxxxxx 阅读(453) 评论(0) 推荐(0)

摘要: 关闭selenium webdriver缺陷 除了http://573301735.com/?p=5126讲 的,昨天又发现一个让我1个小时生不如死的问题,就是使用两个不同的配置文件来初始化driver,findelement方法获取到的坐标居然不一样, 使用其中一个配置文件初始化的dr... 阅读全文
posted @ 2016-01-05 10:41 xxxxxxxx1x2xxxxxxx 阅读(256) 评论(0) 推荐(0)

摘要: Appium小试 最近有空玩了一下Appium,记录一下 1.下载Appium for windows,现在是0.12.3版本 https://bitbucket.org/appium/appium.app/downloads/ 解压后如下图 双击Appium.exe就能启动Appium界面 点击L 阅读全文
posted @ 2016-01-05 10:39 xxxxxxxx1x2xxxxxxx 阅读(181) 评论(0) 推荐(0)

摘要: Appium介绍 Appium是一个移动端的自动化框架,可用于测试原生应用,移动网页应用和混合型应用,且是跨平台的。可用于IOS和Android以及firefox的操作系统。原生的应用是指用android或ios的sdk编写的应用,移动网页应用是指网页应用,类似于ios中safari应用或者Chro 阅读全文
posted @ 2016-01-05 10:38 xxxxxxxx1x2xxxxxxx 阅读(220) 评论(0) 推荐(0)

摘要: appium简明教程 什么是appium? 下面这段介绍来自于appium的官网。 Appium is an open-source tool you can use to automate mobile native, mobile web, and mobile hybrid applicati 阅读全文
posted @ 2016-01-05 10:38 xxxxxxxx1x2xxxxxxx 阅读(231) 评论(0) 推荐(0)

摘要: selenium2支持无界面操作(HtmlUnit和PhantomJs)selenium2支持通过各种driver(FirfoxDriver,IternetExplorerDriver,OperaDriver,ChromeDriver)驱动真实浏览器完成测试的。其实selenium也是支持无界面浏览... 阅读全文
posted @ 2016-01-05 10:30 xxxxxxxx1x2xxxxxxx 阅读(1576) 评论(0) 推荐(0)

摘要: selenium让人摸不着头脑的问题问题一使用webdriver驱动firefox浏览器时如果不设置参数,默认使用的Firefox的profile和平时打开浏览器使用的firefox不一样,如果要使用平常使用的配置,解决方法:​string sPath = @"C:\Users\xxxx\AppDa... 阅读全文
posted @ 2016-01-05 10:29 xxxxxxxx1x2xxxxxxx 阅读(198) 评论(0) 推荐(0)

摘要: 1. selenium webdriver在get方法会一直等待页面加载完毕才会执行后面的,可如果加载时间太长会导致后续操作无法进行。例如:get 汽车之家页面时会等待很长时间,其实页面基本元素都已加载,可进行后续操作可以通过set_page_load_time()方法来设定时间,然后捕获timeo... 阅读全文
posted @ 2016-01-05 10:27 xxxxxxxx1x2xxxxxxx 阅读(365) 评论(0) 推荐(0)

上一页 1 ··· 211 212 213 214 215 216 217 218 219 ··· 367 下一页