Silk4JExecuteTestcase starts an execution using UFT Developer (Silk4J) and collects the results of the execution.
SilkTest.bdh
Silk4JExecuteTestcase( in sClass : string, in sTestCase : string, in sTimer : string ): boolean;
Parameter | Description |
---|---|
sClass | The JUnit test class name |
sTestCase | The name of the testcase you want to execute |
sTimer | The name of the timer for the Silk4JExecuteTestcase function |
true if successful
false otherwise
dcltrans transaction TInit begin AttributeGetString("GLTusername",username); AttributeGetString("GLTpassword",password); Silk4JInitSession(username,password); end TInit; transaction TTest begin Silk4JExecuteTestcase("com.borland.silk4j.TestClass","testMethod","method testcase"); endTTest;