Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
7 years ago

Environment Manager for Running The TestComplete Tests

Has anyone using Environment Manager for running the TestComplete automated Tests  ? What is the experience ? Is it worth ?

 

Please Update 

Thanks

Nishchal

6 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    I've played with it a bit in an evaluation trial for work.  It is really pretty nifty (as is the entire CrossBrowserTesting solution).  It will take any automated test (project test item, script, keyword test, etc) and run it against a set of environments of your choice and report back.  It really is pretty cool.

     

    A few caveats:

     

    1) It's for web application testing only.  So, while it supports mobile environments, the intention is to test how an application renders in a selected browser in a particular mobile environment.  You won't be able to automate your custom mobile apps via the Environment Manager

    2) Currently, Script Extensions and custom plugins are not supported via Environment Manager.  If your projects use either of these, they won't run.

    3) I would caution at making too complicated a test via the Environment Manager.  The purpose of that feature and CrossBrowserTesting in general is not to test underlying functional code but to test how an application renders and behaves in different browsers (will an app run in Chrome, Firefox, and IE without error, for example?).  So, full regression functionality is probably not a good target test case for the Environment Manager.

     

    That's my experience with it.  So long as this is fine for you, I personally think it would be worth it.  

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      Thanks for the updates 

       

      When developing the scripts what things we need to take care of ?

       

      I need help how to get started with developing the script when running our tests in different browser in Environment manager 

       

      Thanks

      Nishchal

       

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi Nishchal,

         

        I am second to everything mentioned by tristaanogre.

        As for scripts development, nothing special (except the mentioned problem with Script Extensions) to take care of. It is expected that you will check locally how your test code works with different browsers before running it through the Environment Manager. Obviously, there is no possibility to debug test code on remote machines, so maybe you need to consider proper and descriptive logging.

        Otherwise, essentially the Environment Manager is a tool to start required browser for the required OS in the remote environment, deploy your test code there and execute tests there.