< Previous | Next >

Lesson 4.1: Capture resource data while running a test

You can capture the data of resources such as CPU, physical memory, and network data transmitted in and out for the device and application. Virtual memory usage is captured for the application, and battery level is captured for the device or emulator.
Prerequisites

The emulator or device must be set to passive mode.

Resource monitoring is captured only when the test run is initiated from the test workbench. Resource monitoring starts immediately after the test run is initiated. Resource data is collected at the frequency specified in the polling interval. At every interval, the collected data is averaged for resources and sent back to the workbench to be plotted on the report. Resource monitoring is terminated when the test run finishes.
  1. In the test editor, click Run Test.
  2. In the Run configuration dialog box, click the Resource monitoring check box. If the Run Configuration dialog box is not displayed, ensure the Always display Mobile and Web UI Run Wizard check box is selected in Window > Preferences > Test > Mobile and Web UI.
  3. Click Finish.
    Run configuration wizard
    After the test run completes, the statistical report, live report, and test log are displayed.

Lesson checkpoint

You enabled resource monitoring to capture a resource's data during a test run.
< Previous | Next >

Feedback