Tuesday, June 17, 2008

QTP Insert Menu






Menu ItemShort-Cut KeyUse
Checkpoint
Inserts Standard, Text, Bitmap, Database, Accessibility, XML Checkpoint
Existing Checkpoint


Opens the Add Existing Checkpoint dialog box
Insert -> Output Value

Existing Output Value
Opens the Add Existing Output Value dialog box
Standard Output Value
You can output the values of table cells and table properties while recording or editing your test. To output table values while recording: Choose Insert > Output Value > Standard Output Value
Text Output Value
To create a text output value while recording:

Highlight or display the text string you want to use for an output value.

Choose Insert > Output Value > Text Output Value
Database Output Value
To create database output values: Choose Insert > Output Value > Database Output Value
XML Output Value(From Application)
You can:
  • create XML output value steps from an XML Web page or frame
  • create XML output value steps from an XML file
  • create output value steps from a test object that supports XML
  • To create XML output values from an XML Web page or frame:

    While recording, choose Insert > Output Value > XML Output Value (From Application)
    XML Output Value(From Resource)To create an XML output value step from an XML file:

    Choose Insert > Output Value > XML Output Value (From Resource),

    To create an XML output value step from a test object that supports XML:

    Choose Insert > Output Value > XML Output Value (From Resource),
    Step GeneratorF7Opens the Step Generator.
    Function Definition Generator
    Opens a Function Definition Generator Window
    Synchronization Point
    To insert a synchronization point:
    In QuickTest, choose Insert > Synchronization Point
    New Step
    Inserts a new step in the Keyword View.
    New Step After Block
    Inserts a new step after a conditional or loop block in the Keyword View.
    Operation

    Comment

    To add a comment in the Keyword View.
    To add a comment on a separate line, select a step and choose Insert > Comment.

    Report
    You can define a message that QuickTest sends to your test results. To send a message to your test results:

    In the Keyword View,select a step and choose Insert > Report

    Insert -> Conditional Statement

    If …. Then
    an If statement is added.
    Elseif…Then
    an ElseIf statement is added
    Else
    an Else statement is added
    Insert -> Loop Statement

    While….Wend
    Inserts While...Wend. Performs a series of statements as long as a specified condition is True.
    For…..Next
    Inserts For...Next. Uses a counter to perform a group of statements a specified number of times.
    Do……While
    Inserts Do...While. Performs a series of statements indefinitely, as long as a specified condition is True.
    Do……Until
    Inserts Do...Until. Performs a series of statements indefinitely, until a specified condition becomes True.
    Call to New Action
    To create a new action in your test:
    Choose Insert > Call to New Action
    Call to Copy of Action
    To create a copy of an action and call the copy in your test: While recording or editing your test, choose Insert > Call to Copy of Action,
    Call to Existing Action
    To insert a call to an existing action: Choose Insert> Call to Existing Action,
    Insert -> Call to WinRunner

    Test
    To insert a call to a WinRunner test using the Call to WinRunner Test dialog box: Choose Insert > Call to WinRunner > Test.
    Function
    To call a user-defined function from a WinRunner compiled module: Choose Insert > Call to WinRunner > Function
    Start Transaction
    During the test run, the Start Transaction signals the beginning of the time measurement. To insert a transaction- Click the step where you want the transaction timing to begin. The page is displayed in the Active Screen tab. choose Insert > Start Transaction
    End Transaction
    To end a transaction: Click the step where you want the transaction timing to end. The page opens in the Active Screen.
    choose Insert > End Transaction