Ask a Question

Execution Plan : How to count number of groups and number of Test Items in each group / subgroup ?

SOLVED
Raveees
Occasional Contributor

Execution Plan : How to count number of groups and number of Test Items in each group / subgroup ?

Is there a way to know the total number of test items by group in Execution Plan ( before running the test).

1 ACCEPTED SOLUTION

Accepted Solutions
vinniew
Staff

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Hi @Raveees 

 

I appreciate you do not want a scripting approach to this. 

 

I dont know of another approach however, given that there is a scripted approach. 


It could be a good basis for an enhancement to list the number of items in the execution plan. 

 

There is obviously questions on what is included in the count, 

 

Is it all test items(including all hierarchies), only the checked test items etc

 

Either way its a good suggestion for a feature request. 

 

Feel free to raise it here and we can vote on it to get traction πŸ™‚ 

 

I would also encourage people who think the same to also vote on it. 

 

https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests

 

KR

Vinnie

View solution in original post

9 REPLIES 9
AnthonyB
Occasional Visitor

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

You can organize test items into a plain list, grouped list, or a tree-like structure (where child items are run after the parent item has finished running) and change their properties. For example, you can exclude test items from or include them in the test run using the check box next to the test item name.

CredibleBH

Raveees
Occasional Contributor

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Thank you Anthony, But my query is how to find the total count of test items from those lists?

vinniew
Staff

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Hi @Raveees 

 

In the execution plan it will detail all of the test items and sub test items. 

 

This is also detailed in the summary report post execution

 

I understand you are looking for a count but what value does this provide? 

 

Just searched a little, I dont think count property will work here but have you checked out Item count property? 

 

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

 

This counts the number of child test items. 

 

You may need to restructure your execution plan but it may be worth checking out none the less. 

 

KR


Vincent

 

mattb
Staff

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Raveees
Occasional Contributor

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Dear Matt, I just want to know that how many test items are present in each test group to tell team that " How many tests that I am going to execute". I do not need any scripting model.  how do I just find total number of tests that each group has manually.

Raveees
Occasional Contributor

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Thx Vincent, How do we find "Manually" total tests present ?  as we got 100's of tests items pulled by the team into different groups and subgroups. So we would like to know the total count before running the test execution. Please explain a way without writing code, we just want to find total tests even before running the scripts.

vinniew
Staff

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Hi @Raveees 

 

I appreciate you do not want a scripting approach to this. 

 

I dont know of another approach however, given that there is a scripted approach. 


It could be a good basis for an enhancement to list the number of items in the execution plan. 

 

There is obviously questions on what is included in the count, 

 

Is it all test items(including all hierarchies), only the checked test items etc

 

Either way its a good suggestion for a feature request. 

 

Feel free to raise it here and we can vote on it to get traction πŸ™‚ 

 

I would also encourage people who think the same to also vote on it. 

 

https://community.smartbear.com/t5/TestComplete-Feature-Requests/idb-p/TestXCompleteFeatureRequests

 

KR

Vinnie

View solution in original post

Raveees
Occasional Contributor

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

How do I find my entry on that page... its so huge and couldn't see 

ebarbera
Staff

Re: Execution Plan : How to count number of groups and number of Test Items in each group / subgrou

Hi @Raveees - 

 

You can look on your profile to see your recent posts. 

 

Let me know if you still have questions.

 

Emma

cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β