Quantcast
Channel:
Viewing all articles
Browse latest Browse all 44851

Wiki Page: How can I specify a relative path in the Silk4NET or Silk4J config file for the base state execution?

$
0
0
The contents of the config.file below demonstrates how to specify a relative path to an executable:   ?xml version="1.0" encoding="UTF-8"? recorderProject version="12.0"   applicationConfiguration     moduleNamePattern *\notepad.exe /moduleNamePattern       commandLinePattern/         baseStateInfo           logicalName Untitled - Notepad /logicalName           executable %systemroot%\system32\notepad.exe /executable         commandLineArguments/       workingDirectory %systemroot%\system32 /workingDirectory     className Window /className     locator Untitled - Notepad /locator     /baseStateInfo   /applicationConfiguration agentOptions/ /recorderProject Where %Systemroot% is a relative path to “C:\Windows”. You can also specify your own relative paths by simply creating a SYSTEM Environmental Variable on your machine as detailed below: 1. Select Computer from the Start menu 2. Choose System Properties from the context menu 3. Click Advanced System Settings Advanced tab 4. Click on Environment Variables, under System Variables, press “New” 5. For example, I could create a System variable named “SilkTest” which has a value of: C:\Program Files (x86)\Silk\SilkTest.

Viewing all articles
Browse latest Browse all 44851

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>