Forum Discussion
Use either PowerShell or Batch file to call the appropriate commands, https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html to run your automation scripts. You can then perform other actions once the automation has finished.
Also have a look at Events https://support.smartbear.com/testcomplete/docs/reference/events/index.html to see if this may be able to help.
- praveenskg2 months agoContributor
we have built the custom code using python within Testcomplete, so i am looking for some way to achieve it within Testcomplete. I also looked into all the Events, i dont think any suitable event for my need. both Onstop Test & Onstop Testcase happens after each test/testcase. Since it is within Testcomplete, i cannot go for powershell or batch file
- rraghvani2 months agoChampion Level 3
I use PowerShell to generate the following email report, based on the xml summary report generated by TC.
Works without issues.
- MW_Didata2 months agoRegular Contributor
If the code is within TestComplete, Can't you put it at the end of the execution plan?
- praveenskg2 months agoContributor
yes we can keep it at the end of execution plan, that will be our last option. Reason is every project team has to make this change and we need to keep that testcase enabled. Also when running from CICD we are using tag to run selective testcase.
Related Content
- 3 years ago
- 6 years ago