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

Not able to launch IE from sample VSTS application on my system

1 Answer 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Akhilkumar Patel
Top achievements
Rank 1
Akhilkumar Patel asked on 23 Dec 2010, 01:19 AM
Hi,

I am trying to execute the webAii sample test - Helthcaredemo but it is failing(eventhough it is launching IE) with following message:
I am trying to run this from XP having IE6 installed on it.


Test method QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo threw exception:  System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. --->  System.TimeoutException: Wait for condition has timed out.

The stack trace is:
ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
ArtOfTest.Common.Win32.WindowManager.Attach(IntPtr& handle, Boolean findTabWindow, Boolean loadClr, IntPtr& hookId)
ArtOfTest.Common.Win32.WindowManager.Attach(IntPtr& handle, Boolean findTabWindow, Boolean loadClr)
ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
QuickStarts_VSTS_CS.SilverlightHealthcareSample.HealthCareDemo() in C:\Program Files\Telerik\WebAii Testing Framework 2010.3\Samples\WebAii Framework\QuickStarts_VSTS_CS\Tests\SilverlightHealthcareSample.cs: line 136

The debug trace is:
[4:01 PM] - Using: ArtOfTest.Common, Version=2010.3.1213.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[4:01 PM] - OS: Microsoft Windows NT 5.1.2600 Service Pack 3
[4:01 PM] - Locating ArtOfTest.Connector.dll
[4:01 PM] - Loading C:\Program Files\Telerik\WebAii Testing Framework 2010.3\Bin\ArtOfTest.Connector.dll
[4:01 PM] - Loading _HookProc@12

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 23 Dec 2010, 01:04 PM
Hi Akhilkumar,
    WebUI Test Studio supports IE version 7 and above. You will need to upgrade your IE to resolve the issue.
Also, once you upgrade make sure your browser is configured as described here:
http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureie7
Sometimes upgrading IE or installing Windows updates can cause IE to reset to default settings so it's important that you make sure IE is correctly configured for recording and executing test.

Let me know whether this resolves your issue!

Greetings,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Akhilkumar Patel
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or