Forum Discussion

uberbner's avatar
uberbner
Occasional Contributor
15 years ago

Trigger TestItems from script

Hello,



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.



Uli

  • 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.