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

IE 6 WebAii Problems.

3 Answers 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alistair
Top achievements
Rank 1
Alistair asked on 25 Feb 2011, 06:28 PM
Hi Guys,

I am currently running IE6, with the latest WebAii, and when I set the browser to InternetExplorer I get the following:
SetUp : 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
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)
at WebAiiTestClass.TestBase.TestBaseSetUp() in TestBase.cs: line 21
--TimeoutException
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For(Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.Common.WaitSync.For(Predicate`1 predicate, T target, Int32 timeout)
at ArtOfTest.Common.Win32.WindowManager.Attach(ref IntPtr handle, Boolean findTabWindow, Boolean loadClr, ref IntPtr hookId)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)

The browswer opens but sits on about:blank.

Note that I am only using the WebAii, and not the testing suite.

The same test works fine in Firefox, and I do not have access to chrome to test it.

I have all the settings set according to:

http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureie6

But still no help.

Unfortunately upgrading to IE7+ is not an option. Please any help would be greatly appreciated.

Also just incase it helps:

namespace WebAiiTestClass
{
    [TestFixture]
    public abstract class TestBase : BaseTest
    {
        protected internal SilverlightApp App { get; private set; }
 
        [SetUp]
        public void TestBaseSetUp()
        {
            var settings = GetSettings();
            settings.EnableSilverlight = true;
            settings.LogLocation = @"C:\Documents and Settings\alicross\My Documents\Dev\UI\Testing\WebAiiTestClass";
 
            Initialize(settings, NUnit.Core.TestContext.Out.WriteLine);
            Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
            ActiveBrowser.NavigateTo("http://localhost:4882/TestPage.aspx");
            App = ActiveBrowser.SilverlightApps()[0];
        }
 
        [TearDown]
        public void TestBaseTearDown()
        {
            CleanUp();
        }
 
        [TestFixtureTearDown]
        public void TestBaseFixtureTearDown()
        {
            ShutDown();
        }
    }
}

Thanks for your help guys

3 Answers, 1 is accepted

Sort by
0
Daniel Djambov
Telerik team
answered on 04 Mar 2011, 06:43 PM
Hello Alistair,

I'm sorry for the inconvenience caused by the fact we do not support IE6 anymore.

I can confirm that this problem exists with IE6 and WebAii framework. Upon upgrading IE to 7.0+ however, all NUnit tests created with our framework run correctly with IE.

What I can offer you, if this works for your use case, is to setup another environment (virtual or physical machine), which has IE7+ and run your generated NUnit tests on it.

Hope this helps,

Best wishes,
Daniel Djambov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Alistair
Top achievements
Rank 1
answered on 04 Mar 2011, 06:54 PM
Hi Daniel,

Unfortunately I need to test in IE 6, is there a way I can obtain a previous version of WebAii that works with IE6?

It would be greatly appreciated.

Thanks.

Alistair
0
Daniel Djambov
Telerik team
answered on 07 Mar 2011, 12:30 PM
Hello Alistair,

We have created for you a special case and uploaded an old version of WebAiiFramework 2010.2.830, which you can download directly from this link:

www.telerik.com\download\TestStudio\Telerik.WebAii.Framework.2010.2.830.msi


It should work in your case for executing tests with IE6 - I have tested it with sample unit test and NUnit 2.5.7 and it worked fine under IE6.

Please tell let us know if it works for your case or if you need further assistance.

All the best,
Daniel Djambov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Alistair
Top achievements
Rank 1
Answers by
Daniel Djambov
Telerik team
Alistair
Top achievements
Rank 1
Share this question
or