Class: sltest.testmanager.TestFile Package: sltest.testmanager
Get test cases in a test file
tcArray = getTestCases(tf)
example
tcArray = getTestCases(tf) returns an array of test case objects in a test file. Only test cases that are direct children of the test file (that is, not within a test suite) are returned.
tcArray
tf
expand all
sltest.testmanager.TestFile
Test file containing the test cases to get, specified as an sltest.testmanager.TestFile object.
sltest.testmanager.TestCase
Test cases at the top level of the test file, returned as an array of sltest.testmanager.TestCase objects.
tf = sltest.testmanager.TestFile('My Test File'); tcArray = getTestCases(tf);
getTestCaseByName | sltest.testmanager.TestFile
getTestCaseByName