Testcomplete - after logs are generated, how can i run another script ?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Testcomplete - after logs are generated, how can i run another script ?
Hello,
I am trying to find out how to run a test item (Summary Test Case) once all the other tests are executed and the logs for them are shown in the project panel.
for example :
Test case- 1
--- test item 1
---test item 2
--- logout & close (end script)
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why do you need to do test case 3 (summary) after log is generated ?
You can export log of test case individually if you want with Log.SaveResultsAs(l) so you can do:
Project suite
Test case 1
Log export
Test case 2
Log export
Test case 3 (summary)
Log ended and displayed
But no way of doing something AFTER having the log displayed on TC.
Un sourire et ça repart
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a script that counts the pass & fail test cases in the project log and sends it to api channel
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your script need TC objects or it can be run alone ?
If it run alone or can be adapted to, you have just to put in your cmd/bat calling TestExecute to exec TestCase1 and TestCase2 and then next command will be call of your summary script.
Advantage: not linked to a ProjectSuite/TestCase and can be deactivated easily the day the summary report will be exported by TC ...
Un sourire et ça repart
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it can be run alone.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kkrush Thank you for clarifying!
Have you tried using the approach Benoit suggests for your use case?
Sonya Mihaljova
Community and Education Specialist
