Forum Discussion

Inok's avatar
Inok
Occasional Contributor
14 years ago

organizing projects/tests within the the project suite

Hello



I am evaluating TestComplete for an application which will have more than 200 testcases which should run during the nightly build proccess. I think about the structure and organization of my tests. One approach is to hold all keyword tests in one project organized with folders. This results in the first view in a well organized structure. On the other side, the folders are logical folders, the files are located in the same directory and to prevent a conflict from the file names, I had to give long filenames. 



The other approach is to split the tests into projects which contains the same structure described above but with less amount of file. But I haven't found a solution to specify the testing order of projects. Is there a way to organize the order?

Another pro for this solution is working on the tests in a team. If only one projekt exist, only one person can work at the tests.



What is the recommended way to organize such a project?

Thanks for any help!




4 Replies

  • Inok's avatar
    Inok
    Occasional Contributor
    No recomendations? Perhaps I should make a simple example of my use case:

    The application to test has logical sections:

    - Administration

    - Tools

    - DataManagement

    - Printing

    - Closing



    For each section I want to make a project. The reason is to maintained each section separately. My problem is DataManagement can only be started if Administration has been done. Printing can only be started if DataManagement is done. Closing can only be started if all are done.



    How can I specify the sequence of projects?

    Or can I specify dependencies?
  • Inok's avatar
    Inok
    Occasional Contributor
    I spend some time for analyes.



    I tried to make modifications at the project suite file (*.pjs):

    - I changed the order of the projects in the  <Node name="child list">

    - I changed the order of the projects in the <Node name="files">

    ==> but still the same order during running the tests.



     It seems TestComplete orders the project alphabetically except the default project. Thus I changed my project into

    Default

    10_Extras

    20_Tools

    ..

    90_Close



    So I can control the project order.

    I will make a change request to provide a function to set the order for the projects.




  • VLapidus's avatar
    VLapidus
    Frequent Contributor
    To move projects, drag them by mouse and drop to a needed position
  • Inok's avatar
    Inok
    Occasional Contributor
    That would be the obvious way but doesn't work in the explorer. In the mean time I got the information from the support: Context Menu of the Project Suite >  Edit > Test Items. Then drag & drop works.