Contributions
OnUserStop 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!1KViews0likes0CommentsRe: Stop testcomplete from unchecking test items under a group
Unchecking the folder doesn'tuncheck the childitems. They will remain checked, but disabled. If you check the folder again, it will enableit and anychildren that were checked before. If any of those child items were unchecked before, they will remain unchecked when the parent becomes enabled. At least thisis the way it behaves for meand it makes sense. Are you sure you didn't select all the items and select "Disable Selected"? In that case it will actually uncheck every item in the selection. Or did you select Disable All?2.3KViews0likes0CommentsRe: option to disable project explorer tree expansion
I actually submitted my own request for this last week: https://community.smartbear.com/t5/TestComplete-Feature-Requests/Option-to-lock-the-Project-Explorer-tree-when-switching-tabs/idi-p/101060 It is really annoying, right? Every time I go to open another script, I have to collapse folders and scroll around.4.6KViews0likes0CommentsOption to lock the Project Explorer tree when switching tabs
When you open multiple scripts in TestComplete, the selected tab is automatically highlighted in the Project Explorer. I can see how this is useful because it shows where that script is located. However, when I'm working with multiple scripts, I find it frustrating to lose my current selection in the Project Explorer tree when I switch tabs. We are using several levels of folders, so every time I go back to the Project Explorer, I have to scroll around or collapse folders to find what I'm looking for. It would be nice if there was an option to disable this feature, so the Project Explorer could remain as is regardless of my tab selections. That way I would have control over which folders are expanded and where the scroll is located.4.4KViews12likes9Comments