Deployment: Running tests without Test Studio Installation

6 posts, 0 answers
  1. Jochen
    Jochen avatar
    1 posts
    Member since:
    May 2014

    Posted 28 Aug 2014 Link to this post


    We like to run our tests on machines, where the Test Studio is not installed. Therefore we are deploying our dlls and all Test Studio dlls in the execution folder. When a test starts the Internet Explorer gets started and appears but the test-procedure does not continue, it fails. In the debugger we see, that the process times out in "Manager.LaunchNewBrowser();" ...

    Everything else the same, just the Test Studio installed on the machine, the test succeeds...

    Could you please give us some advice, what needs to be done, to run tests on a machine, where Test Studio is not installed?


    The call stack:

    Result Message: Initialization method DMS.GuiTest.PortfolioCRUDTest.TestInitialize threw exception. System.TimeoutException: System.TimeoutException: Wait for condition has timed out.
    Result StackTrace:
    at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
       at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
       at DMS.GuiTest.DMSBaseTest.TestInitialize() in y:\DMS\_trunk\Client\DMS.GuiTest\DMSBaseTest.cs:line 54
       at DMS.GuiTest.PortfolioCRUDTest.TestInitialize() in y:\DMS\_trunk\Client\DMS.GuiTest\PortfolioCRUDTest.cs:line 18


  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 29 Aug 2014 Link to this post

    Hi Jochen,

    Thank you for contacting us.

    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.

    Thank you for your understanding.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. stephly
    stephly avatar
    19 posts
    Member since:
    Dec 2015

    Posted 25 Jan Link to this post

    Hi , 

    I have the same problem mentioned above. The process times out in "Manager.LaunchNewBrowser();" when i run from a different system. I have .net4.6 and telerik test studio installed in the system. And i can see Telerik related DLLs in "C:\Windows\Microsoft.NET\assembly\GAC_MSIL". I have not installed VS in this particular system. What i could be missing. 

    Thanks,

    Stef

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 25 Jan Link to this post

    Hello Stephly,

    Thank you for contacting us.

    In order to assist you best I need more detailed information. The initial issue in this thread was about system which does not have Test Studio installed.

    What is your case? Have you installed Test Studio on your machine?

    How do you execute your test? Is it a recorded test or a coded one (unit test)?

    Please elaborate a bit more on your scenario so I can assist you further.

    Hope to hear from you soon. 

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. stephly
    stephly avatar
    19 posts
    Member since:
    Dec 2015

    Posted 26 Jan Link to this post

    We are running Silverlight tests through NUnit on Internet Explorer and we have a test where it navigates to the Webpage and executes a command to take the Screenshot. The webpage is hosted on a localhost. We are creating a setup project which will have an exe file which calls all these test cases. If i install this setup project on my development machine and runs the exe as an administrator the tests are passed. But if i install the same setup project in a new machine (VM) which has telerik Teststudio, .net 4.6 , silverlight installed, the command times out at the line                " Manager.LaunchNewBrowser(BrowserType.InternetExplorer); ". Please note that i have not installed VS in this new machine. My requirement is i should be able to run these test cases without VS. I'll attach a copy of how the installed folder looks like.

    Telerik version is 152.9.23.0. 


  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 29 Jan Link to this post

    Hi Stephly,

    This is a duplicate of this thread.

    Let's continue the discussion there.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top