vlad230
13 years agoContributor
Skipping Test Item when the first error occurs
Hello,
I have a test suite containing multiple test items and I would like to skip the execution of a test item when the first error occurs (not continuing to run the test item because the rest of the steps in the test will be redundant) and jump to the next test item in the suite.
I've been thinking of setting an event handler that will somehow stop the current test and jump to the next one.
I discovered that I can use:
To refer to the current test item but I don't know how to stop it (without stopping the whole test suite) and how to jump to the next test item.
Can somebody help on this?
P.S. I'm using Test Complete 8 and I'm coding in Jscript.
Thanks,
Vlad
I have a test suite containing multiple test items and I would like to skip the execution of a test item when the first error occurs (not continuing to run the test item because the rest of the steps in the test will be redundant) and jump to the next test item in the suite.
I've been thinking of setting an event handler that will somehow stop the current test and jump to the next one.
I discovered that I can use:
Project.TestItems.Current;
To refer to the current test item but I don't know how to stop it (without stopping the whole test suite) and how to jump to the next test item.
Can somebody help on this?
P.S. I'm using Test Complete 8 and I'm coding in Jscript.
Thanks,
Vlad