随笔分类 -  Automatic Test

SOAP UI
摘要:We use SoapUI-Pro-5.1.2 1. Basic introduction - Windows 2. Use project environment tab to manage the different environment and configure the propertie 阅读全文
posted @ 2016-03-21 18:04 -Anny-
Error when maven build
摘要:1.The specified JRE installation does not existBuild Path -> Remove JRE System Library -> Add a new one which is installed in your pc2.invalid CEN hea... 阅读全文
posted @ 2015-04-24 16:24 -Anny-
How to resolve "skip non existing resourceDirectory" when using "mvn test"
摘要:When running "mvn test" in command line, there is a warning message "skip non existing resourceDirectory" and cannot run test cases.Refer tohttp://rongjih.blog.163.com/blog/static/335744612010102911363452/郁闷之际查了一下maven参考资料,发现原来是surefire插件的默认行为所致。maven是使用surefire插件执行测试的,它按照指定格式的类名 阅读全文
posted @ 2012-12-28 13:38 -Anny- 阅读(4782) 评论(0) 推荐(0)
QTP10 破解
摘要:需要下载mgn-mqt82.exe,执行mgn-mqt82.exe前,要关闭杀毒软件,否则会直接被删掉,或是提示“不是有效的32位应用程序”!!破解步骤:1.安装qtp,一路默认下来,到要求输入License的界面(选择那个 单机许可证)2.拷贝mgn-mqt82.exe(下载)到C:\Program Files\Mercury Interactive(自己手动创建)文件夹下3.自己手动创建C:\Program Files\Common Files\Mercury Interactive\License Manager文件夹4.执行自己刚才创建的C:\Program Files\Mercury 阅读全文
posted @ 2012-06-05 15:54 -Anny- 阅读(589) 评论(0) 推荐(0)
TestComplete - Study Note 4 - Run Test
摘要:After all of the scripts are ready, we can sort out all of them in current project, and create new test item using them, and assign the test items in different groups.There are 5 tabs: Test Items, Variables, Issue-Tracking Templates, Logs, Properties1. Test Items2. VariablesUse the project variables 阅读全文
posted @ 2012-04-09 17:42 -Anny- 阅读(148) 评论(0) 推荐(0)
TestComplete - Study Note 3 - Script
摘要:We can record a script or convert a keyword test to script or write a script directly. The former is much simpler.For general test, Keyword test is enough. But when we need to verify the data changes in database after the user do some operation on UI, we must use script to connect database. Keyword 阅读全文
posted @ 2012-04-09 17:26 -Anny- 阅读(193) 评论(0) 推荐(0)
TestComplete - Study Note 2 - Keyword Test
摘要:1. Test Steps2. Variables3. Parameters4. Keyword Test converts to ScriptWe can see the Parameters(username, password) and Variables(name) difference according to the screenshot above 阅读全文
posted @ 2012-04-09 15:45 -Anny- 阅读(150) 评论(0) 推荐(0)
TestComplete - Study Note 1 - Structure
摘要:1. Structure:2. Details:Tested Apps: The TestedApps editor lets you view and configure a list of tested applications defined in the given TestComplete project. (Required) See helpKeyword Test: Include three tabs such as test steps, variables, parameters(test parameters). In the editor, we can record 阅读全文
posted @ 2012-04-09 15:03 -Anny- 阅读(163) 评论(0) 推荐(0)
TestComplete如何识别对象(转)
摘要:From http://softtest.chinaitlab.com/qita/746669.htmlGUI测试工具的基本原理就是识别出被测试的对象,记录对象的操作,加入测试逻辑的编辑,回放脚本。 那么对测试对象的识别能力就成为一个GUI测试工具的最基本功能了。本文介绍TC是如何识别进程、窗体和控件的。 命名概念 为了在脚本中记录识别出来的测试对象,TC需要使用到这些对象的属性。每个对象都有很多的属性,像“class name”,“text”,“enabled”等。你可以在Object Browser窗口中看到有效的对象属性,或者使用Object Properties窗口来查看。 ... 阅读全文
posted @ 2012-02-24 11:31 -Anny- 阅读(640) 评论(0) 推荐(0)
How to do web automation test using Selenium
摘要:项目顾问建议用Selenium做web应用的自动化测试,决定将业务逻辑简单、功能稳定的功能模块用自动化去测试,比如简单的登录模块。下面就将过程简单总结一下。我是在Ubuntu系统上跑的Selenium1. 环境准备1.1 Java环境安装jdk,我的JDK在/usr/local/jdk1.6.0_2... 阅读全文
posted @ 2011-10-11 15:34 -Anny- 阅读(669) 评论(0) 推荐(0)