selenium
DESCRIPTION
besic information about seleniumTRANSCRIPT
![Page 1: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/1.jpg)
by: tanvir afzal
1
![Page 2: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/2.jpg)
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
![Page 3: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/3.jpg)
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
![Page 4: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/4.jpg)
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
![Page 5: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/5.jpg)
selenium projectsselenium projects
selenium IDE selenium core selenium RC selenium grid
5
![Page 6: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/6.jpg)
selenium IDEselenium IDE
selenium IDE is a firefox add-on that makes it easy to record and playback tests in firefox.
6
![Page 7: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/7.jpg)
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
![Page 8: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/8.jpg)
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
![Page 9: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/9.jpg)
the way RC worksthe way RC works
http://selenium-rc.openqa.org/ 9
![Page 10: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/10.jpg)
selenium gridselenium grid
selenium grid allows several selenium remote control servers to be accessed in parallel by selenium grid server.
10
![Page 11: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/11.jpg)
this is the way how grid this is the way how grid works?works?
http://selenium-grid.openqa.org/ 11
![Page 12: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/12.jpg)
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
![Page 13: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/13.jpg)
demodemo
13
![Page 14: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/14.jpg)
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
![Page 15: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/15.jpg)
new face of IDE 1.0 beta 2
15
![Page 16: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/16.jpg)
tell me about regressiontell me about regression
selenium ideselenium ide
antant
cruise controlcruise control
16
![Page 17: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/17.jpg)
projects in cruise projects in cruise controlcontrol
17
![Page 18: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/18.jpg)
Embedded result file from RC
18
![Page 19: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/19.jpg)
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
![Page 20: Selenium](https://reader035.vdocuments.site/reader035/viewer/2022062617/54bc40ae4a7959c16c8b45df/html5/thumbnails/20.jpg)
thanks for your thanks for your patience patience
any question ?? any question ?? just through on me just through on me
20