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

  • Working SAP GUI client that you can connect to an SAP server.

About this task

When you record an SAP test, the recording wizard displays the SAP GUI client and records all the interactions that occur in the SAP client. The SAP Protocol Data tab in the test editor displays a screen capture of the selected transaction in an SAP GUI Grid View.
Note: The SAP GUI Grid View presents a tabular view of the SAP cell entries.

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 HCL OneTest Performance. For more information about supported SAP GUI versions, see System Requirements.

Procedure

  1. Open HCL OneTest Performance.
  2. Click the New Test From Recording icon New Test From Recording toolbar button, and then click SAP Test.

    The Select Location page is displayed.

  3. Create a test by performing the following steps:
    1. Select a project, and then select a folder from the project.
    2. Enter a name for the test.
    3. Optionally, click Recording encryption level, and then select the encryption level when you are recording any sensitive data.
  4. Click Next.

    The Select Client Application page is displayed.

  5. Click SAPGUI For Windows, and then select Next.
    The SAP Connection page is displayed.
  6. 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).
  7. Click Finish.
    The SAP GUI window is displayed.
  8. Record an SAP transaction with a screen that contains a Grid View (For example, SM04).
  9. 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.
  10. Click User > Exit or Close to exit the SAP GUI Transaction page.
  11. 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.

  12. Select Open Test.

    The test is displayed in the test editor.

  13. 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 Window > Show View > Other > Test > SAP Protocol Data to open the SAP Protocol Data tab.
  14. 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.

  15. Verify the expected value of the verification point, and then click Finish.
  16. 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