Forum Discussion

david_quick's avatar
david_quick
Occasional Contributor
11 years ago
Solved

Setting Project Test Items Count via Script

Is there a way to programmatically set a project test item's count? The TestItem Object only provides access to the property values, not set them. Here's the VB script I am running: ...
  • TanyaYatskovska's avatar
    11 years ago

    Hi David,


     


    I found the same support ticket you submitted to our TestComplete Support Team. Let me quote their reply here so that other community members are aware of this:




    Currently, the TestItem.Count property is actually read-only. However, we have a suggestion to implement the ability to modify this property from the test in our database, and your message has increased its rating. Thank you.


     


    In the meantime, to accomplish the task, you can implement the loop that will control how many times a test item will be executed. I hope this will help.