Test SAP

Ready to create SAP tests? Then this topic is for you. It explains the most important steps to your first SAP test case.

Supported versions

For information on supported versions, check out the system requirements.

Create SAP test cases

To create a stable, effective set of tests, you need to create stable, effective test cases.

Before you start

Prepare for steering SAP applications. For example, activate scripting on server and client.

Create your test case

Creating SAP test cases is easy:

  1. Open your application under test.

  2. Scan your application to create modules. A module is the technical representation of a specific part of your application. It contains all necessary technical information that Tosca Cloud needs to find and steer elements of your application.

  3. Create a new, empty test case.

  4. Design your test case to build an automated test sequence. You can add the following design elements to your test case:

Define timeouts

Errors can cause SAP to stop responding for some time, which may lead to a timeout and Tosca Cloud reporting the test as failed.

You can avoid this by specifying how long Tosca Cloud should wait for SAP to respond. To do so, add a test case parameter or a playlist parameter with the name SAPTimeout. As the value, enter your desired timeout in seconds.

Work with SAP controls

A control is a screen element in your application under test. For example, a button, text box, menu entry, or table cell. And when you use a module in your test case, you need to tell Tosca Cloud what to do with these controls.

For information on supported controls for SAP, check out SAP controls.

What's next

You've just created your first SAP test case. Well done!

Next up: do a test case trial run. Trial runs help you find and fix issues, so you can make your tests as stable and reliable as possible.

Once you're happy with your test case, pack it into a playlist, so you can run your tests in earnest.