I have the following test case, now when I run it the log file shows “tests=2”.
It only has one test case the log also counts the script as test case.
The test script name is - Try-Catch
How can I have the script not counted under tests
BeginTestCase JobSubmissionException
try
Set the SearchRectangle to (1620,0,1920,123)
WaitFor 4, "Notifications/Nft_JobSucess_Icon"
Set the SearchRectangle to ()
catch anException
Log "**************************************************************************"
LogError "Job Submission Failed"
Log "**************************************************************************"
end try
EndTestCase JobSubmissionException
I’m am attaching the log file also.