System functional testing - ideal for acceptance or regression testing. Compatibility testing - Selenium covers a Windows, Mac and Linux platforms including a wide range of web browsers.
Selenium IDE is a Firefox plugin, which includes the entire Selenium Core, allows you to record, play back, edit, and debug tests in browser. It provides the simplest introduction to Selenium and is highly recommended for beginners. You can save the tests / test suite created in xml or html format. However to run them in an automated fashion you need Selenium Remote Control which is described next.
The Selenium Remote Control allows you to develop test cases and test suites in Java (supports JUnit & NGUnit), PHP, Ruby, Python, Perl and even .NET. It is the most flexible setup but requires some development knowledge to set up and use.
Test cases developed by different languages runs in Selenium RC server and RC runs the test cases by selenium core with defined enviroments. Only one instance can be run at a time.
Test cases developed by different languages runs by hub and hub connects with selenium RC and RC called different environments to run those test cases either by simultaneously or by parallel
The web address of the web application. Test cases in a test suite The command editing area to edit commands instantly. We can take help by references which is integrated into IDE
We use ide to record tests. We use ant script to run selenium RC Then we configure cruise control to run our suite for regression and when the build fails it automatically inform us via email. It also generate a result file to that it will be easy for us to know why test fails. We also embedded our result file into cruise control that is created by selenium RC and now its easy to see the results just from the web. (we edited the cruise control web app files and read our result file using java reader and then write it)
This is the result file which is generated by the RC and we embedded that result file into the cruise control web app. It will help us to have a look at it instantly when ever it fails.
Tanvir Afzal: Selenium
by: tanvir afzal
selenium ooh so what is this? <ul><li>in simple terms, selenium is a web testing framework that runs in any browser, suited for: </li></ul><ul><li>functional testing </li></ul><ul><li>browser compatibility testing </li></ul>
keep it simple, or dig deep <ul><li>just want to try it </li></ul><ul><li>simplicity – easy to use the selenium IDE to create a single or a complete suite of tests. </li></ul><ul><li>want to know more about it </li></ul><ul><li>complete solution - go deep inside selenium to know selenium remote control & grid </li></ul>
using selenium <ul><li>tests can be written as HTML markup. </li></ul><ul><li>test cases can be written in a number of popular programming languages (Java, .NET, Perl, Python and Ruby) </li></ul><ul><li>it can be run directly in most modern web browsers. selenium can be deployed on windows, linux, and mac. </li></ul>
selenium IDE <ul><li>selenium IDE is a firefox add-on that makes it easy to record and playback tests in firefox. </li></ul>
selenium core <ul><li>selenium core tests run directly in a browser , just as real users do . </li></ul><ul><ul><li>need to copy selenium Core & tests directly into application web server </li></ul></ul>
selenium RC <ul><li>selenium remote control is a system that allows to simulate web browsers locally </li></ul><ul><li>using almost any programming language and testing framework </li></ul>
the way RC works http://selenium-rc.openqa.org/
selenium grid <ul><li>selenium grid allows several selenium remote control servers to be accessed in parallel by selenium grid server. </li></ul>
this is the way how grid works? http://selenium-grid.openqa.org/
Which tool I’ll use ?? * = experimental support is available in Selenium RC ** = theoretically possible, but not currently implemented Selenium IDE Selenium Remote Control Selenium Core Browser support Firefox Only Many All requires remote Installation No No Yes supports HTTPS/SSL Yes Yes* Yes supports multiple domains Yes Yes* No requires java No Yes No saves test results to disk No** Yes No language support Selenese Only Many Selenese Only
tell me how I can use selenium IDE? <ul><li>install selenium as a firefox plug-in </li></ul><ul><ul><li>http://selenium-ide.openqa.org/download.jsp </li></ul></ul><ul><li>in firefox browser go to </li></ul><ul><ul><li>tools > selenium IDE </li></ul></ul>
references: <ul><li>selenium main site </li></ul><ul><ul><li>http://selenium.openqa.org </li></ul></ul><ul><li>support browser, OS, programming language, testing frameworks can be found here </li></ul><ul><ul><li>http://selenium.openqa.org/about/platforms.html#browsers </li></ul></ul><ul><li>command to run RC </li></ul><ul><ul><li>java -jar selenium-server.jar -htmlSuite "*firefox" "http://www.somewhereinads.net" "E:selenium-remote-control-1.0-beta-1ads
egression-testswiad-live runksuite.html" "E:selenium-remote-control-1.0-beta-1ads
esults.html" </li></ul></ul><ul><ul><li>for more help use openqa froum </li></ul></ul>
thanks for your patience any question ?? just through on me