Multibrowser test

5 posts, 0 answers
  1. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 05 May 2010 Link to this post

    I want to test something in two separate browsers, and this simple test case fails:

          Manager.LaunchNewBrowser(BrowserType.InternetExplorer, true);
          Browser ie1 = Manager.ActiveBrowser;
          Manager.LaunchNewBrowser(BrowserType.InternetExplorer, true);
          Browser ie2 = Manager.ActiveBrowser;      
          // now is Manager.Browsers.Count == 1 !!?!
         
          Assert.AreNotEqual(ie1.ClientId, ie2.ClientId, "Nije startao drugu instancu browsera !");

    Only one IE is started, my setup:

    x64 Windows 7, IE is started as 32 bit (test project is set to x86)
    ArtOfTest version : 2.0.9.0
    Telerik.WebAii version : 2010.1.216.20


  2. Missing user
    Missing user avatar

    Posted 05 May 2010 Link to this post

    Hi Antonio,

    Thanks for the post and question, and for your trial of WebUI Test Studio.

    I tried the code you posted and it seemed to work for me in the latest version. So on top of the IE instance that is launched by WebUI, you are launching 2 other instances of IE?

    Typically in WebUI, only one browser is launched at one time for a test unless popups are launched. If you decide to launch multiple browsers in one test, you would need to balance which browser is being used for the test steps in any one sequence.
     
    So if you would like to continue with this type of testing, please try Manager.LaunchNewBrowser(BrowserType.InternetExplorer). The true arguement may be causing timeouts depending upon how long the ClientReadTimeout property is set to in the Manager.Settings object.

    You can also try updating to the latest WebUI versions here. If you decide to update, please uninstall the previous WebUi version for the Telerik Start Menu shortcut using the uninstall WebUI option.

    Also let us know if you are using a version of Windows and IE other than the English (US) version.

    Best wishes,
    Nelson Sin
    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.
  3. Missing user
    Missing user avatar

    Posted 10 May 2010 Link to this post

    Hi again Antonio,

    Just wanted to check back with you on the scenario you are trying to test. Please feel free to reply back with what type of testing you are looking to do and we can work on a way to accomplich your testing goals.

    Regards,
    Nelson
    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. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 11 May 2010 Link to this post

    Hi Nelson, sorry for late answer, I don't have time right now to deal with this issue. I will get back to you later.
  5. Missing user
    Missing user avatar

    Posted 11 May 2010 Link to this post

    Hello again Antonio,

    Thanks for the reply back. Let us know when you are available to work on this and we'd be happy to help out with the testing scenario. 

    Kind regards,
    Nelson
    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.
Back to Top