Ask a Question

How to ignore the error for the whole project

SOLVED
kevintran1308
Contributor

How to ignore the error for the whole project

While running the tests, I have trouble with unnecessary error.

This error does not affect the test but it will stop the running tests.

Can anyone show me how to ignore the specific error so that the tests can run all of the steps?

 

Thank you

6 REPLIES 6
AlexKaras
Community Hero

Hi,

 

Consider OnLogError project event to block this given error.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

 

So I tried OnLogError but I did not know how to block this given error

kevintran1308_1-1615322841529.png

 

So after the run, the final result was still error.

kevintran1308_0-1615322774183.png

 

PLEASE ANY ONE HELP ME !!!!!!!!!!!!!!!!!!

 

Hi,

 

I did not know how to block this given error

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/creating-handl...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
sonya_m
SmartBear Alumni (Retired)

Thank you so much, Alex!

 

@kevintran1308 does this advice help?


Sonya Mihaljova
Community and Education Specialist

The error is "Windows is not response" and it does not application error.

Creating OnLogError handle can ignore the Error above.

However, at the end of the test, the result is still Failed.

I want to ignore that error and have the passed result.

I could not find more information about to to fix that.

 

Kevin

Hi,

 

Hm-m-m... Maybe it is possible to make test code to wait somehow until the window becomes responsive? Or talk to developers about this problem? Unresponsive window does not sound like a good user experience.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: