This is a migrated thread and some comments may be shown as answers.

Deployment: Running tests without Test Studio Installation

5 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jochen
Top achievements
Rank 1
Jochen asked on 28 Aug 2014, 10:19 AM

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


5 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 29 Aug 2014, 11:13 AM
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!
0
stephly
Top achievements
Rank 1
answered on 25 Jan 2016, 11:22 AM

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

0
Boyan Boev
Telerik team
answered on 25 Jan 2016, 02:25 PM
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!
0
stephly
Top achievements
Rank 1
answered on 27 Jan 2016, 04:36 AM

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. 


0
Boyan Boev
Telerik team
answered on 29 Jan 2016, 03:07 PM
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!
Tags
General Discussions
Asked by
Jochen
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
stephly
Top achievements
Rank 1
Share this question
or