Test Execution Client

8 posts, 0 answers
  1. Jeff
    Jeff avatar
    2 posts
    Member since:
    Nov 2010

    Posted 15 Nov 2010 Link to this post

    UIAutomation.WebAiiNUnitTest1.SampleWebAiiTest:
    System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. Also make sure that WebAii Test Execution client is properly installed. Check Tools->Manage Add-ons.
      ----> System.NullReferenceException : Object reference not set to an instance of an object.

    What is the Test Execution client and how do I install it?
  2. Qwizdom
    Qwizdom avatar
    8 posts
    Member since:
    Mar 2010

    Posted 15 Nov 2010 Link to this post

    I have the same exact problem:

    System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. Also make sure that WebAii Test Execution client is properly installed. Check Tools->Manage Add-ons.
      ----> System.NullReferenceException : Object reference not set to an instance of an object.

    And this is just with the sample NUnit SampleWebAiiTest.
    This error is thrown when calling Manager.LaunchNewBrowser(BrowserType.InternetExplorer);

    The tests executes as expected with Firefox and Chrome. 
    I also noticed that the WebUI Test Execution Client extension was clearly installed on Firefox,
    but that extension is missing in my IE 8

    I've tried uninstalling/reinstalling WebAii framework,
    I've configured IE 8 as outlined here, and uninstalled/reinstalled once more, and still getting the same error.

    Is there anyway I can install this WebAii Test Execution client for IE, because I've even noticed that when browsing the installation folders (C:\Program Files (x86)\Telerik\WebAii Testing Framework 2010.3\Browser Extensions) I noticed that there were sub folders for Chrome, Firefox, and Safari...but no IE!
  3. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 17 Nov 2010 Link to this post

    Hi Qwizdom and Jeff,

    Are you both using our latest Q3 release? We changed the way we connect and control IE in that release. There isn't an execution client to install any longer... you won't see it appear in the Add-ons list now.

    What OS are you using? If it's a server edition, you also need to follow these instructions. Are you both trying to use IE8? Do you have any old ArtOfTest products still installed? There may be a conflict with multiple versions installed at the same time.

    Greetings,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Qwizdom
    Qwizdom avatar
    8 posts
    Member since:
    Mar 2010

    Posted 19 Nov 2010 Link to this post

    I JUST solved the issue.

    To answer your question, yes I am using the latest Q3 release on a Windows 7 64bit edition.

    SOLUTION:

    When I created a class library for my NUnit tests, I had it set to target "Any CPU"
    I simply changed it to target x86 and everything is golden.

    I hope this helps you too Jeff!
  5. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 20 Nov 2010 Link to this post

    Hello Qwizdom,

    Thank you for the update! Now it makes sense. With it compiled for "Any CPU" it was probably trying to launch the 64 bit version of IE which we admit we're not compatible with. Excellent discovery!

    Kind regards,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Yogesh
    Yogesh avatar
    11 posts
    Member since:
    Jan 2011

    Posted 20 Jan 2011 Link to this post

    Running Internet Explorer from Windows 7 64 bit using WebAii test case written using NUnit framework.

    Well guys, I found one more solution.

    You can build your solution with AnyCPU or Mixed platform. But what you should do is not to launch standard NUnit program from shortcut but use nunit-x86.exe (or nunit-console-x86.exe if you wish to run from Command prompt) located often at C:\Program Files (x86)\NUnit 2.5.9\bin\net-2.0 to luanch NUnit. And now try to run your test and it will launch Internet Explorer.

    Atleast its working on my machine which is Windows 7 64 bit with 64 bit Internet Explorer.

    Do try it and let us know.

    Best Regards !

    / Yogesh

    P.S. This is my IE detailed information

    USER_AGENT: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8; .NET4.0C; .NET4.0E)
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 21 Jan 2011 Link to this post

    Hello Jeff,

    Thank you for the info! We'll have to put that into a KB article.

    Regards,
    Cody
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  8. Yogesh
    Yogesh avatar
    11 posts
    Member since:
    Jan 2011

    Posted 24 Jan 2011 Link to this post

    you are welcome

    / Yogesh
Back to Top