In session 1, open the test script for editing.
Execute the test script and examine the log to identify the last SAPGUI command before the section containing the errors.
Go back to the test script editor and comment out all the commands after the end of the error-free section.
Choose
.
Start a new session (session 2).
In session 2, start transaction SECATT.
In session 1, set the cursor after the last error free SAPGUI command and choose
.
In the Record SAPGUI Command dialog box, set the granularity of the recording and choose Start Recording.
In session 2, enter the name of the test script and choose
.
In the Close GUIs field of the Start Options dialog box, select Do Not Close Generated Sessions, then choose
.
A new session starts automatically (session 3).
Wait until the execution in session 2 is finished.
In session 1, in the Record SAPGUI Command dialog box, choose Yes to record the new session.
The Recording Running dialog box appears.
In session 3, work through the transaction.
In session 1, choose End Recording.
The new SAPGUI commands are now in the test script.
In session 1, choose
.
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.