Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: Passing data to a 'Silk4x' (Silk4J, Silk4NET) test case during a GUI-Level test

$
0
0
For 'Silk4x' GUI-Level tests it is not possible to pass data to the test case using the 'sTestData' parameter of the StExecuteTestcase function in the same way as for Silk Test Classic / Open Agent test cases. Neither Junit (Silk4J) nor MSTest (Silk4NET) have the concept of passing data from outside, apart from system properties (Environment Variables). As a workaround it is possible to use Environment Variables. However, when using Environment Variables with the 'ProcessSetEnv' function, this sets an Environment Variable for a particular process and not system wide (in conjunction with the ProcessStart and ProcessInitialize functions). The alternative is to use a command line (e.g. using " SetX ") to set the Environment Variables and run the command with Silk Performer (e.g. in a batch file).

Viewing all articles
Browse latest Browse all 4084

Latest Images

Trending Articles



Latest Images

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