Forum Discussion
- grant_volker_2ContributorHi Joel,
Have you seen the LogParams Object Properties ?
I've not used this myself, but referred to List of TestComplete Events and saw OnLogWarning under General Events
Perhaps I am misunderstanding your intentions, do you have a code snippet to help clarify how you are using the OnLogCheckpoint event handler?
Grant - joel_johnsonOccasional ContributorI don't have a code snippet because I am using a keyword test to handle the event. Basically it says,
If Last Operation Result = False (I am trying to say if the checkpoint failed)
->Log Warning (I want it to log a warning instead of an error).
Else
->Log message "checkpoint passed." - JavierCollRodriContributorHi Joel,
If you don't want TestComplete to stop when it logs an error, just follow this steps:
Double click on your project (main screen, left sidebar)
Go to 'Properties' tab
Go to 'Playback' panel
Unselect 'Stop on error'
There are many options you can set there, check them also
Bye! - joel_johnsonOccasional ContributorThanks Javier, I was aware of this. But I specifically want to not stop on Checkpoint failures and stop on all other tests. I don't see an option for this.
Related Content
- 3 years ago
- 12 years ago
- 8 years ago
- 11 years ago
Recent Discussions
- 3 hours ago