Forum Discussion

uberbner's avatar
Occasional Contributor
15 years ago

Trigger TestItems from script


I have some special constraints / conditions under which TestItems are allowed to run. Hence I am looking for a command to trigger the run of a TestItem from script. I found that there is a reference to the TestItems through the command: Project.TestItems.TestItem(i); but there seems not to be any method to run that TestItem. Is that true? Any possible solution for that issue?

Thanks a lot for your support.


1 Reply

  • Hello Uli,

    It is impossible to run a test item from a test. You can work with test items programmatically including enabling or disabling them only when you work with TestComplete via COM. Please find more information on this possibility in the 'Working With TestComplete via COM' help topic.