TestSwarm does not recognize your browser (Firefox v15 for Linux) #227

Closed
chrisbenseler opened this Issue Sep 4, 2012 · 7 comments

Comments

Projects
None yet
4 participants
browscap: Array ( [Platform] => Linux [Browser] => Firefox [Version] => 15.0 [MajorVer] => 15 [MinorVer] => 0 )
User-Agent string: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0
Member

Krinkle commented Sep 4, 2012

As you can see, it is recognized just fine.

Add it to your browserSet if you want to test for it.

The default browserSet is outdated, and is just a sample. There is no need for us to keep updating it with each browser release. The browscap parser is auto-updating and recognizes new browsers automatically. The only thing that doesn't auto-update is your configuration. The browserSet configuration to be exact.

It is recommended to have your own browserSet configuration (instead of using the default), so you know what browsers you want to test for (since we don't decide what audience you have and what browsers your application needs testing in).

For example.

--- testswarm.json
{
    "browserSets": {
        "iCareAboutTheseBrowsers": [
            "Chrome|21",
            "Firefox|15",
            "IE|9",
            "IE|10",
            "Opera|12|0",
            "Safari|5|1"
        ]
    }
}

And when submitting jobs use that browserSet name.

Krinkle closed this Sep 4, 2012

Sorry, I just followed up instructions on the main Testswarm page.

Member

Krinkle commented Sep 4, 2012

Ah, I see what you mean. The phrasing is confusing. Let me correct that.

What it should say "This swarm is not configured to test in your browser. Please join with one the below browsers.".

hi guys,
if i use the Example Code above i got this Error:

TestSwarm Fatal: Invalid browser ID "Safari|6|0" in browser set "iCareAboutTheseBrowsers"!

What is the correct Syntax for the Browser ID?

Contributor

s-a commented Sep 16, 2012

I have the same problem as pharmaline.

Contributor

s-a commented Sep 16, 2012

Well, I just hacked this out.

  • open ./config/useragents.ini
  • add you missing browser entry

In my case

[Chrome|21]
displaytitle = "Chrome 21"
displayicon  = "chrome"

yupp that`s it ;-)

@Krinkle Krinkle added a commit that referenced this issue Sep 17, 2012

@Krinkle Krinkle Update user agents
Issues:
* Fixes #226
* Closes #227
5592b86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment