Replay SAP GUI Scripts
The following steps describe prerequisites to replaying SAPGUI scripts.
Replace the masked password in the sapgui_logon function generated during recording, with the real password. It is the second argument of the function, after the following user name
sapgui_logon("user", "pswd", "800", "EN");
For additional security, you can mask the password within the code. Right-click in the password text (the actual text, not *****) and select Mask String. VuGen inserts an lr_unmask function at the location of the password as follows:
sapgui_logon("user", lr_unmask("3ea037b758"), "800", "EN");
When running a script for the first time, configure VuGen to show the SAP GUI user interface during replay, in order to see the operations being performed through the UI. Select Replay > Runtime Settings > SAPGUI > General node and select Show SAP Client During Replay. During a load scenario, disable this option, since it uses a large amount of system resources in displaying the UI for multiple Vusers.