新建实例driver = webdriver.Chrome() 1.获取当前页面的Url函数 方法:current_url 实例: driver.current_url 2.获取元素坐标 方法:location 解释:首先查找到你要获取元素的,然后调用location方法 实例: driver.fi Read More
posted @ 2016-02-19 16:40 Mytesting Views(370) Comments(0) Diggs(0) Edit
selenium是一个用于web应用程序测试的工具,支持多平塔斯,多浏览器,多语言去实现自动化测试。 特点: 开源,免费 多浏览器支持:FireFox、Chrome、IE、Opera 多平台支持:linux 、windows、MAC 多语言支持:java、python、ruby、php、C#、Jav Read More
posted @ 2016-02-19 15:47 Mytesting Views(210) Comments(0) Diggs(0) Edit
FTP服务主要提供上传和下载功能。这里测试一下其上传和下载功能。 自己在网上申请了一个免费的FTP空间,服务器的IP为:182.18.22.12, 1、创建一个线程组,线程数:8,循环:2,右击线程组--添加--配置元件--FTP请求缺省值。输入名称,IP,端口。 3、线程组--->添加--->Sa Read More
posted @ 2016-02-18 22:20 Mytesting Views(749) Comments(0) Diggs(0) Edit
JMeter是一款JAVA开发的开源测试工具,主要用来做功能和压力/负载方面的测试。我用的是Apache-JMeter2.10 JMeter有两种类型的控制器:取样器(sample)和逻辑控制器(Logic Controller) 取样器(Sample)是性能测试中向服务器发送请求,记录响应信息,记 Read More
posted @ 2016-02-18 22:01 Mytesting Views(286) Comments(0) Diggs(0) Edit
继承自webdriver的方法,也就是通过这3个特征可以定位控件 find by "class" (i.e., ui component type,andorid上可以是android.widget.TextView) find by "xpath" (i.e., an abstract repre Read More
posted @ 2015-06-17 14:45 Mytesting Views(599) Comments(0) Diggs(0) Edit