Splitting an SAP test

After you record a test, you can split it into smaller tests. Splitting tests enables you to create modular building blocks of smaller tests and combine them to make bigger tests. The original test is unchanged. You can recombine these building blocks in a schedule, including loops and conditions.

Before you begin

When reusing split tests in a schedule, you must ensure that the general test structure is consistent including SAP session logon and logoff details. For example, if split test a contains the session logon details and split test c contains the logoff transaction, you must place them in the correct order in the schedule user group.

SAP tests can be split only at the transaction level. When the test is executed in the schedule, it must start with a SAP logon transaction and end with a SAP logoff transaction.


  1. In the Test Navigator, browse to the test and double-click it. The test opens.
  2. Right-click a SAP transaction in the test, and select Split Test. The page that you click is the first page of the new test.
  3. In the New Test Names window, confirm the location of the split, optionally provide names and descriptions for the split tests, and click Next.
  4. In the Split Test window, examine the changes to be performed as a result of the split, and click Finish.


For example, you could record a test that contains the following actions:
  • Logging on to a server.
  • Creating an entry on the server and removing the entry.
  • Editing an entry, validating that the change occurred, and restoring the entry.
  • Logging off of the server.
You then split the test into four parts: Logon, Create, Edit, and Logoff. You create a schedule that runs virtual users selected from a datapool. Each virtual user runs the Logon test, performs various combinations of the Create and Edit tests, and finally runs the Logoff test.