QTP - Automated Testing Process
The Test Results Window gives us sufficient information to show the steps passed, failed etc. Results window opens automatically after execution of the test(as per default settings).
Operations perfomed in Test Results:
Converting Results to HTML
In the Results Viewer window, Navigate to "File" -> "Export to File", Export Run Results dialog box opens as shown below:
We can choose what type of report to be exported. It can be short results, Detailed Results or even we can select nodes. Upon Selecting the File Name and exporting it, the file would be saved as .HTML File
Filtering the Results:
Results can be filtered based Status, Node Type, Iterations. It can be accessed by using Filter Button in the "Test Results Window"
Defects can be logged into QC directly from the Test Results Window pane by accessing "Tools" -> "Add Defect" which open's connection to ALM as shown below:
The Automatic Test Results Window can be configured under "Tools" -> "Options" -> "Run Sessions" Tab. We can turn if off if required and also we can switch ON "Automatically Export Results when session Ends"
Upon Errors, the screenshot or the movie can be recorded based on the settings. The same can be configured under "Tools" -> "Options" -> "Screen Capture" Tab. We can save the screenshot or movies based on 3 conditions.
For Errors and Warnings