| || |
How to organize test cases in TC?
We plan to automate a web application with TestComplete from scratch. I am wondering how to organize the test cases better. For example, I may have 30 test cases for one feature area. I know we may put all the test cases (or test methods) in one single file. If doing so, can we flexibly select and execute some of the test cases from the tree? It appears to me we have to run all the test cases in the file.
Previously, I used Visual Studio unit testing framework. Since it has attributes to describe each test method (or test case), then all the names of the test cases can be organized in a test list view, which is very easy to execute selected test cases as I want. I am wondering if we can do it similarly in TestComplete? or any best practice we could follow to make the test automation project much easier for maintenance in future.
Re: How to organize test cases in TC?
Each TC project has an individual set of test items which you can use to structure your tests and run them in the needed order. Also, this allows selecting which tests to run. See the "Tests and Test Items" help topic for details.