We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
So I run two instances of Test Complete, one on my local computer and another on a remote VM. I use GitHub to sync up the keyword tests between the two machines.
One day, I decided I wanted Test Complete to run through an entire suite of tests, and only stop an individual test if it ran into an error. So I created a GeneralEvent handler, created a script, and thought everything was fine.
Today I noticed the remote machine didn't seem to be using the event handler, so I did some digging and discovered that the GeneralEvents file I had remote didn't have an OnLogError script set, so it basically wasn't even firing the event when there was an error.
Has anyone else seen a similar issue? I thought GeneralEvents would be a project specific setting, but now it almost looks like it's behaving like a Test Complete setting. I'm didn't even see a file update for when I updated the remote machines files.
Event information is stored in a file. You need to make sure you include the Events.tcAX file that is part of your project in your repository. Without that file, you will see the behavior exactly as you have noted.
I know you said you use GitHub, but could your directories be out of sync?
This may be of some help for figuring out how the events are set up:
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/about.html
Event information is stored in a file. You need to make sure you include the Events.tcAX file that is part of your project in your repository. Without that file, you will see the behavior exactly as you have noted.
That's exactly what was going on!
Thanks Tristaann.