I create automated tests with Test Automation FX and I'm beginner.
I need to know how to fail test from within test script?
I am using C# scripting.
Say if I want to recognize some window control and have to perform action on that:
if(window["Exists"])
{
//Perform action.
}
else
{
// move to the next test cases.
}
I don't know how to handle the else part?