TestExecute Tests using Batch file - how to stop the execution when there are environment errors .
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestExecute Tests using Batch file - how to stop the execution when there are environment errors .
Need advice/Recommendation to avoid false errors.
Here we are running our several testing using batch files and task scheduler. Our test run every hour of the day. But sometimes our tests fails due to firefox browser crashed, or error coming from OS - memeory management console error.
We are looking for ways to stop the execution of tests as soon as those errors occurs. If we have errors outside the Testcomplete we want to stop the execution of tests.
Any updates
-Nishchal
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a place to start. What you want is to have the test stop gracefully just as if you were running it in TestComplete. That will let TestExecute stop the same way.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot Marsha!
@nisgupta Was this helpful for you?
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the updates.
Actually I need the solution - turn off Task scheduler - As we are running our tests for every 30 minutes of the day. If the tests fails due to some reasons then we got lot of notifications . The tests will run again and the again it will fail. So we want to turn off task scheduler .
-Nishchal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does any one have idea how we can turn off task scheduler . For e,g We have batch file which contain the command to run several projects . If the project start giving error we want to turn off task scheduler or stop executing the bacth file further
Please update
Thanks
NG
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
https://www.google.com/search?q=windows+task+scheduler+disable+task+script+powershell+microsoft
No?
(Permission elevation might be required.)
/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
================================
