Adding a verification point to an SAP GUI Grid View object
You can add a verification point to an SAP object in the SAP GUI Grid View to verify the state of the SAP object after the SAP recording is complete.
Before you begin
-
Verified that SAP GUI scripting is enabled on the SAP server and the SAP GUI client. See Configuring SAP for performance testing.
-
Working SAP GUI client that you can connect to an SAP server.
About this task
You can then add verification points to an SAP cell entry and save the test. After you save the SAP test, you can run the test and verify the verification point details.
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.
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.
-
Click SAPGUI For Windows, and then select
Next.
The SAP Connection page is displayed.
-
Enter the SAP connection details on the SAP Connection
page by performing one of the following methods:
- Select SAP Logon, and then select the SAP
connection name from the SAP system name
drop-down list.Note: You must have created an SAP system connection entry on the SAP Logon page.
- Select Service information, and then enter the
information provided by the SAP administrator for the fields specified
in the following table:
Fields Action Application server Enter the SAP application server IP or hostname. System number Enter the system number that corresponds to an SAP instance of the SAP server (For example, 00).
- Select SAP Logon, and then select the SAP
connection name from the SAP system name
drop-down list.
-
Click Finish.
The SAP GUI window is displayed.
- Record an SAP transaction with a screen that contains a Grid View (For example, SM04).
- Select a column (For example, User ID) after you record the SAP transaction, and then select Sort in Descending Order to sort the entries in descending order.
- Click Close to exit the SAP GUI Transaction page. or
-
Close the SAP session.
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.
-
Select Open Test.
The test is displayed in the test editor.
-
Select an SAP element from the Test Contents
section.
The Screen Capture in the SAP Protocol Data tab displays the transaction details that you selected, in the SAP GUI Grid View.
Note: If the SAP Protocol Data tab is not open, click to open the SAP Protocol Data tab. -
Right-click a cell entry from the SAP GUI Grid View object, and then click
Create Verification Point.
The Create Verification Point dialog is displayed.
- Verify the expected value of the verification point, and then click Finish.
- Save the test.
Results
You have added a verification point to an SAP object in the SAP GUI Grid View of a recorded SAP test.
What to do next
You can run the SAP test and verify the execution details of the verification point from the following pages:
- SAP Summary tab in the SAP Statistical Report page
- SAP Verification Point Report page
- Test Log page