QTP参考资料收集(6)-1

上一篇 / 下一篇  2009-03-31 16:14:48 / 个人分类:QTP

QTP常用快捷方式

下表这些快捷方式是我们经常用得到的,而其它的快捷方式记忆起来比较复杂,具体参见QTP的帮助文档:

Command

Shortcut Key

Function

Record(普通录制)

F3

Starts a recording session.

Run(运行)

F5

Starts a run session from the beginning or from the line at which the session was paused.

Stop(停止)

F4

Stops the recording or run session.

Run from Step(丛当前步骤运行)

Ctrl+F5

Starts a run session from the selected step.

Analog Recording(模拟录制)

Shift+Alt+F3

Starts recording in analog recording mode.

Low Level Recording(低级录制)

Ctrl+Shift+F3

Starts recording in low level recording mode.

Object Repository(打开对象库)

Ctrl+R

Opens the Object Repository dialog box.

Step Into(单步调试运行到)

F11

Runs only the current line of the script. If the current line calls a methodthe method is displayed in the view but is not performed.

Step Over(跳出断点)

F10

Runs only the current line of the script. When the current line calls a methodthe method is performed in its entiretybut is not displayed in the view.

Step Out(跳过断点)

Shift+F11

Runs to the end of the method then pauses the run session. (Available only after running a method using Step Into.)

Run to Step(运行到)

Ctrl+F10

Runs until the current step.

Add to Watch(添加到观察表)

Ctrl+T

Adds the selected item to the Watch tab.

Insert/Remove Breakpoint(断点)

F9

Sets or clears a breakpoint in the test.

Enable/Disable Breakpoint

(启用/停用断点)

Ctrl+F9

Enables or disables a breakpoint in the test.

Clear All Breakpoints

(清除所有端点)

Ctrl+Shift+F9

Deletes all breakpoints in the test.

Check Syntax(语法检查)

Ctrl+7

Checks the syntax of the active document.

 


TAG:

 

评分:0

我来说两句

Open Toolbar