Quantcast
Channel:
Viewing all articles
Browse latest Browse all 44090

Wiki Page: GUI-Level Testing Replay: 11 - Silk Test reported, Invalid arguments supplied for execution of testcase error returned during Replay (TryScript)

$
0
0

This error is returned when the string that is being passed as part of the sTestData parameter within the StExecuteTestcase Function during a TryScript within a GUI-Level Testing Project is not formatted to the correct specifications.

As per the Silk Performer online documentation (SILK PERFORMER | HELP | CONTENTS) for the StExecuteTestcase Function, the description for the sTestData parameter states the following: The test data that must be passed to the testcase. Strings that are passed must begin and end with a \".

Therefore if the following is defined within the Silk Performer script:

StExecuteTestcase("Script1.t", "Test1", "testData", "TimerTest1");

During the next TryScript, the aforementioned error message GUI-Level Testing Replay: 11 - Silk Test reported, Invalid arguments supplied for execution of testcase error is the end result.

To successfully pass data to SilkTest via the sTestData parameter the function should be in the following format:

StExecuteTestcase("Script1.t", "Test1", "\"testdata\"", "TimerTest1");


Viewing all articles
Browse latest Browse all 44090

Trending Articles



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