[Week 2] API Masterminds Winners
Howdy ReadyAPI Community, I hope you enjoy the API Masterminds so far.I likeseeing that you share your knowledge around ReadyAPI as well as yoursuggestions that may help everyone work pro-actively! As we promised, we decide weekly winners based on the numberof posts created in the ReadyAPI Community (including technical forums and the featurerequest forum). Right now, I'm happy to announce the Week 2 winners. Pleasejoin me in congratulating these guys: 1st place with 55 posts(!!!) created -nmrao. Rao, as usual, it's soawesome! 2nd place with 42 posts created (very close to the 1st place) -HimanshuTayal.Himanshu, how about competing with Rao during week 3? ;) 3rd place with 13 posts created -hazel_chua. Please meet the first-timewinner :) Welcome to the team of winners! From SmartBear, we will be happy to send each winner $50, $35, and $15 gift cards (according to the places). You rock! Week 3 Task: Give more valuable posts to the ReadyAPI Community - theposts for which you will get the biggest number of Kudos.We will countthe number of posts and received Kudos when deciding the winners next week.During the week, we will start several conversations whereyou can participate to get more points. Stay tuned! Let's rock, Masterminds1.1KViews1like2CommentsDetaching events in remote tests
Is it possible to detach an event in a test running on a remote host? More precisely: - I'm using OnNetVarChange event to trigger some event on slave project - The event handler should be called only by master project I ve added the command Event.EventName.DetachFromTestComplete() at beginning of slave routine, but apparently it does not prevent the event handler to be executed on the slave. I'm using TestComplete v11.30 , Python script. Best Regards, Giovanni2.1KViews0likes6CommentsOnUserStop Event that can be cancelled
There is an event OnStopTest Event, but it states "the test script finishes by the moment the OnStopTest event handler starts, the objects created by the script become invalid." Here is my use case: I'm watching my test run and I see something went wrong, so I want to stop it instead of waiting for it to completely timeout or fail every following test item. However, my test item is built to attempt to clean up even in the event of a failure. Therefore, if I stop the test, I'll have to clean up after that test manually, which can be time consuming. The alternative is to wait and click Stop at just the right moment between test items, but that is difficult because I have to sit and watch it closely. Also,it's easy to miss it and stop it after it started setting up the next test (which leaves me to clean that up manually). I had an idea: Catch the Stop click event, which OnStopTest does,andignore the stop until the test item ends at which point I will stop all execution. Using the same logic, I'd be able to stop all execution right away if I click Stop twice. The downside is OnStopTest is already after the execution is stopped, so there's no continuing the test. My request is to catch when the user clicks Stop before it actually stops. Let me know if anyone has any other suggestions too. Thanks!