SlideShare a Scribd company logo
1 of 27
Selenium Test Automation Tool

23/02/2013

Selenium Open Source Test Automation Tool

1
Over View of Seminar
 Open Source & Test Automation
 Generations of various Framework & Scripting techniques
 What is Selenium
 Benefits of Selenium
 Browser, Operating Systems & Languages Support
 History of Selenium & Seleniumhq.org
 Selenium IDE, RC, WebDriver & Grid
 Why choose Selenium?
 Growing importance of Selenium
 Integration with Java and .NET
 Demo of Automation to http://www.nie.ac.in/
 Question & Answers
23/02/2013

Selenium Open Source Test Automation Tool

2
Open Source Software
Open Source Software (OSS) is computer software with it Source code made
available & licensed with an open source license in which the copyright holder
provides the rights to study, change & distribute the software to anyone &
for any purpose.

Test Automation
Test automation is the use of Special Software to control the execution of tests
and the comparison of actual outcomes to predicted outcomes.

Framework
A framework is an integrated system that sets the rules of automation for a
specific product

23/02/2013

Selenium Open Source Test Automation Tool

3
Generations of Various Framework & Scripting techniques
1st Generation: Linear – Procedural code, possibly generated by tools, such as record
& playback scripting.
2nd Generation: Structured – Use control structures, if-else, switch, for, while
conditions / statements.
3rd Generation: Data driven – Test script data persist outside the script in DB,
spreadsheet, cvs, etc.
4th Generation: Keyword driven – Test script instructions / statements persist in
spreadsheet, property files.
5th Generation: Hybrid – two or more of the patterns above are user, its also called as
script less automation (less scripting)

23/02/2013

Selenium Open Source Test Automation

4
What is Selenium
 Selenium is an open source testing tool for automating web based applications.
 It can automate only web based applications.
 It works on multiple browsers and multiple operating systems.
 Helpful to distribute/scale your test cases across multiple platforms.
 Being open source and very strong in nature, demand for this tool is
increasing.
Components of Selenium





Selenium IDE
Selenium 1 (Remote Control)
Selenium 2 (WebDriver)
Selenium Grid

23/02/2013

Selenium Open Source Test Automation Tool

5
Benefits of Selenium
 Open source
 Works on multiple browsers
 Works on multiple Operating Systems
 Supports many languages for scripting
 Supports to tests Ajax Applications, Flash Applications & Database Testing
 Multiple test frameworks are supported (Junit4, TestNg, Data driven, Keyword
driven, Hybrid, etc)
 Can be used for Functional, Regression & Browser compatibility testing

23/02/2013

Selenium Open Source Test Automation Tool

6
23/02/2013

Selenium Open Source Test Automation Tool

7
You need to download & configure the required library from the url
http://seleniumhq.org/download/

23/02/2013

Selenium Open Source Test Automation Tool

8
23/02/2013

Selenium Open Source Test Automation Tool

9
http://seleniumhq.org/
The official website of Selenium, contents of the web site
Projects:






Selenium IDE
Selenium Remote Control
Selenium WebDriver
Selenium Grid

Downloads: You can find the latest releases of all the Selenium components
Documentation: Complete Selenium Documentation with Programming Language
Preference to Java, C# (Csharp), Python, Ruby, Php, Perl
Support: Getting Help, User Group, Chat Room, Bug Tracker, Commercial
Support
About Selenium: News/Blog, Selenium Events, Who made Selenium, History,
Roadmap, Get involved,
Documentation. Selenium sponsors.

23/02/2013

Selenium Open Source Test Automation Tool

10
Selenium IDE (Integrated Development Environment)
 The IDE is a record and playback tool with built-in debugger and editor
 The IDE is an add-on for Mozilla Firefox only, works only on Firefox.
 The IDE automatically creates test scripts in the Selenese HTML table
format
 The IDE can generate code into a wide variety of languages and test
frameworks. Such as HTML Selenese, C#, Java, Perl, PHP, Python, Ruby,
Bromine, JUnit, NUnit, RSpec, Test::Unit, TestNG, etc.

23/02/2013

Selenium Open Source Test Automation Tool

11
Selenium IDE (Firefox plug-in tool)

23/02/2013

Selenium Open Source Test Automation Tool

12
Selenium RC

23/02/2013

Selenium Open Source Test Automation Tool

13
Selenium WebDriver
 WebDriver is designed to providing an simpler, more concise programming
interface along with addressing some limitations in the Selenium-RC API
(Application Program Interface).
 Selenium-WebDriver was developed to better support dynamic web pages.
 Selenium-WebDriver makes direct calls to the browser using each browser’s
native support for automation.
 You may, or may not, need the Selenium Server, depending on how you
intend to use Selenium-WebDriver.

23/02/2013

Selenium Open Source Test Automation Tool

14
Flow of Selenium RC

Selenium selenium = new DefaultSelenium("localhost",4444,
"*chrome", “http://www.nie.ac.in");

Flow of Selenium Web Driver

23/02/2013

Selenium Open Source Test Automation Tool

15
Selenium Web Driver flow for Chrome & IE
browser

public static WebDriver driver;
driver = new ChromeDriver();

public static WebDriver driver;
driver = new InternetExplorerDriver();

23/02/2013

Selenium Open Source Test Automation Tool

16
Selenium Grid
•

The Grid distributes your tests on multiple machines so that you can
run your tests in parallel
– Tests can be ran in parallel for reduced execution time
– Test can be ran on various browser and operating system
combinations
– Generates a collated report from all test machines

•

The Grid can be run on a server farm or in the Cloud
– The tests are distributed by the Hub server to multiple Selenium
RC machines
– The tests can be ran by various Cloud computing services such
as Amazon EC2, Sauce Labs, BrowserMob, and PushToTest
– The Grid is written in Java for portability and is executed from
the command line

23/02/2013

Selenium Open Source Test Automation Tool

17
Selenium Grid

23/02/2013

Selenium Open Source Test Automation Tool

18
Selenium Grid - Concept
Selenium Grid can be used to run multiple instances on various operating
system and browser configurations.

23/02/2013

Selenium Open Source Test Automation Tool

19
Why choose Selenium?
•

•
•
•

The Selenium client libraries can be imported into most popular
language IDE’s
– Eclipse, NetBeans, Visual Studio .NET, etc.
– Reuses existing unit testing frameworks
– Integrated into Fitnesse frameworks
Used by QA test teams for functional, regression, and user
acceptance testing (UAT)
Integration into the build process has made it easy to deploy into
Continuous Integration Environments
Used by Developers for test driven development (TDD) in the Agile
and extreme programming (XP) community

23/02/2013

Selenium Open Source Test Automation Tool

20
Why choose Selenium?
•

Expanded usage by Developers into other areas
– Conversion into production monitoring and load testing
– Extended hooks into Flash, Flex, and other popular technologies

•

Strong support for AJAX technologies

•

Cross platform browser and operating system comparison testing

•

Run tests in parallel
– Using the Grid tests can be run in parallel across multiple RC
(agent) machines from a single Hub machine
– Saves time, and runs faster

23/02/2013

Selenium Open Source Test Automation Tool

21
Why choose Selenium?
•

Selenium is FREE!
– No licensing costs, so it can be deployed to as many machines as
needed in a lab or for local development
– No maintenance renewal costs

•

Use Cloud computing services
– If hardware is a limited, then opt to have a remote test lab in the
Cloud as needed
– Amazon EC2 (functional, regression testing)
– Sauce Labs (functional, regression testing)
– BrowserMob (production monitoring, load testing)
– PushToTest (production monitoring, functional testing, load testing)

23/02/2013

Selenium Open Source Test Automation Tool

22
23/02/2013

Selenium Open Source Test Automation Tool

23
Integration with Java and .NET
Java

.NET

•

•

•
•

•

Object oriented
– Design and programming
TestNG/JUnit
– Common unit test framework
Ant/Maven
– Automatically build, deploy,
and test application
Bamboo/Hudson
– Continuous integration
– Automated test
reporting/notification

23/02/2013

•
•

Object oriented
– Design and programming
VSUnit, NUnit, MBUnit
– Common unit test framework
TFS Build
– Automatic build verification
tests (BVT)
– Continuous integration
– Automated test
reporting/notification

Selenium Open Source Test Automation Tool

24
Integration with Java and .NET
Java

.NET

•

•

Spring /Struts
– Integrates with application
– Interface with Java
components
– Interface with Web services
– Access Oracle/MySQL
databases

23/02/2013

.NET Framework
– Integrates with application
– Interface with .NET
components
– Interface with Web services
– Access SQL Server databases

Selenium Open Source Test Automation Tool

25
Demo of Automation to
http://www.nie.ac.in/

23/02/2013

Selenium Open Source Test Automation Tool

26
Thank you for your time!

Vijay Kumar R
vijay.rangaiah@marlabs.com

23/02/2013

Selenium Open Source Test Automation Tool

27

More Related Content

What's hot

Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introductionPankaj Dubey
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniumshreyas JC
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with SeleniumKerry Buckley
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...Edureka!
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Simplilearn
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
 

What's hot (20)

Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium
SeleniumSelenium
Selenium
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
 
Selenium WebDriver training
Selenium WebDriver trainingSelenium WebDriver training
Selenium WebDriver training
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
Selenium
SeleniumSelenium
Selenium
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
SELENIUM PPT.pdf
SELENIUM PPT.pdfSELENIUM PPT.pdf
SELENIUM PPT.pdf
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
Selenium WebDriver Tutorial For Beginners | What Is Selenium WebDriver | Sele...
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
 
Selenium
SeleniumSelenium
Selenium
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 

Viewers also liked

Testing web application with Python
Testing web application with PythonTesting web application with Python
Testing web application with PythonJachym Cepicky
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium Sargis Sargsyan
 
Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)Sauce Labs
 
Getting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumGetting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumSauce Labs
 

Viewers also liked (7)

Testing web application with Python
Testing web application with PythonTesting web application with Python
Testing web application with Python
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium
 
Integration testing - A&BP CC
Integration testing - A&BP CCIntegration testing - A&BP CC
Integration testing - A&BP CC
 
Integration Testing in Python
Integration Testing in PythonIntegration Testing in Python
Integration Testing in Python
 
Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Getting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & AppiumGetting Started with Mobile Test Automation & Appium
Getting Started with Mobile Test Automation & Appium
 

Similar to Selenium Presentation at Engineering Colleges

A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingCalidad Infotech
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxSyedZaeem9
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 
Python selenium
Python seleniumPython selenium
Python seleniumDucat
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guidebigspire
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfkalichargn70th171
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...Simplilearn
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityRay Business Technologies
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfAnanthReddy38
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumJodie Miners
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshitAvinashNareshIT
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...DevDay.org
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...pCloudy
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxSyntax Technologies
 

Similar to Selenium Presentation at Engineering Colleges (20)

A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium
SeleniumSelenium
Selenium
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Python selenium
Python seleniumPython selenium
Python selenium
 
Selenium
SeleniumSelenium
Selenium
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
 
Reasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularityReasons behind selenium automation testing popularity
Reasons behind selenium automation testing popularity
 
7.pdf
7.pdf7.pdf
7.pdf
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshit
 
Selenium
SeleniumSelenium
Selenium
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Selenium
SeleniumSelenium
Selenium
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 

Selenium Presentation at Engineering Colleges

  • 1. Selenium Test Automation Tool 23/02/2013 Selenium Open Source Test Automation Tool 1
  • 2. Over View of Seminar  Open Source & Test Automation  Generations of various Framework & Scripting techniques  What is Selenium  Benefits of Selenium  Browser, Operating Systems & Languages Support  History of Selenium & Seleniumhq.org  Selenium IDE, RC, WebDriver & Grid  Why choose Selenium?  Growing importance of Selenium  Integration with Java and .NET  Demo of Automation to http://www.nie.ac.in/  Question & Answers 23/02/2013 Selenium Open Source Test Automation Tool 2
  • 3. Open Source Software Open Source Software (OSS) is computer software with it Source code made available & licensed with an open source license in which the copyright holder provides the rights to study, change & distribute the software to anyone & for any purpose. Test Automation Test automation is the use of Special Software to control the execution of tests and the comparison of actual outcomes to predicted outcomes. Framework A framework is an integrated system that sets the rules of automation for a specific product 23/02/2013 Selenium Open Source Test Automation Tool 3
  • 4. Generations of Various Framework & Scripting techniques 1st Generation: Linear – Procedural code, possibly generated by tools, such as record & playback scripting. 2nd Generation: Structured – Use control structures, if-else, switch, for, while conditions / statements. 3rd Generation: Data driven – Test script data persist outside the script in DB, spreadsheet, cvs, etc. 4th Generation: Keyword driven – Test script instructions / statements persist in spreadsheet, property files. 5th Generation: Hybrid – two or more of the patterns above are user, its also called as script less automation (less scripting) 23/02/2013 Selenium Open Source Test Automation 4
  • 5. What is Selenium  Selenium is an open source testing tool for automating web based applications.  It can automate only web based applications.  It works on multiple browsers and multiple operating systems.  Helpful to distribute/scale your test cases across multiple platforms.  Being open source and very strong in nature, demand for this tool is increasing. Components of Selenium     Selenium IDE Selenium 1 (Remote Control) Selenium 2 (WebDriver) Selenium Grid 23/02/2013 Selenium Open Source Test Automation Tool 5
  • 6. Benefits of Selenium  Open source  Works on multiple browsers  Works on multiple Operating Systems  Supports many languages for scripting  Supports to tests Ajax Applications, Flash Applications & Database Testing  Multiple test frameworks are supported (Junit4, TestNg, Data driven, Keyword driven, Hybrid, etc)  Can be used for Functional, Regression & Browser compatibility testing 23/02/2013 Selenium Open Source Test Automation Tool 6
  • 7. 23/02/2013 Selenium Open Source Test Automation Tool 7
  • 8. You need to download & configure the required library from the url http://seleniumhq.org/download/ 23/02/2013 Selenium Open Source Test Automation Tool 8
  • 9. 23/02/2013 Selenium Open Source Test Automation Tool 9
  • 10. http://seleniumhq.org/ The official website of Selenium, contents of the web site Projects:     Selenium IDE Selenium Remote Control Selenium WebDriver Selenium Grid Downloads: You can find the latest releases of all the Selenium components Documentation: Complete Selenium Documentation with Programming Language Preference to Java, C# (Csharp), Python, Ruby, Php, Perl Support: Getting Help, User Group, Chat Room, Bug Tracker, Commercial Support About Selenium: News/Blog, Selenium Events, Who made Selenium, History, Roadmap, Get involved, Documentation. Selenium sponsors. 23/02/2013 Selenium Open Source Test Automation Tool 10
  • 11. Selenium IDE (Integrated Development Environment)  The IDE is a record and playback tool with built-in debugger and editor  The IDE is an add-on for Mozilla Firefox only, works only on Firefox.  The IDE automatically creates test scripts in the Selenese HTML table format  The IDE can generate code into a wide variety of languages and test frameworks. Such as HTML Selenese, C#, Java, Perl, PHP, Python, Ruby, Bromine, JUnit, NUnit, RSpec, Test::Unit, TestNG, etc. 23/02/2013 Selenium Open Source Test Automation Tool 11
  • 12. Selenium IDE (Firefox plug-in tool) 23/02/2013 Selenium Open Source Test Automation Tool 12
  • 13. Selenium RC 23/02/2013 Selenium Open Source Test Automation Tool 13
  • 14. Selenium WebDriver  WebDriver is designed to providing an simpler, more concise programming interface along with addressing some limitations in the Selenium-RC API (Application Program Interface).  Selenium-WebDriver was developed to better support dynamic web pages.  Selenium-WebDriver makes direct calls to the browser using each browser’s native support for automation.  You may, or may not, need the Selenium Server, depending on how you intend to use Selenium-WebDriver. 23/02/2013 Selenium Open Source Test Automation Tool 14
  • 15. Flow of Selenium RC Selenium selenium = new DefaultSelenium("localhost",4444, "*chrome", “http://www.nie.ac.in"); Flow of Selenium Web Driver 23/02/2013 Selenium Open Source Test Automation Tool 15
  • 16. Selenium Web Driver flow for Chrome & IE browser public static WebDriver driver; driver = new ChromeDriver(); public static WebDriver driver; driver = new InternetExplorerDriver(); 23/02/2013 Selenium Open Source Test Automation Tool 16
  • 17. Selenium Grid • The Grid distributes your tests on multiple machines so that you can run your tests in parallel – Tests can be ran in parallel for reduced execution time – Test can be ran on various browser and operating system combinations – Generates a collated report from all test machines • The Grid can be run on a server farm or in the Cloud – The tests are distributed by the Hub server to multiple Selenium RC machines – The tests can be ran by various Cloud computing services such as Amazon EC2, Sauce Labs, BrowserMob, and PushToTest – The Grid is written in Java for portability and is executed from the command line 23/02/2013 Selenium Open Source Test Automation Tool 17
  • 18. Selenium Grid 23/02/2013 Selenium Open Source Test Automation Tool 18
  • 19. Selenium Grid - Concept Selenium Grid can be used to run multiple instances on various operating system and browser configurations. 23/02/2013 Selenium Open Source Test Automation Tool 19
  • 20. Why choose Selenium? • • • • The Selenium client libraries can be imported into most popular language IDE’s – Eclipse, NetBeans, Visual Studio .NET, etc. – Reuses existing unit testing frameworks – Integrated into Fitnesse frameworks Used by QA test teams for functional, regression, and user acceptance testing (UAT) Integration into the build process has made it easy to deploy into Continuous Integration Environments Used by Developers for test driven development (TDD) in the Agile and extreme programming (XP) community 23/02/2013 Selenium Open Source Test Automation Tool 20
  • 21. Why choose Selenium? • Expanded usage by Developers into other areas – Conversion into production monitoring and load testing – Extended hooks into Flash, Flex, and other popular technologies • Strong support for AJAX technologies • Cross platform browser and operating system comparison testing • Run tests in parallel – Using the Grid tests can be run in parallel across multiple RC (agent) machines from a single Hub machine – Saves time, and runs faster 23/02/2013 Selenium Open Source Test Automation Tool 21
  • 22. Why choose Selenium? • Selenium is FREE! – No licensing costs, so it can be deployed to as many machines as needed in a lab or for local development – No maintenance renewal costs • Use Cloud computing services – If hardware is a limited, then opt to have a remote test lab in the Cloud as needed – Amazon EC2 (functional, regression testing) – Sauce Labs (functional, regression testing) – BrowserMob (production monitoring, load testing) – PushToTest (production monitoring, functional testing, load testing) 23/02/2013 Selenium Open Source Test Automation Tool 22
  • 23. 23/02/2013 Selenium Open Source Test Automation Tool 23
  • 24. Integration with Java and .NET Java .NET • • • • • Object oriented – Design and programming TestNG/JUnit – Common unit test framework Ant/Maven – Automatically build, deploy, and test application Bamboo/Hudson – Continuous integration – Automated test reporting/notification 23/02/2013 • • Object oriented – Design and programming VSUnit, NUnit, MBUnit – Common unit test framework TFS Build – Automatic build verification tests (BVT) – Continuous integration – Automated test reporting/notification Selenium Open Source Test Automation Tool 24
  • 25. Integration with Java and .NET Java .NET • • Spring /Struts – Integrates with application – Interface with Java components – Interface with Web services – Access Oracle/MySQL databases 23/02/2013 .NET Framework – Integrates with application – Interface with .NET components – Interface with Web services – Access SQL Server databases Selenium Open Source Test Automation Tool 25
  • 26. Demo of Automation to http://www.nie.ac.in/ 23/02/2013 Selenium Open Source Test Automation Tool 26
  • 27. Thank you for your time! Vijay Kumar R vijay.rangaiah@marlabs.com 23/02/2013 Selenium Open Source Test Automation Tool 27