QTP的三种录制方式

上一篇 / 下一篇  2011-09-21 23:45:34 / 个人分类:自动化测试QTP

1normal recording

QTP默认为正常的录制模式,它通过识别程序中的对象来代替以前屏幕坐标的形式。但是正常模式并不能保证程序中所有的对象都被识别,因此需要其他两种模式来补充。

2analog recording

Enables you to record the exact mouse and keyboard operations you perform. in relation to either the screen or the application windows.in this recording mode,QTP records and tracks every movement of the mouse as you drag the mouse around a screen or window

Note:you can not edit analog recording steps from within QTP.

3low level recording

Enables you to record on any object on any object in your application,whether or not QTP recognizes the specific object or the specific operation.this mode records at the object level and records all run-time objects as window or winobject test objects.use low-level recording for recording in an environment or on an object not recognized by QTP.you can also use low-level recording if the exact coordinates of the object are important for you test.

Note: may not run correctly on all objects.

 

录制方式的选择原则:

Use analog recording or low-level recording only when normal recording mode does not accurately record your operation.

Analog recording and low-level recording require more disk space than normal recording mode.

You can switch to either analog recording or low-level recording in the middle of a recording session for specific steps. after you record the necessary steps using analog recording or low-level recording ,you can return to normal recording mode for the remainder of your recording session.


TAG:

 

评分:0

我来说两句

日历

« 2024-05-04  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 21412
  • 日志数: 35
  • 建立时间: 2011-04-19
  • 更新时间: 2011-09-24

RSS订阅

Open Toolbar