Monday 26 August 2013

Difference between Selenium IDE, Selenium RC, Selenium Webdriver

Selenium IDESelenium RCSelenium Web-driver
Only works on Mozilla FirefoxWorks on almost all browsers.Does not work on latest version of Firefox/IEWorks on latest versions of almost all browsers - Firefox, IE(6,7,8), Opera, Chrome
Record and play/run toolNo Record and runNo Record and run
No server required to startServer is required to startNo server required to start
Core engine is JavaScript basedCore engine is JavaScript basedInteracts natively with browser application
Very simple to use. If using User extensions, you require knowledge on java script which makes the work a little bit tough.Its a simple and small APIComplex and a bit large API as compared to RC
Not at all object orientedLess Object oriented APIPurely Object oriented API
Cannot move mouse with itCannot move mouse with itCan move mouse cursor
Full xpaths have to be appended with 'xapth=\\' syntaxFull xpaths have to be appended with 'xapth=\\' syntaxNo need to append 'xpath=\\'
No ListenersNo ListenersImplementation of Listeners is provided
Cannot test iPhone/Android applicationsCannot test iPhone/Android applicationsCan test iPhone/Android applications
Cannot test iPhone/Android applicationsCannot test iPhone/Android applicationsCan test iPhone/Android applications

Thursday 4 July 2013

About Selenium

What is Selenium?

Selenium automates browsers. That's it. What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.