- Getting started
- Project management
- Working with Change Impact Analysis
- Create test cases
- Assigning test cases to requirements
- Cloning test cases
- Exporting test cases
- Linking test cases in Studio to Test Manager
- Delete test cases
- Enabling governance at project level
- Disabling governance at project level
- Enabling governance at test-case level
- Disabling governance at test-case level
- Enabling or disabling governance in bulk for test cases
- Enforcing signing order for governed test cases
- Managing approvers for governed test cases
- Managing governed test cases in the In Work state
- Managing governed test cases in the In Review state
- Managing governed objects in the Signed state
- Managing comments for governed test cases
- Viewing governance information for test case logs
- Managing approvers for governed test case logs
- Managing governed test case logs in the In Work state
- Managing governed test case logs in the In Review state
- Managing governed test case logs in the Signed state
- Managing comments for governed test case logs
- Enabling governance at test case log level
- Disabling governance at test case log level
- Viewing and searching test cases
- Project operations and utilities
- Test Manager settings
- Tenant level settings
- General project settings
- Events
- Subscribing to events
- Subscribing to all events
- Unsubscribing from events
- Unsubscribing from all events
- Unsubscribing from the Notifications settings page
- Viewing notifications
- Filtering notifications
- Viewing email notifications
- Enabling email notifications for SMTP servers
- Viewing only unread notifications
- Marking all notifications as read
- Clearing all notifications
- Deleting notifications
- Customer managed keys encryption
- Audit logs
- ALM tool integration
- ALM tool integration
- Test Manager Connect
- Test Manager - Integration Service connector
- Outbound IP ranges for connectors
- Working with SAP Cloud ALM and Test Manager
- Step 1: Integrating SAP Cloud ALM with Test Manager
- Step 2: Creating automated test cases in SAP Cloud ALM
- Step 3: Creating automated test cases in Test Manager
- Step 4: Synchronizing test cases from Test Manager to SAP Cloud ALM
- Step 5: Assigning test automations to test cases
- Step 6: Executing test cases
- SAP test automation best practices
- Troubleshooting the Jira integration
- API integration
- Coding Agents for Testing
- Troubleshooting
Automating test cases in Studio Web
Automate Test Manager test cases directly in Studio Web, available in Test Cloud, by linking test cases and publishing automations to Orchestrator.
Feature availability depends on the cloud platform you use. For details, see the Test Manager feature availability page.
You can automate Test Manager test cases directly in Studio Web, within projects of type Tests.
This capability is available in Test Manager only when delivered through Test Cloud.
If you already have an existing Playwright test suite instead of building automation logic in Studio Web, you can bring it into Test Manager directly. For details, see Playwright test automation.
Context
The following considerations apply before you start:
- You can only link test cases from Test Manager to Studio Web. Linking from Studio Web to Test Manager is not currently supported.
- Studio Web projects of type Tests can only be created via Test Manager. You cannot create them in Studio Web directly.
- You cannot collaborate with other users on the same Studio Web project of type Tests at the same time.
- There is no bi-directional synchronization between Studio Web and Test Manager.
- The import of Test Automation projects is not supported.
- If you open a Studio Web project in Studio Desktop, you cannot synchronize it back and you cannot open it in Studio Web again.
- Studio Web does not provide test case templates, so there is no built-in Given-When-Then structure. Given-When-Then is an optional way to organize a test. If you want to use it, model the Given, When, and Then parts as sequence blocks in your test case.
Prerequisites
The following conditions must be met before you start:
- You have access to Studio Web. App Test Developers have access to Studio Web.
- You have permissions to create and edit Studio Web projects.
- Test Manager is enabled in your Test Cloud organization.
Step 1: Open or create a test case in Test Manager
Open an existing unautomated test case or create a new one in Test Manager that you want to link to Studio Web for automation.
- Navigate to your Test Manager project and go to the Test Cases tab.
- Create a new test case, or open an existing one that does not have automation linked.
- Open the test case and go to the Automation tab.
Step 2: Link the test case to Studio Web
Connect the Test Manager test case to a Studio Web project and test case so the automation you build in Studio Web is associated with this test case.
- In Test Manager, in the Automation tab, select Automate in Studio Web. This opens a panel on the right side to configure the Studio Web automation link.
- In the Automate in Studio Web panel, perform the following configurations:
- From the Project dropdown list:
- Select an existing Studio Web project of type Tests.
- Enter a new project name and select it to create one.
- From the Test case dropdown list:
- Select an existing test case.
- Enter a new test case name and select it to create one.
- Select Add automation. Your Test Manager test case is now linked to a test case in Studio Web.
- From the Project dropdown list:
Step 3: Open and automate the test case in Studio Web
Build the automation logic in Studio Web, then publish the project to Orchestrator so the test case becomes available for automated execution from Test Manager.
-
In Test Manager, from the Automation tab, select Open in Studio Web. This opens Studio Web in a new tab, with your linked test case ready to edit.
Figure 1. Automate in Studio Web panel
-
In the Studio Web project, open the previously created test case.
-
Build the automated test case using any supported activity packages, including Testing.Activities. Here is an example:
Figure 2. Example - Automated Test Manager test case in Studio Web
-
Debug the automation.
-
When you are ready, publish the Studio Web project, to deploy it to Orchestrator. For information on publishing Studio Web projects, see Publishing a project.
Result
The Test Manager test case is linked to a Studio Web test case. After publishing the Studio Web project, the automation is available for execution from Test Manager.