Configure scenarios
Before a scenario can run, it needs owners, applications on every activity, the test data it uses, and the Ready for test status. Importing or generating a scenario alone doesn't make it ready.
Before you begin
- Complete Configure master data.
- Complete one entry point: Import test scenarios from Excel, Import test scenarios from SAP Cloud ALM, Record processes, or Create scenarios manually.
- Have at least one scenario with activities and steps.
Review scenarios
- Open Test scripts. The checklist at the top tracks Assign applications, Assign owners, Add test data and variants, Set impact and dependencies (optional), and Mark scenarios ready. The button on each item takes you to the next scenario that still needs it.
- Above the table, select By scenario to group scenarios by E2E process, with Scenario, Readiness, Owner, Impact, Dependencies, and Source. Change Readiness, Owner, Impact, and Dependencies inline.
- Select a scenario to open its page. Overview holds the Description, Owner, Business impact, Readiness, Source, E2E process, Tags, and Dependencies. Activities and steps lists the activities and steps, and the header has Export and the scenario's history.
Assign applications to activities
- Go back to Test scripts and select By step, or select Assign applications on the checklist to jump to the next activity without one. An activity without an application shows Pick an application.
- To change several rows at once, select their checkboxes (or the header checkbox), and then use Set application, Set test data, or Delete in the bar at the bottom.
If an end-to-end scenario spans several applications, set a different application on each activity; David switches applications as it executes. You can also set applications on the scenario page, and drag activities and steps to reorder them.
Set test data and variants
Test data holds the values the steps use. Variants let you run the same scenario with different sets of values, such as different company codes or customers.
- In By step, in a step's Test data, select Add a field, and then enter the field name and value, for example
Sales organizationwith1710. Add a field also lists names the scenario already uses. - Reuse the same field name when several steps need the same value; use different names for inputs that need different values.
- Select Save changes in the bar at the top of the page.
- To see every field and variant in one matrix, select Variants on the scenario row. Use Add field and Add variant, or Import from Excel and Export to Excel. Turn on Negative variant for values expected to fail, such as an unknown customer. Select Save changes.
- If a step needs David to attach a file, such as a receipt, select Files, and then, in the Execution Files dialog, select Add files under that step.
Not every step needs test data. When the steps that need it are filled in, select Skip on Add test data and variants in the checklist. Undo skip brings it back.
Mark scenarios ready for test
- Review each scenario's instructions, expected results, activity applications, and required test data.
- Save your changes.
- Set Readiness to Ready for test in the scenario's Overview or inline in the By scenario table. Use Mark scenarios ready on the checklist to find those still needing review.
Result
The scenarios you plan to use are saved and marked Ready for test, each activity has the right application, and required data, variants, and execution files are in place.