MLoetscher
4 years agoSenior Member
Status:
New Idea
Make it possible to call keyword tests in the OnStopTestCase event
Make it possible to call keyword tests in the OnStopTestCase Event. In case of an error, we would like to bring our application into a state that is necessary for the next test case. For this we would like to use a keyword test, which unfortunately does not work in contrast to a script test.
function GeneralEvents_OnStopTestCase(Sender, StopTestCaseParams)
{
if (StopTestCaseParams.Status == 2) //Error
{
KeywordTests.TryAbortSimulation.Run(); //Keyword test will be ignored!!!
}
}