does a dojo application supports all the web browsers if java script is used in it?
Take a look at Dojo 1.6 release notes.
Supported browsers:
Firefox 3.6
Safari 4/Safari 5 and Chrome 8
IE6, IE7, IE8
Opera 10.50 and later (Dojo core only)
So, not "all" browsers are supported, but the most popular ones are.
Related
Is it possible to use Dojo 1.10 on a "file:///"-served web application with IE and/or Chrome?
Firefox doesn't seem to have a problem, however, I cannot get this to work IE 10+ or any recent version of Chrome.
I would like to run my Selenium WebDriver tests on Opera, but when I had a look at the Opera driver at Selenium HQ and GitHub page, it says:
Opera Driver requires Opera 12.x and older versions
Note that OperaDriver is only compatible with Presto-based Operas up until 12.16. Blink-based Operas (15 and onwards) are not supported.
Opera is now up to version 22.0, so far beyond the maximum supported version of 12. So, my questions are: -
If there is no Opera driver for Selenium, then how does one automate Opera tests?
It seems strange to stop at version 12, even taking the underlying technology change into account. Is Opera support waning or is it that Selenium WebDriver is no longer the best tool?
Opera has just released an early beta of WebDriver for their Blink based browsers. See https://github.com/operasoftware/operachromiumdriver
To quote from the link provided:
OperaChromiumDriver can be used without extra setup on Chromium-based versions of Opera starting from version 26.
For driving Presto-based Opera browsers, refer to the OperaPrestoDriver project.
Although versions earlier than 26 aren't officially supported, the OperaChromiumDriver v. 0.1.0 works with Opera 25. On Windows using the 'binary' option in 'operaOptions' may be needed.
Download OperaDriver from here and write the following code for java:
System.setProperty("webdriver.opera.driver", "D:/Ripon/operadriver_win64/operadriver.exe");
WebDriver driver = new OperaDriver();
driver.get("https://duckduckgo.com/");
1 & 2)
There are 2 types of Opera - Java Based and Chrominium based.
The provided links are for Java based Opera.
https://github.com/operasoftware/operadriver#desktop
There is no official support for latest Opera versions.
Phantomjs is webkit based. That means of the major browsers it's really only emulating Chrome, right? Does it provide a mechanism (or is there a way to force it) to provide sufficient test coverage for other browsers, aside from wrapping it in Selenium?
No. Current PhantomJS is a version of WebKit that is roughly equivalent to Chrome 13 or Safari 5.1, but it is neither of those browsers. (Chrome and Safari behave differently too.) (BTW, PhantomJS 2.0 is hopefully going to have the webkit separately linkable, so you can use different versions.)
If you move to using CasperJS, then your same script can (usually) run with each of PhantomJS and SlimerJS, which will give you test coverage for both WebKit and Gecko (Firefox). SlimerJS also allows you to directly use a local installation of Firefox instead of the supplied Gecko engine, if you wanted to test against different Firefox versions.
Looking at Platforms Supported by Selenium the highest version of selenium supported is v 10. I am assuming this is in line with 10 being the current extended support release, v17 is the next ESF, due out on 20 Nov 2012
Firefox extended suport
Firefox release calendar
However looking at the release notes for the Selenium client driver 2.25 (18 July 12) it says "Updated supported versions of Firefox to 17"
Which page should we read? How does the Platforms Supported by Selenium page relate to the 2.2.5 release?
You should refer to CHANGELOG. Thats always the latest. Seleniumhq.org gets updated by someone manually... Which is not happening regularly I guess.
I use selenium 2.25 and I had to download to Firefox version 14 in order to get selenium to work correctly.
Other people have documented this issue but I haven't found any resources that say what versions of Firefox are supported for each version of selenium.
selenium-firefox-driver 2.25.0 not working correctly with Firefox 15
Also if you are using selenium with your web browser you are going to have to turn off automatic updates on your browser to prevent it from updating.
Here is what Google Analytics says about the popularity of different Safari versions on my website:
Safari version Visits
=========================
533.21.1 48.82%
6533.18.5 19.52%
533.19.4 8.15%
534.5 3.82%
533.20.27 3.50%
534.48.3 3.10%
531.21.10 2.43%
533.18.5 2.30%
6531.22.7 1.00%
531.9 0.89%
But these are actually WebKit versions. Is there a table somewhere to help me to translate them to Safari versions?
Wikipedia lists Safari versions with the corresponding WebKit version: http://en.wikipedia.org/wiki/Safari_version_history