Page 1 of 1

Supported Browsers missing in Method documentation

Posted: Tue Jul 09, 2013 9:58 am
by reiniuny
In all methods which have a relation to browsers, just ie and firefox are mentiond, but as far as I know chrome and safari and so on are supported too. It would be nice to mention the supported keys/strings for the browsers somewhere. At the moment it is a bit confusing if just two browsers are mentioned, as it is not clear which strings can be used and if they are case sensitive.

Here is an example:
OpenBrowser


Which problem I'm facing too is, that the browser name is not always the same. I've to start Firefox via String "Firefox", but if I call all open WebDocuments and by

Code: Select all

Host.Local.Find<Ranorex.WebDocument>(...)
and then I try to get the name of the browser via

Code: Select all

WebDocument.BrowserName
I get the string "Mozilla" for the browser Firefox.

What I tend to do is to close just the browser I configured, but in my configuration I set "Firefox" as name - at the moment I'm not able to math this string with the string returend from WebDocument.

Re: Supported Browsers missing in Method documentation

Posted: Wed Jul 10, 2013 10:49 am
by Support Team
Hello,

Thank you for reporting this issue.
I will add it to our internal bug tracking system in order to provide a fix in one of our future releases.
Would it be possible to use 'Mozilla' for validation instead of 'Firefox' as a workaround?

Regards,
Markus (T)

Re: Supported Browsers missing in Method documentation

Posted: Wed Jul 10, 2013 10:55 am
by reiniuny
As a workaround it is OK, but it would be nice if there would be a enum or some other constans available which can be used to identify the a browser in

Code: Select all

Host.Local.OpenBrowser
as well as in

Code: Select all

WebDocument.BrowserName
and other methods identifying a browser by string.

Re: Supported Browsers missing in Method documentation

Posted: Thu Jul 11, 2013 2:21 pm
by Support Team
Hello,

Thank you for your reply.
We are working on a fix for our next release version.

Thank you.

Regards,
Markus (T)