Supported Browsers missing in Method documentation

Bug reports.
reiniuny
Posts: 23
Joined: Thu Jul 04, 2013 10:48 am

Supported Browsers missing in Method documentation

Post by reiniuny » Tue Jul 09, 2013 9:58 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Supported Browsers missing in Method documentation

Post by Support Team » Wed Jul 10, 2013 10:49 am

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)
.
Image

reiniuny
Posts: 23
Joined: Thu Jul 04, 2013 10:48 am

Re: Supported Browsers missing in Method documentation

Post by reiniuny » Wed Jul 10, 2013 10:55 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Supported Browsers missing in Method documentation

Post by Support Team » Thu Jul 11, 2013 2:21 pm

Hello,

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

Thank you.

Regards,
Markus (T)
.
Image