shLillian
12 years agoNew Contributor
No such property: testRunner for clases: Script1
When I was writing setup script under testsuit,like this:
testRunner.testCase.testSuite.project.testSuites["Common"].testCases["CreatePlayer"].run(null,false);
I failed with alert "No such property: testRunner for clases: Script1".
I run testsuit named Player.Then at the the beginning,I hope to invoke other testsuit's script to initialize project property before I begin to run current testsuit.
Anyone can help me? Thanks a lot!
testRunner.testCase.testSuite.project.testSuites["Common"].testCases["CreatePlayer"].run(null,false);
I failed with alert "No such property: testRunner for clases: Script1".
I run testsuit named Player.Then at the the beginning,I hope to invoke other testsuit's script to initialize project property before I begin to run current testsuit.
Anyone can help me? Thanks a lot!