Page 1 of 1

Second successive Ranorex OpenBrowser call fails

Posted: Mon Apr 23, 2012 11:09 pm
by lyn5000
If I call OpenBrowser twice in succession as follows with Safari (Wndows 7, Safari 5.1.5) then the second call to OpenBrowser doesn't appear to do anything.

I'm using Ranorex 3.2.3.

In this example, whether Safari is open already or not, the first url opens in a new Safari browser window but the second call to OpenBrowser appears to do nothing.

Code: Select all

Host.Local.OpenBrowser("bbc.co.uk", "SAFARI", "", false, true);
Host.Local.OpenBrowser("microsoft.com", "SAFARI", "", false, true);
If I add a delay between the OpenBrowser calls, the second call then works as expected (opens the url in a new Safari browser window).

Code: Select all

Host.Local.OpenBrowser("bbc.co.uk", "SAFARI", "", false, true);
Ranorex.Delay.Milliseconds(4000);
Host.Local.OpenBrowser("microsoft.com", "SAFARI", "", false, true);
This issue does not repo in IE9, Firefox 11 or Chrome 18.0.1025.162 m.

Re: Second successive Ranorex OpenBrowser call fails

Posted: Fri Apr 27, 2012 2:43 pm
by Support Team
Hi,

Thanks for reporting the issue, we will analyze it and contact you as soon as we know more about it.

Regards,
Markus
Ranorex Support Team