Activity: Viewing the Results

Before you Begin

  • Create and run the OnlineStoreTest test from the previous activity with mvn clean test.
  • Open the resulting target/surefire-reports/index.html file on any browser.

Scenario

Now that we've implemented TestNG tests and migrate automation scripts, we'll review the test result. For this activity, we'll look at reviewing the test result of the previous Activity.

Aim

To navigate a TestNG HTML report after the execution of a test.

Steps for Completion

  1. Click on the Times option:
  1. Click on Chronological view:

In the Results section, click on the show option of the Passed methods:

As you can see in the preceding screenshot, this option presents the list of all executed methods.

We are now able to understand how to view and read a TestNG HTML test report.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.135.224