The name of the test case within a test suite object, specified
as a character vector. If the name does not match a test case, then
the function returns an empty test case object.
Test case, returned as an sltest.testmanager.TestCase object.
If the name does not match a test case, then the function returns
an empty test case object.
% Create a test file with default test suite and case
tf = sltest.testmanager.TestFile('My Test File');
% Get test suite
ts = getTestSuites(tf);
% Get the test case object by test case name
tc = getTestCaseByName(ts,'New Test Case 1');