GetTestCaseArgs Function

Action

Returns the list of arguments that were passed to the test case.

Syntax

laArgs = GetTestCaseArgs()
Variable Description
laArgs The arguments that were passed to the test case. Return value is NULL if not in a test case. LIST OF ANYTYPE.

Example

[-] appstate State1()
	[ ] LIST OF ANYTYPE laArg
	[ ] laArg = GetTestCaseArgs() // Get args passed to test case
	[ ] Print(laArg) // Process the args
[-] testcase T1(INTEGER iValue, STRING sName) appstate State1
	[ ] // test case code here
[ ] 
[-] main()
	[ ] T1(1, "My First Test")