It's also a good practice to plan out your test scenarios ahead of any automation activities.
It is crucial to design the tests before recording the scripts. Many testers will [also] examine the functional specifications and design tests to cover the requirements.
Useful questions an automated tester should ask when designing the scripts include:
。What areas of the application will be reused on each/several of the scripts (i.e., login and logout)?
。Are there any variables that will be reused on each/several of the scripts (i.e., user name, password, hostname and port number)?
Organization of the tests is a key ingredient of successful test automation, adding that test scripts should be organized with modularization in mind.
test scenarios:测试场景
functional specification:功能规格说明书
reused:重用
variable:变量
Organization:组织
key ingredient:重要组成部分
modularization:模块化
本文强调了在自动化测试中提前规划测试场景的重要性,并提出在录制脚本前进行测试设计的必要性。文章还讨论了如何组织测试以确保成功实现自动化,包括考虑脚本中的重复使用部分及变量。

234

被折叠的 条评论
为什么被折叠?



