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

Multibrowser test

4 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Antonio Bakula
Top achievements
Rank 1
Antonio Bakula asked on 05 May 2010, 12:41 PM
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


4 Answers, 1 is accepted

Sort by
0
Missing User
answered on 05 May 2010, 08:11 PM
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.
0
Missing User
answered on 10 May 2010, 10:38 PM
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.
0
Antonio Bakula
Top achievements
Rank 1
answered on 11 May 2010, 03:26 PM
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.
0
Missing User
answered on 11 May 2010, 03:41 PM
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.
Tags
General Discussions
Asked by
Antonio Bakula
Top achievements
Rank 1
Answers by
Missing User
Antonio Bakula
Top achievements
Rank 1
Share this question
or