Executing Tests Using the Web-Based User Interface

Objective

After completing this lesson, you will be able to use the web-based user interface

Using the Web-Based User Interface

Since SAP NetWeaver 7.5 SP17, you can access the web-based UI via the link on the Process Integration start page of the PIT system: open http(s)://<host>:<port>/dir, and select Testing Test Tool link or via URL http(s)://<host>:<port>/pitwebui.

This option addresses users or testers who want to schedule and execute tests and check the results.

In the web-based UI, testers can perform the following tasks:

  • Execute and schedule tests, based on the run configurations.
  • Create new test suite run configurations.
  • View execution and verification results.

The web-based UI follows a strict paradigm of the separation of responsibilities: A tester is not supposed to and, therefore, cannot develop tests but is only responsible for a regular execution of a ready-to-run test. Prerequisite is that a test developer had to model a test case in the NWDS client, extract data, and make sure that the test run successfully. As soon as the test developer is ready, the test developer creates a test case run configuration and hands over the regular test execution to a tester.

In the web-based UI, testers can only work with executable entities (run configurations) of a test case or a test suite. They do not need to bother with test systems, test cases, and test suites.

Web-based UI – Home Screen

The home screen provides an overview about current test executions, as well as system statistics.

The Execution Statistics tile displays the number of tasks currently scheduled and the number of jobs with issues from the last 24 hours. You can create custom tiles to the Execution Statistics for graphical search filter results.

Prerequisites to work with search filters:

  • Define a custom search filter in the Task Execution Results or the Test Scheduler screen, and save it.
  • Once done, on the home screen, select the + tile.
  • Choose the filter you had previously saved in the dialog, and confirm with Add.

If you hover over a custom tile, you can see all the operations available for this respective tile:

Available Operations for Custom Tiles:

  • Group by Job Status
  • Group by Job Result
  • Delete

Click on the tile to navigate to the Task Execution Results or the Test Scheduler screen with the preselected filter.

Test Catalog

In the web-based UI for the PIT tool, the tester works with run configurations and test suite run configurations. Both types of run configurations are shown in the Test Catalog view. Testers can’t create new test case run configurations, but they can group existing run configurations into a new test suite run configuration.

Navigate to the toolbar above the table, or select an entry from the Name column to carry out the following operations in the Test Catalog.

Operations in the Test Catalog:

  • Filter by Type
    • All
    • Test Suite Run Configurations
    • Test Case Run Configurations
  • Filter by Keyword
  • Create Test Suite Run Configurations
  • And so on

Test Execution Results

The Task Execution Result screen displays an overview of all executed jobs and tasks. The view corresponds to the Job Browser view in the NWDS client.

The list contains:

  • The jobs for each execution of the message extraction.
  • The message execution.
  • The verification process.

You can display the job log and navigate to the detailed job results.

The default filter shows all test executions from the last 24 hours belonging to the logged-on user.

You can define different filter categories for the result table. Use the Filter function on the top-left side of the table to show the filter sidebar. The available filter categories are:

  • The time range.
  • The user who started the job.
  • The job type.
  • The job status.
  • The job results.

Test Scheduler

In the Test Scheduler screen, you can schedule tests for automatic execution and display existing schedules. The screen displays a list of all currently existing scheduled tasks which are filtered according to the filter settings in the sidebar.

The default filter shows all non-finished schedules of the last month. You can save filter searches and load them later for a quick access to certain presets. You can use saved filters to add result tiles to the Home screen.

Procedure to perform a schedule:

  • Select + in the toolbar to create a new scheduled task. Enter the details of the schedule in the subscreen.
  • Select a test case run configuration or a test suite run configuration to be executed in the new schedule. Provide the details for the schedule:
    • The start date and start time (time of the first execution).
    • The recurrence information with the frequency (once, daily, weekly, monthly) and the interval of the schedule (only every seventh day or every second week on Tuesdays).
    • The end condition (end the scheduled task at a certain date or after a certain number of executions).
  • The schedule behavior defines which configuration is used during the test execution. If you only want to execute a test without verification, select the Skip Verification check box.

Log in to track your progress & complete quizzes