Recording a SAP batch input test
You can record certain SAP transaction sessions from SAP GUI with SAP batch input tests recording wizard. When you record a session, the recording wizard automatically starts a SAP GUI interface and records the transaction that you specified. After you finish the recording, the wizard generates a SAP batch input test in HCL DevOps Test Performance (Test Performance).
Before you begin
You must have added the SAP Java™ Connector (JCo) libraries on your computer. See Configuring an environment for batch input tests.
About this task
During a SAP batch input test recording, the SAP batch input test produces only a batch input transaction that you specified. The SAP batch input tests do not contain any verification point and do not produce any performance result.
You must install the latest version of SAP GUI when you want to record an SAP test in Test Performance. For more information about supported SAP GUI versions, see System Requirements.
Procedure
- Open Test Performance.
-
Click the New Test From Recording icon , and then click SAP Test.
Note: You can also click , and then select SAP Test. You can then select the encryption level, if required and click Next to open the Select Location page.
The Select Location page is displayed.
-
Create a test by performing the following steps:
- Select a project, and then select a folder from the project.
- Enter a name for the test.
- Optionally, click Recording encryption level, and then select the encryption level when you are recording any sensitive data.
-
Click Next.
The Select Client Application page is displayed.
- Select SAP Batch Input Recording, and then click Next.
-
Perform the following steps to enter the connection and transaction details provided by the
SAP administrator.
The SAP GUI window is displayed.
-
Record the batch input transaction, and then click Save.
The SAP GUI Transaction page is displayed.
The page displays the details of the transaction that you recorded.
-
Click Exit.
Note: To exit the SAP GUI Transaction page, you must click Exit. If you exit the page by using any other methods, an exception error is displayed.
-
Select the directory where you want to export the recording on your local computer, and
then click Generate.
The SAPGUI Security dialog is displayed.
The dialog displays the file path for the recording and the directory where the recording is being stored.
-
Click Allow to confirm.
A Test Generation Progress window is displayed while the test is being generated.
The following message is displayed on the progress window: Test Generation completed.
Results
What to do next
- Test Log page
- SAP Performance report page ( )
- Functional Test report page