Ask a Question

Iterate over child tests

SOLVED
StevenJ61
Occasional Contributor

Iterate over child tests

I've set up a sequence of tests via View -> Organize Tests.

I then added child tests to one test unit.

I would like the parent test unit act as a loop controller over its containing child tests.

Is this possible?

 

Failing that, is there some way a script can retrieve the sequence of the child tests?

 

Thanks in advance,

 

Steven.

2 REPLIES 2
AlexKaras
Community Hero

Hi Steven,

 

Do you mean something like this:

https://support.smartbear.com/testcomplete/docs/reference/project-objects/project/testitem/itemcount...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
StevenJ61
Occasional Contributor

Hi Alex,

             Thank you, that will do the job nicely.

 

Regards,

 

Steven.

cancel
Showing results for 
Search instead for 
Did you mean: