IE 6 WebAii Problems.

4 posts, 0 answers
  1. Alistair
    Alistair avatar
    2 posts
    Member since:
    Jan 2011

    Posted 25 Feb 2011 Link to this post

    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

  2. Daniel Djambov
    Admin
    Daniel Djambov avatar
    87 posts

    Posted 04 Mar 2011 Link to this post

    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!
  3. Alistair
    Alistair avatar
    2 posts
    Member since:
    Jan 2011

    Posted 04 Mar 2011 Link to this post

    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
  4. Daniel Djambov
    Admin
    Daniel Djambov avatar
    87 posts

    Posted 07 Mar 2011 Link to this post

    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!
Back to Top