GUI Automation Test Distilled 图形用户界面自动化测试精粹

UI automation test framework:

1.       Framework invoker: Linux cron or Windows schedule task, Java TimeTask;

2.       Automation test framework better uses a programmatic scripting language like perl/python. Batch script on Windows is not good enough.

3.       Utilize different tools’ advantages. For example, use Ant ftp get rather then write a new script with Perl.

4.       Test results reporting: email and web pages.

5.       Logging: need a complete runtime log for failure debugging.

6.       Failure record: use screenshot or video to record uncaught test failures.

7.       Consider globalization testing: reuse test cases and enable g11n test by a switch.

 

Automation test:

1.       Must clean test environment before call automation tool to run tests.

2.       Check test env before run tests.

3.       Set default pass status as false.

 

 

UI automation test cases:

1.       Select them from functional test cases but save them as new if change them for automation;

2.       Separate test suites for different purpose: BAT(build acceptance test), functional (old release, new features);

3.       Automation test case review periodly especially for BAT;

 

UI automation test framework sequence diagram:

UI automation test sequence diagram:

JUnit test framework usecase diagram

 

Installation automation activity diagram: 

 

 

 

Installation automation sequence diagram: 

 

转载于:https://www.cnblogs.com/markjiao/archive/2011/11/17/2252938.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值