Second successive Ranorex OpenBrowser call fails

Ranorex Studio, Spy, Recorder, and Driver.
lyn5000
Posts: 50
Joined: Mon Feb 13, 2012 5:52 pm

Second successive Ranorex OpenBrowser call fails

Post by lyn5000 » 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.

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Second successive Ranorex OpenBrowser call fails

Post by Support Team » Fri Apr 27, 2012 2:43 pm

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