Forum Discussion
11 Replies
- rraghvaniChampion Level 3
I also couldn't find anything similar to that - I've defined my execution plans like so,
Main and Cleanup are not test cases. Main performs the database setup, launching of browser etc, and Cleanup removes inserted records, files etc.
- lherryContributor
Hi,
I've found a workaround which consists in determining whether I'm on the first or last test run of the project (which isn't easy, since you still have to test whether each test is active or not...).
Once the hard part is done, all that's left to do is :
1- Test whether we're on the first test in the OnStartTest() event to initialize the project
2 - Test whether we're on the last test in the OnStopTest() event to finalize the project.But I agree with you, I don't really understand why the following native events aren't available, especially as I don't suppose it should be very complicated to implement on their side (probably less than what I've done to get the same result)
- OnStartProject() / OnStopProject()- OnStartProjectSuite() / OnStopProjectSuite()
I've found a link to the evolution proposal, but few people voted for it (hence why it hasn't been implemented yet...) : new idea for project test events
Regards
- larebshaikhOccasional Contributor
Thanks for reply lherry .
I am wondering, How can a Automation testing tool providing company not impliment something which is necessary/useful for most of automation cases.
In shared post I saw someone's comment who asked user to manually create login for this. Sigh!
- larebshaikhOccasional ContributorHello kitt,
I tried using onstoptest and onstarttest but I observed that script is being executed before and after each scripts I want to execute my requirement at the start of execution and after all testcases executed in the end of execution.
- larebshaikhOccasional Contributor
I am also implementing similar solution but wanted to check if testcomplete provides anything internallly.
- AlexKarasChampion Level 3
Hi,
Alas, nothing like that... 😞
Feature request exists (don't have the link at hand), but has not been implemented yet. 😞
- rraghvaniChampion Level 3
Do you want to export log results once your project suite/project has completed?
- larebshaikhOccasional Contributor
rraghvani yes for each project export log once project execution plan is over.
- MW_DidataRegular Contributor
If you start your projects from batch/commands take a look at this:
Related Content
- 9 months ago
Recent Discussions
- 2 days ago