How to catch ValidationException without failing the test?
Posted: Thu Apr 10, 2014 10:52 am
Sometimes the click fails (Ranorex Bug) .
I want to catch the exception and retry the click without failing the test.
The catch works , but the test fails because the exception was thrown.
HOW TO catch the exception and not fail the test ?
try
{
//click repo item and validate success
}
catch(Ranorex.ValidationException e)
{
Mouse_Click();
}
I want to catch the exception and retry the click without failing the test.
The catch works , but the test fails because the exception was thrown.
HOW TO catch the exception and not fail the test ?
try
{
//click repo item and validate success
}
catch(Ranorex.ValidationException e)
{
Mouse_Click();
}