Completed
Last Updated: 14 Jan 2015 14:30 by ADMIN
ADMIN
Cody
Created on: 17 Sep 2014 13:38
Type: Bug Report
0
Coded step cannot launch FF when test started in IE
1) Use this code in a coded step
Manager.LaunchNewBrowser(BrowserType.FireFox);
2) Run the test using IE as default browser

Expected: IE to launch, then FF to launch and the test to pass
Actual:
'9/17/2014 8:35:59 AM' - 'Fail' : 1. [Two_Browsers_CodedStep] : Launch FF
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Two_Browsers_CodedStep] : Launch FF'.
InnerException:
System.TimeoutException: Wait for condition has timed out
   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(BrowserType browserToLaunch)
   at TestStudioProject3.Two_Browsers.Two_Browsers_CodedStep() in E:\Users\Dad\documents\visual studio 2010\Projects\TestStudioProject3\TestStudioProject3\Two Browsers.tstest.cs:line 58
1 comment
ADMIN
Daniel Djambov
Posted on: 14 Jan 2015 14:30
Telerik: this is a specific scenario and due to technical limitations is considered as designed issue and will not be changed at this point. If a a strong user scenario argument is requiring it, we can reconsider in future.