Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.

SAPGUI replay with Silk Performer

SAPGUI replay with Silk Performer

How to replay a SAPGUI script with Silk Performer 10.0.

Once you have recorded your SAP script you are now ready to replay it.

You will notice that for security reasons, the recorded script does not contain a password in the SapGuiLogon function. Instead the function contains ********. We need to address this before replay.

The most secure option is to use Project Attributes. Go to Projects | Project Attributes.

Enter a name for your password Attribute. In this case we use "sPassword".

Change the type to password, enter the actual SAP password in the Value field and click OK.

Now declare a string variable to which we are going to assign the actual password.

Use the AttributeGetString function to get the password value from your previously set project attribute and assign it to your new variable.

Change the SapGuiLogon function so it now uses the variable rather than the hardcoded stars.

Now you are ready for a test run.

Click TryScript and then Run.

Silk Performer will start the SAP Gui automatically and log in with the username and password.

It will then run the test steps from the Silk Performer script.

Once the run is complete you can review the test in TrueLog Explorer.

Right click in the Silk Performer monitor window and choose Explore Truelog.

TrueLog Explorer will open and show the steps executed during the test.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-08-08 15:05
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.