Running web tests without having Testing Framework installed

2 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Jun 2012

    Posted 29 Apr 2013 Link to this post

    Hello,

    I use NUnit to run tests using Test Framework methods. On a local machines tests work fine when I run them via resharper or nunit-console-x86.exe I have testing framework installed on my local machine.

    I also want to run tests to CI machine without installation of Testing Framework. There will be multiple test projects created at a different time. I want each project to have its own set of test framework dlls for two reasons:
    - to avoid potential compatibility problems of testing frameworks versions in a future.
    - to let developers just get a copy of the test project and be able to run tests without installing anything.

    I tried to copy all ArtOfTest.*.dll and Telerik.TestingFramework.Interop.dll from program files to my project folder. However, when I lunch tests on a CI machine without testing framework installed it opens IE with a blank page and shows error dialog with "RunDLL" title and "Error loading ArtOfTest.Connector.dll The specified module could not be found." text.

    Is it possible to run NUnit tests which use testing framework without installing testing framework and just by copying framework's dll to a project folder?
  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 02 May 2013 Link to this post

    Hello Alex,

    I am sorry but no this is not possible. The Telerik Testing Framework is more than just a set of DLL's. It is also a set of browser extensions for executing tests in the browser. These extensions must be installed by our installer for them to be correctly registered with the browser. We also add DLL's to the GAC which are required during test execution.

    Of course this also means it is not possible to try to have two versions of the Testing Framework at the same time.

    Regards,
    Cody
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top