Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Why do I get the error "Invalid argument supplied for execution of testcase" in SilkCentral TestManager?
When passing test data from SilkCentral TestManager to execute SilkTest testcases that take arguments you may encounter this error for any of the following reasons.
E.g. Testcase findDetails(String sName, Integer
iId)
Testdata : 222,
/// will result in above mentioned error on
execution
E.g. Testcase findDetails(String sName, Integer iId)
Testdata : john, 222 /// will result in error on execution when single quotes are omitted
Use quotes for string values when using data-driven tests and using parameters to hold values as shown below:
testdata : "$sName", $iId