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

System Timeout Exception when reopening browser

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 13 Mar 2013, 04:17 AM
I am trying to run a series of tests that make up an entire test case regarding a login screen (username no password, password but no username etc etc) so that I can test the correct messages back to the user.

I have several individual tests that are working when run as individuals, however when I try and run them in sequence (with nUnit) I get a timeout exception when trying to get the active browser for the second test (at the moment only trying with two tests).

Below is the trace that I get.

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 AutoTestLibrary.MattLoginTest.TestInitialize() in C:\Repos\osmotion\autotester\AutoTestLibrarySAM\MattLoginTest.cs:line 93

We are using Telerik Test Framework 2012.2.1420.0
This is in Firefox 19.0.2 but also occurs in Chrome 25.0.1364.152 m
When running with IE10 it does not load the page ever even if just running a single test on its own

OS is Windows 8 Enterprise

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 13 Mar 2013, 04:11 PM
Hello Matthew,

I am sorry to hear you are running into this problem.

If you haven't done so already, please configure your browsers as seen in here:

- Internet Explorer
- Chrome
- Firefox
- Safari

In order to assist you best please give us some more additional information:

1. It seems this is not the entire log. Please send us the entire trace log for the issue. 

2. Please record a Jing video demonstrating the entire process, so we can better understand what is happening?

3. Provide us with a copy of your test and access to your application so we can reproduce the issue on our end and give you a solution.

Thanks for helping us advise you.


Kind regards,

Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Matthew
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or