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 UI (Test UI).
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 HCL DevOps Test UI (Test UI).
Procedure
- Open Test UI.
-
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
- Functional Test report page