Testcase Executon:
-------------------
Write your testcase (steps)scripts intoTry /catch blog to handle the exception to avoid the script termination.
try
{
// Testcode;
}
catch(Exception e)
{
logTestResult("test msg",fail);
}
Test Suite Execution :
-----------------------
try
{
callScript("Testcase1");
callScript("Testcase2");
}
catch(Exception e)
{
logTestResult("test msg",fail);
}
-------------------
Write your testcase (steps)scripts intoTry /catch blog to handle the exception to avoid the script termination.
try
{
// Testcode;
}
catch(Exception e)
{
logTestResult("test msg",fail);
}
Test Suite Execution :
-----------------------
try
{
callScript("Testcase1");
callScript("Testcase2");
}
catch(Exception e)
{
logTestResult("test msg",fail);
}
No comments:
Post a Comment