Ask a Question

Anyway to stop a test if an error occured

SOLVED
whuang
Regular Contributor

Anyway to stop a test if an error occured

Hi Support,

 

I was wondering is there anyway I can get TC to stop or skip the current running test automatically if any error occured? If there is any error occured in a test, the test will be failed for sure, so there is no need to waster time and keep it running.

 

Thanks

1 REPLY 1
AlexKaras
Champion Level 3

Hi,

 

> I can get TC to stop or skip the current running test automatically if any error occured?

https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/playback.h...

and

https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/project-editor/test-i...

 

> there is no need to waster time and keep it running.

Correct for Unit and Integration tests.

Usually not correct (or is discussible at least) for the functional end-to-end tests and depends on what you are going to get from the test.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: