Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How to use Silk Recorder Scripts in Silk Test Workbench VB.NET script.

How to use Silk Recorder Scripts in Silk Test Workbench VB.NET script.

There is no Silk Test Recorder to Silktest Workbench export functionality.

The following technique will demonstrate how you can reuse Silk Test Recorder code in Silk Test Workbench VB.NET.

To copy Silk Recorder steps/code over to a Silk Test Workbench VB.NET script you first need to enable the following setting:

  • In Silk Test Recorder select Settings | Global Preferences | General
  • Set Default Client to "Silk4NET(VB.NET)"

Then you can simply:

  • Record your test
  • Highlight the particular code steps which you need to export
  • Copy the line/lines of code from the recorder tool to the windows clipboard (e.g. Ctrl+C or right mouse click and then select copy),
  • And finally you can paste the content of the windows clipboard into the VB.NET script (e.g. Ctrl+V or right mouse click and select past).
  • Before you can run the script in Silktest Workbench, you may need to:
  • Add application configuration as needed (for the base state)
  • Add any missing Import Statements at the very beginning of the VB.Net script (e.g. if you are working with web browsers add: Imports SilkTest.Ntf.Xbrowser)

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-04-04 05:06
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.