Forum Discussion

loricotton's avatar
loricotton
Contributor
3 years ago

How do I include within the same project suite

I have a project suite that consists of the following projects logon - create something - close browser  different logon Validate something close browser.   the close browser project is an ad...
  • Marsha_R's avatar
    Marsha_R
    3 years ago

    >This is a government application that used for creating missions. I need to be able to create multiple missions. code is the same except for the external data file.

    This is a common usage of tests within a project. See the example here. I would set your tests up like the "webstore" example in the first screenshot. 

    https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/project-suites.html

     

     

    >I need to be able to use different user roles so I need to close the browser in between logins.

    That's not a problem. I see that in your test list.

     

     

    >I don't want the browser to be included in the test project.

    Do you mean that you don't want the browser to be hard coded in the test?

    If you want to run the same dataset on each browser, then look at setting up cross-browser testing. This will be the easiest way.

    https://support.smartbear.com/testcomplete/docs/app-testing/web/general/cross-browser/creating.html

    If you want to run on different browsers depending on what the data is, then I would include the browser name in your data. You can then use that variable for opening and closing the browser.