Upload
sqabd
View
3.698
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
by: tanvir afzal
1
selenium ooh so what is selenium ooh so what is this?this? in simple terms, selenium is a web
testing framework that runs in any browser, suited for:
functional testing browser compatibility testing
2
keep it simple, or dig keep it simple, or dig deepdeepjust want to try it simplicity – easy to use the selenium
IDE to create a single or a complete suite of tests.
want to know more about it complete solution - go deep inside
selenium to know selenium remote control & grid
3
using seleniumusing selenium tests can be written as HTML markup.
test cases can be written in a number of popular programming languages (Java, .NET, Perl, Python and Ruby)
it can be run directly in most modern web browsers. selenium can be deployed on windows, linux, and mac.
4
selenium projectsselenium projects
selenium IDE selenium core selenium RC selenium grid
5
selenium IDEselenium IDE
selenium IDE is a firefox add-on that makes it easy to record and playback tests in firefox.
6
selenium coreselenium core
selenium core tests run directly in a browser, just as real users do.
need to copy selenium Core & tests directly into application web server
7
selenium RCselenium RC
selenium remote control is a system that allows to simulate web browsers locally
using almost any programming language and testing framework
8
the way RC worksthe way RC works
http://selenium-rc.openqa.org/ 9
selenium gridselenium grid
selenium grid allows several selenium remote control servers to be accessed in parallel by selenium grid server.
10
this is the way how grid this is the way how grid works?works?
http://selenium-grid.openqa.org/ 11
Which tool I’ll use ??Which tool I’ll use ??
SeleniumIDE
SeleniumRemote Control
SeleniumCore
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
* = experimental support is available in Selenium RC** = theoretically possible, but not currently implemented 12
demodemo
13
tell me how I can use tell me how I can use selenium IDE?selenium IDE?
install selenium as a firefox plug-in http://selenium-ide.openqa.org/download.jsp
in firefox browser go to tools > selenium IDE
14
new face of IDE 1.0 beta 2
15
tell me about regressiontell me about regression
selenium ideselenium ide
antant
cruise controlcruise control
16
projects in cruise projects in cruise controlcontrol
17
Embedded result file from RC
18
references: references:
selenium main site http://selenium.openqa.org
support browser, OS, programming language, testing frameworks can be found here http://selenium.openqa.org/about/platforms.html#browsers
command to run RC java -jar selenium-server.jar -htmlSuite "*firefox"
"http://www.somewhereinads.net" "E:\selenium-remote-control-1.0-beta-1\ads\regression-test\swiad-live\trunk\suite.html" "E:\selenium-remote-control-1.0-beta-1\ads\results.html"
for more help use openqa froum
19
thanks for your thanks for your patience patience
any question ?? any question ?? just through on me just through on me
20