第一小节 环境配置
1. 如何恢复 QTP 的默认布局(包括欢迎界面,加载插件页面)
2. 如何使 QTP 生成的脚本可以被其他 MI 工具所使用
3. 如何设置,使执行脚本在 出错时/出警告时/每一步 都做 screenshot
4. 录制和回放选项(录制任意 Windows-based application 还是特定窗口内的操作)
5. 3 种录制模式(正常、模拟、 低级)
6. 如何连接 QC/TD
问题:
1、 为什么要加载 add-in
To enable QTP to recognize object in an AUT’s corresponding environment
2、 如何设置,从而:
a) 录制当前已经打开窗口内的操作
b) 通过 QTP 打开程序并进行录制。
第二小节 主要视图、录制法则
1. 四个视图及用途(关键字视图、专家视图、Data table 视图、Active Window 视图)
2. Launch QTP first, and then invoke the AUT.(For some environments, this is mandatory)
3. Viewing the test run.
4. Test result status: Done, Pass, warning and Fail.
5. 录制法则
问题:
1. When outlining your test steps, what principle is important to implement so a test can be re-used any
number of times?
Set initial and end conditions as part of the test.
2. How can you tell that QTP is in the “Record” mode?
A yellow arrow in the left margin of the Keyword view points out the step is currently running.
评论0