Recording a Test Script Using Component-Based Test Automation
To
record transactions in SAP GUI or CRM Web UI systems and create
automated test cases, you can use SAP 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.
Procedure
- Under Test Repository, choose the Test Scripts subview.
- Choose Create.A dialog box appears.
- Select CBTA as test tool and enter data as required.
- Specify the title, application component and system under test.
- Save your entries.
- Choose Start CBTA.A dialog box appears.
- Connect to the system under test.The Test Creation Wizard is started.
- Enter an analysis name. The recording is stored under this name and can later be used to generate another test script.
- To confirm, Choose Next.The executable is started. The Test Creation Wizard is in recording mode.
- Perform the business process.
- Optional: To add a checkpoint, in the Test Creation Wizard choose Add Checkpoint.
- To stop the recording, in the Test Creation Wizard choose Stop the PFA.
- Choose Next.The structure of the process flow is displayed.
- Verify that the business process is correctly and completely recorded, and choose Next to confirm.
- To create the test, select End the analysis and create the test, and choose Next to confirm.To cancel the recording, select End the recording without creating a test.The test components are uploaded to the Test Composition Environment.
- Choose Finish.Source: www.help.sap.com
No comments:
Post a Comment