Sunday, January 1, 2012

Running and Analyzing a Test with Regular Expressions

  1. Run the RegExpression test.
  2. Click the Run button or choose Automation > Run. The Run dialog box opens.
    Select New run results folder and accept the default results folder name.
    Click OK. When the test run is completed, the Test Results window opens.
  3. Examine the checkpoint results.
  4. In the results tree, expand (+) Test RegExpression Summary > RegExpression Iteration 1 (Row 1) > Action1 Summary > Welcome: Mercury Tours > Select a Flight: Mercury
    Select CheckPoint "CheckExpectedText".
    The checkpoint passed because the text was displayed in the format specified by the regular expression.
  5. Exit the Test Results window.
  6. Choose File > Exit to close the Test Results window.

No comments:

Post a Comment