Forum Discussion

Egg's avatar
Egg
Frequent Contributor
2 years ago

i wanna control the 'fail' test.

Hello,! 

When I fail the automatino test. Testcomplete create the 'X fail Log' . 

What I wanna do is. I wanna  play the alternative test case before Testcomplete create the 'fail log'. 

How can i do this process? 

please teach and share your idea  🙂 

 

2 Replies

  • Frits's avatar
    Frits
    Occasional Contributor

    Maybe you could look into "Events" > "GeneralEvents" in TestComplete.

    There is a "OnStopTest" or "OnStopTestCase".

     

    These Events will start when a Test/TestCase is Stopped or done executing.

    Maybe you could check in this Event if you would like to run an alternative test, and if so, you can start this test from this Event?

     

     

  • VirginiaSus3's avatar
    VirginiaSus3
    Occasional Contributor

    Did You get any Solution??

    test failures & their impact. Tests are meant to detect application issues & should fail only when the functionality doesn’t work as expected. OneCognizant Cognizant