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 can I change the default location of the TrueLog Explorer .xlg file generated by a Silk4Net test execution in Visual Studio?

How can I change the default location of the TrueLog Explorer .xlg file generated by a Silk4Net test execution in Visual Studio?

The default location of the TrueLog .XLG file generated after script execution is the current project folder, for example:

C:\Users\johnly\Documents\Visual Studio 2012\Projects\Silk4NET_GMOTest\Silk4NET_GMOTest

If you wish to change this default location you can do so by editing the “config.silk4Net” file of the corresponding Visual Studio project and adding the following within the “agentOptions” section:
 
...
    <entry>
      <string>OPT_TRUELOG_FILEPATH</string>
      <string>c:\tmp\relocated.xlg</string>
    </entry>
...


For example, I can implement this by going to:

C:\Users\johnly\Documents\Visual Studio 2012\Projects\Silk4NET_GMOTest\Silk4NET_GMOTest

and adding the additional XML attributes, as shown below:

<?xml version="1.0" encoding="UTF-8"?><recorderProject version="15.0">
  <applicationConfiguration>
    <browserType>InternetExplorer</browserType>
    <baseStateInfo>
      <locator>//BrowserApplication</locator>
      <url>http://demo.borland.com/gmopost/</url>
    </baseStateInfo>
  </applicationConfiguration>
  <agentOptions>
    <entry>
           <string>OPT_TRUELOG_FILEPATH</string>
           <string>c:\results\myTrueLogFile.xlg</string>
     </entry>  
  </agentOptions>
</recorderProject>

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:
‎2015-05-01 11:13
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.