Execution Plan : How to count number of groups and number of Test Items in each group / subgroup ?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
Solved! Go to Solution.
- Labels:
-
Test Run
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Anthony, But my query is how to find the total count of test items from those lists?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I believe you are looking for the ItemCount Property on the TestItem object: https://support.smartbear.com/testcomplete/docs/reference/project-objects/project/testitem/itemcount...
TestItem Object: https://support.smartbear.com/testcomplete/docs/reference/project-objects/project/testitem/index.htm...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I find my entry on that page... its so huge and couldn't see
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Raveees -
You can look on your profile to see your recent posts.
Let me know if you still have questions.
Emma
