Checkpoint | Output Value |
· A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property. · When the test is run, HP QTP compares the expected results of the checkpoint to the current results. · If the results do not match, the checkpoint fails & results of the checkpoint can be viewed in the Test Results window. · When Checkpoint is added, HP QTP adds a checkpoint with an icon in the test tree and adds a Checkpoint statement in the Expert View. · Checkpoint syntax - Window("Flight Reservation").WinComboBox("Fly To:").Check CheckPoint("Fly To:") · Insert -> Checkpoint -> Select the type of Checkpoint OR Right click the object in the Active Screen and select the type of checkpoint to be added. | · An Output Value is used to retrieve the current value of any object in the application and stores it in a specified location. It can output values from text strings, table cells, databases, and XML documents. Unlike Checkpoints, no PASS/FAIL status is generated. · An output value is a value captured during the test run and entered in the run-time Data Table for use at another point in the test run. · When you create an output value, the test retrieves a value at a specified point during the test run and stores it in a column in the current row of the run-time Data Table. · When the value is needed later in the test run as input, HP QTP retrieves it from the Data Table. · You can output the property values of any objects. · Insert -> Output Value->Select the type of output value OR Right click the object in the Active screen and select the type of output value to be added. |
A blog on Selenium WebDriver, Java, VB Script, Software Testing, SOAPUI, Groovy, SOA Testing, Mobile Testing, Appium etc.
Pages
▼
No comments:
Post a Comment