Setting a Test Item's Count via script
Hi,
I've seen reference to a support ticket from 3+ years ago to add the functionality to set a Project Test Item's Count via script. Is there now a way to do this?
Thanks,
Brandon
The limitations of the Test Items method of running test cases is exactly that... that basically all aspects of configuring Test Items are hard coded prior to execution and cannot be altered at runtime. If you desire runtime control of what gets executed, when, how many times, and in configurable dependancies, the way to do so is to run tests as functions/tests called within others. Most frameworks that I have designed and worked with in TestComplete work in this fashion. Understandably, this means you can't get the "pretty" reports and graphs out of TestComplete as to how many "tests" passed/failed... but again, using code, external files, etc., you can construct your own reporting which is what we do by writing to an SQL table after each test what the test status is.