Entering content frameProcedure documentation Re-Recording with SAPGUI Commands Locate the document in its SAP Library structure

Use

When you have recorded a transaction and there are errors, you can use this procedure to re-record a section of the transaction.

Procedure

  1. In session 1, open the test script for editing.
  2. Execute the test script and examine the log to identify the last SAPGUI command before the section containing the errors.
  3. Go back to the test script editor and comment out all the commands after the end of the error-free section.
  4. Choose This graphic is explained in the accompanying text.
  5. Start a new session (session 2).
  6. In session 2, start transaction SECATT.
  7. In session 1, set the cursor after the last error free SAPGUI command and choose This graphic is explained in the accompanying text.
  8. In the Record SAPGUI Command dialog box, set the granularity of the recording and choose Start Recording.
  9. In session 2, enter the name of the test script and choose This graphic is explained in the accompanying text.
  10. In the Close GUIs field of the Start Options dialog box, select Do Not Close Generated Sessions, then choose This graphic is explained in the accompanying text.
  11. A new session starts automatically (session 3).

  12. Wait until the execution in session 2 is finished.
  13. In session 1, in the Record SAPGUI Command dialog box, choose Yes to record the new session.
  14. The Recording Running dialog box appears.

  15. In session 3, work through the transaction.
  16. In session 1, choose End Recording.
  17. The new SAPGUI commands are now in the test script.

  18. In session 1, choose This graphic is explained in the accompanying text.
  19. The connection and session IDs in the newly recorded command interfaces must be identical to those in the preceding SAPGUI command. If necessary edit the new command interfaces.

 

Leaving content frame