The Browser Contents Viewer tool stores the browser contents from the last test run, regardless of success. It is automatically added as an "output" for all Web tests recorded through the browser (it is attached to the Browser Playback tool). 

From this tool, you can easily validate or store data (as described in Validating or Storing Values) as well as add wait conditions (as described in Adding a Wait Condition from the Browser Contents Viewer).

This topic includes:

Creating Browser Contents Viewer Tools

For details on how to create web functional tests (which include Browser Contents Viewers), see Web Functional Testing - Overview and Browser Recording and Playback.

Configuring Browser Contents Viewer

For details on how to use the Browser Contents Viewer to define validations, extractions, and wait conditions, see Specifying Wait Conditions and Validating or Storing Values.

The tool’s configuration panel has the following tabs:

  • Post-Action Browser Contents: A rendered view of what was in the browser after the test executed. For an explanation of the colored borders used to mark notable elements, see Colored Borders. If the window/frame was modified via JavaScript, including AJAX, during testing (from the time the test starts and the last wait condition is satisfied), the contents shown here will reflect that change.
  • Post-Action HTML: A code-level view of what was in the browser after the test executed. If the window/frame was modified via JavaScript, including AJAX, during testing, this HTML will reflect that change; it will be different than the original HTML for the window/frame that appears in the Traffic Viewer. Use the Browser Containers drop-down to toggle between the available browser windows and frames.

In addition, it also has a Save Browser Contents option which configures SOAtest to store browser contents (so they will persist across SOAtest sessions).

If you want to specify which browser is used for this viewer, modify the Browser Contents Viewer Rendering Engine settings in the Preferences panel’s Browser page.

Related Tutorials

The following tutorial lesson demonstrates how to use this tool:

  • No labels