version 2010.3 xxx execution client can't loaded

16 posts, 0 answers
  1. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 13 Dec 2010 Link to this post

    got exception:
    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.
    13/12/2010 1:52:52 PM--   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()

    try the old version 2010.2.830 ... can see the add-on mscoree.dll

    but with version 2010.3.XXX , the add-on is gone.

    please help for the issue.
  2. Keaegan
    Admin
    Keaegan avatar
    126 posts

    Posted 15 Dec 2010 Link to this post

    Hello Allan,

    As of the Q3 release the add-ons are no longer used, so you will no longer see it appear in the described location. Please check the following on your test:

    • If you are running this on a server, please review our Video Blog on the subject.
    • If you are using a 64-bit version of Windows, please do the following:
      1. Load the project in VS
      2. Right-click the test project that contains the test
      3. Choose properties
      4. Click the Build tab
      5. Change Platform Target: from Any CPU to x86
      6. Save the changes and re-test execution

      This will make sure it is not launching the 64-bit version of IE (which we are not compatible with).

    • If the above, does not help, please do the following:
      1. Reset IE to default settings
      2. Re-configure IE per our documented settings (click the + on the left column next to Configure your browser, then choose your version of the browser to see configuration settings.

    Please let us know if you are still experiencing issue after doing the above..

    All the best,
    Keaegan
    the Telerik team

    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  3. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 05 Jan 2011 Link to this post

    Thanks for the instruction! However it still not working , the exception I got is :

    Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
    05/01/2011 2:42:06 PM--   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 iQtest.SilverlightUtility.iBrowser.launchWebApp(String url, String BrowserTypeString, String Size) in C:\myDeV\iQtest\iQtest\SilverlightUtility\SilverlightUtility.cs:line 1833

    Which I am using

    Manager.LaunchNewBrowser(

    BrowserType .InternetExplorer ); or

    Manager.LaunchNewBrowser(

    );

    all has problem .
    my code like :


    public class iBrowser : BaseTest
    {
        //private SilverlightApp sApp;
        private Settings Settings = GetSettings();
        private FrameworkElement BusyIndicator;
     
        /// <summary>
        /// init browser
        /// </summary>
        public iBrowser()
        {
        }
     
        void InitializeBrowserSettings(String BrowserTypeString)
        {
            try
            {
                switch (BrowserTypeString.ToLower())
                {
                    case "iexplore":
                        Settings.DefaultBrowser =
                        BrowserType.InternetExplorer;
                        break;
     
                    case "firefox":
                        Settings.DefaultBrowser =
                        BrowserType.FireFox;
                        break;
     
                    case "safari":
                        Settings.DefaultBrowser =
                        BrowserType.Safari;
                        break;
     
                    case "chrome":
                        Settings.DefaultBrowser =
                        BrowserType.NotSet;
                        break;
     
                    default:
                        iLog.Errorlog("Wrong Browser type");
                        break;
                }
                iLog.log("Browser Type: " + BrowserTypeString);
                Settings.EnableSilverlight =
                true;
     
                //Settings.Browser = BrowserExecutionType.InternetExplorer;
                Settings.ClientReadyTimeout = 50000;
                Settings.ExecuteCommandTimeout = 60000;
                Settings.ExecutionDelay = 100;
                Settings.WaitCheckInterval = 500;
                Settings.SimulatedMouseMoveSpeed = 0.5f;
                Settings.EnableUILessRequestViewing =
                false;
     
                Settings.QueryEventLogErrorsOnExit =
                false;
     
                Settings.EnableScriptLogging =
                false;
     
                Settings.AnnotateExecution =
                true;
     
                Settings.AnnotationMode =
                AnnotationMode.All;
     
                //Settings.BaseUrl = "http://www.google.ca/";
     
                Initialize(Settings,
                null);
     
                Settings.UnexpectedDialogAction =
                UnexpectedDialogAction.DoNotHandle;
                iLog.log("Initialize finished");
            }
     
            catch (Exception ex)
            {
                iLog.Errorlog("Initialize failed!");
                iLog.Errorlog(ex.Message);
                iLog.Errorlog(ex.StackTrace);
            }
        }
     
        /// <summary>
        /// close function
        /// </summary>
     
        public void close()
        {
            base.CleanUp();
        }
     
        /// <summary>
        /// initial Web browser , attach to application
        /// </summary>
        /// <param name="url"></param>
        /// <param name="BrowserTypeString" ></param>
        /// <param name="Size" ></param>
        public void launchWebApp(String url, String BrowserTypeString, String Size)
        {
            InitializeBrowserSettings(BrowserTypeString);
            try
            {
                if (Manager.Current.Browsers.Count > 0)
                {
                    ActiveBrowser.NavigateTo(url);
                }
                else
                {
                    this.killBrowser();
                    Manager.LaunchNewBrowser(
                    ); //Manager.LaunchNewBrowser(BrowserType .InternetExplorer );
                    switch (Size.ToLower())
                    {
                        case "minimize":
                            ActiveBrowser.Window.Minimize();
                            break;
     
                        case "maximize":
                            ActiveBrowser.Window.Maximize();
                            break;
     
                        default:
                            break;
                    }
                    ActiveBrowser.NavigateTo(url);
                }
                //ActiveBrowser.Window.Maximize();
                SilverlightUtil.iActiveBrowser = ActiveBrowser;
                SilverlightUtil.iActiveBrowser.AutoDomRefresh = true;
                SilverlightUtil.iActiveBrowser.AutoWaitUntilReady = true;
            }
            catch (Exception ex)
            {
            }
        }
    }


  4. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 06 Jan 2011 Link to this post

    Build Standlone utility by using Webii framework, which the running machine without any Visual studio installed, also it running at Windows 2003 R2 32bit.

    However on deploy machine which is WinXP + Visual 2008 working fine.



    Please help.

    Thanks,

    Update : I think the issue only happen on Windows 2003 OS , I tried my uitility on Windows 2008 R2 it working fine.
  5. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 10 Jan 2011 Link to this post

    Can someone take look this issue, thanks a lot.
  6. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 11 Jan 2011 Link to this post

    Hi Allan,

    I apologize for the delay getting back to you. I took your code and ran it without any problems, though I had to guess and some of the utility functions. 

    this.killBrowser(); - is not defined in your code sample

    Have you configured your server per this documentation?

    Regards,
    Cody
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  7. Brian Winfield
    Brian Winfield avatar
    3 posts
    Member since:
    Jan 2006

    Posted 26 Apr 2011 Link to this post

    I'm running into the same issue.  I have a standalone program.  It ran on Windows 2008 and Windows 7 just fine, but it's not running on Windows 2003.  It's throwing a

    ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure intnernet Explorer is propery installed and you are able to launch it.


    The browser comes up but it doesn't navigate to the website.  Enhanced Security is turned off and I ran through all the server configs in the documentation.  It seems to be related to windows 2003 R2
  8. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 29 Apr 2011 Link to this post

    Hello Brian Winfield,

    I am sorry you are running into this problem. Which version of IE are you using? We only work with IE7 and above. What IE add-on's do you have? There are a few add-ons that are known to conflict with Test Studio. As an experiment try disabling all IE add-ons and see if that fixes the problem. If it does you can then re-enable them one at a time to determine which one is the culprit.

    Best wishes,
    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
  9. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 03 May 2011 Link to this post

    by disable all add-ons not solve the problem.

  10. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 04 May 2011 Link to this post

    Hello Allan Wei,

    Which version of IE are you using on your Windows 2003 R2 machine?

    All the best,
    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
  11. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 27 May 2011 Link to this post

    IE8 + Windows 2003 R2
  12. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 01 Jun 2011 Link to this post

    Hi Allan Wei,

    We need to get some additional diagnostic information to continue troubleshooting this problem. Would you please install Test Studio on the problem machine (you can run it in Trial mode without having to purchase it). Then follow these steps:

    1) Create a test project
    2) Add a web test to the project
    3) Open the web test (you don't actually have to add any test steps to it)
    4) Click the Help tab
    5) Click Record

    This will cause Test Studio to try to launch our recorder in a diagnostic mode. A Recording Output window should open and log the steps we take to launch IE and connect to it. I need the output from that log window.

    Best wishes,
    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
  13. John
    John avatar
    8 posts
    Member since:
    Oct 2010

    Posted 28 Jul 2011 Link to this post

    Is there a fix for this? Something is majorly broken with the latest version of Webaii. I'm using IE8 on Windows 7 with the below code:
                var settings = GetSettings();
     
                settings.Web.EnableSilverlight = true;
                settings.Web.KillBrowserProcessOnClose = true;
                settings.Web.DefaultBrowser = BrowserType.InternetExplorer;
     
                //settings.ExecutionDelay = 1000;
     
                Initialize(settings, NUnit.Core.TestContext.Out.WriteLine);
     
                Manager.LaunchNewBrowser();
              //  Manager.LaunchNewBrowser(BrowserType.Chrome);
                ActiveBrowser.NavigateTo("www.google.com");

    Any news?

    PS Any chance of getting previous versions of webaii (I've download the latest today) as I think these worked ok? If so please can you send the URL. Thanks.
  14. Allan
    Allan avatar
    8 posts
    Member since:
    Jun 2010

    Posted 28 Jul 2011 Link to this post

    Hi,

    I found the problem what I was faced , and the reason is missing "Primary Interop Assemblies" which I didn't install VS on the execution machine.

    Solution : copy "Primary Interop Assemblies" from other machine which has VS installed and GAC it, problem solved.

    BTW, I am using latest Webii now, it smooth. :)
    Thanks guys for the support.

    All the best.

    Allan
  15. John
    John avatar
    8 posts
    Member since:
    Oct 2010

    Posted 29 Jul 2011 Link to this post

    Hi,
      Thanks for the quick reply Allan, but this is happening on a windows 7 dev machine with vs2010 fully installed.

    @Telerik: any thoughts?

      John
  16. John
    John avatar
    8 posts
    Member since:
    Oct 2010

    Posted 29 Jul 2011 Link to this post

    Ok, this is working after I revisited the above posts and changed the targets. I could have sworn I did this yesterday!

    Thanks all for your help.

    Perhap I should RTFD :-)
Back to Top