Second successive Ranorex OpenBrowser call fails
Posted: Mon Apr 23, 2012 11:09 pm
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.
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).
This issue does not repo in IE9, Firefox 11 or Chrome 18.0.1025.162 m.
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);
Code: Select all
Host.Local.OpenBrowser("bbc.co.uk", "SAFARI", "", false, true);
Ranorex.Delay.Milliseconds(4000);
Host.Local.OpenBrowser("microsoft.com", "SAFARI", "", false, true);