You can record business scenarios and create automated test cases with component-based test automation.
You can create tests and components from the screens of a transaction, and parameterize them. These tests are for a single transaction and can be combined into a scenario test. You maintain the components in the test composition environment.
Note
You can test the following types of applications:
SAP ABAP servers:
SAP GUI
SAP CRM Web Client
Web Dynpro ABAP
Business Server Pages (BSP)
Web GUI (SAP GUI for HTML)
SAP Java servers:
SAP Portal
Java Web Dynpro
Third-party servers:
URL (HTML pages)
Note
There are limitations to the scope of CBTA. For more information, see SAP note 1835958.
You have installed the Component-Based Test Automation client on your local machine. For more information, see Installing and Configuring the CBTA Client.
You have created a test profile. For more information, see Creating a Test Profile With Logon Data for SUTs.
You have created a test configuration or a test script and are editing it in the test composition environment. For more information, see Creating a Test Configuration or a Test Script.
You have maintained the attributes of the test configuration or a test script. For more information, see Maintaining SAP Attributes on the Attributes Tab Page.
Save your entries.
Choose Launch CBTA.
Logon to the system under test.
The Test Creation Wizard starts.
Optional: Replace the default analysis name with a more meaningful one.
To confirm, choose Next.
The executable starts. The Test Creation Wizard is in recording mode.
Perform the business process.
Optional: To add a checkpoint, do the following:
In the Test Creation Wizard, choose Add Checkpoint.
Click the UI control to be checked.
The UI control is listed in the test creation wizard.
Optional: Change the property to be checked.
When changing this property, its value is displayed.
Optional: Change the operator and value to be checked.
Optional: To add a screenshot to the execution report, choose Insert Screenshot.
To stop the recording, in the Test Creation Wizard choose Stop the PFA and validate.
Choose Next.
The structure of the process flow is displayed.
Verify that the business process has been recorded correctly and completely .
To create the test, choose Next.
To cancel the recording, choose Cancel.
The test script and test components required are generated and uploaded to the SAP Solution Manager.
Choose Finish.
In the test composition environment, choose Refresh.
The test composition environment is updated with the results of the recording. The test script parameters, if defined, are displayed on the Parameters tab page.