上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 87 下一页

2015年5月7日

摘要: 这是很久以前编写的一个测试案例,那时是为了检查大量往Mysql数据库里插入数据,看一下数据库的性能如何?服务器是否会很快就被写满了。 前期的准备工作:Mysql 数据库搭建,LoadRunner,libmysql.dll and 网上搜一份LoadRunner访问mysq的公共库。 Step1:... 阅读全文
posted @ 2015-05-07 16:01 帅胡 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 前段时间在录制,增强,整合LoadRunner脚本,期间两次遇到了中文乱码问题。在此记录一下中文乱码问题的解决办法。 一、录制回放中文乱码 我录制登陆的脚本,用户名中出现中文,回放的时候总是提示登陆失败。如下图: 图1 LR回放中文乱码 解决中文乱码可以在录制的时候在Virtual User... 阅读全文
posted @ 2015-05-07 15:57 帅胡 阅读(4410) 评论(0) 推荐(0) 编辑
摘要: 今天发现LoadRunner两个“内置变量”: 1、REQUEST,用于提取完整的请求头信息。 2、RESPONSE,用于提取完整的响应头信息。 响应头信息用可用其它方式实现,但请求头信息还真不知道可以这样拿到。太隐蔽了吧! 注意,这两个变量仅在请求前使用web_save_header注册使... 阅读全文
posted @ 2015-05-07 15:54 帅胡 阅读(710) 评论(0) 推荐(0) 编辑

2015年5月6日

摘要: 软件测试 中 LoadRunner 函数中的几个陷阱 1、atof 在 loadrunner 中如果直接用 float f; f=atof("123.00"); lr _output_message("%f",f); 输出的结果会是1244128.00,根本不是我们想要的。 因为float,doub... 阅读全文
posted @ 2015-05-06 20:20 帅胡 阅读(461) 评论(0) 推荐(0) 编辑

2015年5月4日

摘要: 牛人写JVM的博客:http://blog.csdn.net/java2000_wl/article/category/1249100http://blog.csdn.net/cutesource/article/details/5904501有几个链接:http://www.cnblogs.com... 阅读全文
posted @ 2015-05-04 16:05 帅胡 阅读(3000) 评论(0) 推荐(0) 编辑

2015年5月3日

摘要: There are vaious strategies to locate elements in a page. You can use the most appropriate one for your case. Selenium provides the following methods ... 阅读全文
posted @ 2015-05-03 10:50 帅胡 阅读(348) 评论(0) 推荐(0) 编辑
摘要: The first thing you’ll want to do with WebDriver is navigate to a link. The normal way to do this is by callinggetmethod:driver.get("http://www.google... 阅读全文
posted @ 2015-05-03 10:47 帅胡 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1.1. Simple UsageIf you have installed Selenium Python bindings, you can start using it from Python like this.from selenium import webdriverfrom selen... 阅读全文
posted @ 2015-05-03 10:45 帅胡 阅读(306) 评论(0) 推荐(1) 编辑
摘要: These days most of the web apps are using AJAX techniques. When a page is loaded to browser, the elements within that page may load at different time ... 阅读全文
posted @ 2015-05-03 10:41 帅胡 阅读(365) 评论(0) 推荐(0) 编辑

2015年4月29日

摘要: classselenium.webdriver.support.expected_conditions.alert_is_presentBases:objectExpect an alert to be present.classselenium.webdriver.support.expected... 阅读全文
posted @ 2015-04-29 22:50 帅胡 阅读(589) 评论(0) 推荐(0) 编辑
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 87 下一页

导航