SlideShare a Scribd company logo
1 of 9
Automated Testing for
Websites using Selenium IDE
robert@robertgreiner.com
Table of Contents

ā€¢ What is Automated Testing?
ā€¢ Why Should I Use Automated Testing?
ā€¢ Getting Started With Selenium IDE
What is Automated Testing?
ā€¢ Automated tests perform repeatable actions on your application and
compare expected values with actual results.

ā€¢
ā€¢
ā€¢
ā€¢

ā€œDriveā€ the application the same way a user would
Create scripts/applications to repeat tests in the future
Improves documentation around existing functionality
Run while you are sleeping
Why Should I Use Automated Testing?
ā€¢
ā€¢
ā€¢
ā€¢
ā€¢
ā€¢
ā€¢

Reduces human errors
Exposes defects to development team faster
Faster than human testers
Cheaper to run and maintain
Continues to work when your application changes
Protects against regression defects

Improves communication between groups
Getting Started With Selenium IDE
ā€¢ Selenium IDE is a Firefox extension that allows you to record, edit, and
debug functional tests against your web application.

ā€¢
ā€¢
ā€¢

Record and playback tests
Save and export test cases
Compare expected values with actual values
Installing Selenium IDE
ā€¢ Download an install Firefox
ā€¢

http://www.mozilla.org/en-US/firefox/new/

ā€¢ Install Selenium IDE Firefox extension
ā€¢
ā€¢
ā€¢
ā€¢

Open Firefox
http://www.seleniumhq.org/download/
Click ā€œDownload latest released version 2.x.xā€

Install Selenium and dependencies
Running Selenium IDE
ā€¢ Open Firefox -> ctrl+alt+S

Just start
browsing, recordin
g starts by default!
Demo: Testing a Website

Arrange

Act

Assert

ā€¢ Setup initial state

ā€¢ Perform desired behavior

ā€¢ Verify results
Questions?

Robert Greiner
robert@robertgreiner.com

@robert_greiner

More Related Content

What's hot

Selenium Webdriver
Selenium WebdriverSelenium Webdriver
Selenium Webdriver
Muhammad Bilal
Ā 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
onlinemindq
Ā 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
shreyas JC
Ā 
Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!
AutomatedTester
Ā 
Smarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automationSmarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automation
RIA RUI Society
Ā 

What's hot (20)

Selenium
SeleniumSelenium
Selenium
Ā 
Selenium Webdriver
Selenium WebdriverSelenium Webdriver
Selenium Webdriver
Ā 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
Ā 
Selenium WebDriver with C#
Selenium WebDriver with C#Selenium WebDriver with C#
Selenium WebDriver with C#
Ā 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
Ā 
Designing an effective hybrid apps automation framework
Designing an effective hybrid apps automation frameworkDesigning an effective hybrid apps automation framework
Designing an effective hybrid apps automation framework
Ā 
An Overview of Selenium
An Overview of SeleniumAn Overview of Selenium
An Overview of Selenium
Ā 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
Ā 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
Ā 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 Grid
Ā 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
Ā 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
Ā 
Selenium Test Automation - Challenges
Selenium Test Automation - ChallengesSelenium Test Automation - Challenges
Selenium Test Automation - Challenges
Ā 
Introduction to Selenium
Introduction to SeleniumIntroduction to Selenium
Introduction to Selenium
Ā 
Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!Selenium 2: The Future of Selenium is now!
Selenium 2: The Future of Selenium is now!
Ā 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
Ā 
Smarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automationSmarter ways to do selenium automation @ work, Selenium, automation
Smarter ways to do selenium automation @ work, Selenium, automation
Ā 
Web automation using selenium.ppt
Web automation using selenium.pptWeb automation using selenium.ppt
Web automation using selenium.ppt
Ā 
Automated testing using Selenium & NUnit
Automated testing using Selenium & NUnitAutomated testing using Selenium & NUnit
Automated testing using Selenium & NUnit
Ā 
Selenium institute in bangalore
Selenium institute in bangaloreSelenium institute in bangalore
Selenium institute in bangalore
Ā 

Similar to Automated Testing for Websites With Selenium IDE

Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
devika266518
Ā 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
Swati Bansal
Ā 

Similar to Automated Testing for Websites With Selenium IDE (20)

4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
Ā 
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Ā 
Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software Testing
Ā 
Selenium
SeleniumSelenium
Selenium
Ā 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Ā 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
Ā 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Ā 
Python selenium
Python seleniumPython selenium
Python selenium
Ā 
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVENAUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
AUTOMATION FRAMEWORK USING SELENIUM & TESTNG ALONG WITH MAVEN
Ā 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
Ā 
Akash 2013CA05 software testing presentation -selenium
Akash 2013CA05 software testing presentation  -seleniumAkash 2013CA05 software testing presentation  -selenium
Akash 2013CA05 software testing presentation -selenium
Ā 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
Ā 
Automated ui-testing
Automated ui-testingAutomated ui-testing
Automated ui-testing
Ā 
Automated Testing Using Selenium
Automated Testing Using SeleniumAutomated Testing Using Selenium
Automated Testing Using Selenium
Ā 
Selenium
SeleniumSelenium
Selenium
Ā 
Selenium for everyone
Selenium for everyoneSelenium for everyone
Selenium for everyone
Ā 
Selenium
SeleniumSelenium
Selenium
Ā 
Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...
Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...
Build your QA Pipeline using Serenity , Selenium WebDriver , Rest Assured and...
Ā 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
Ā 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
Ā 

More from Robert Greiner

Testing javascript
Testing javascriptTesting javascript
Testing javascript
Robert Greiner
Ā 

More from Robert Greiner (15)

Portfolio Rationalization - Making Sound Financial and Strategic Decisions in...
Portfolio Rationalization - Making Sound Financial and Strategic Decisions in...Portfolio Rationalization - Making Sound Financial and Strategic Decisions in...
Portfolio Rationalization - Making Sound Financial and Strategic Decisions in...
Ā 
Virtual Team Best Practices
Virtual Team Best PracticesVirtual Team Best Practices
Virtual Team Best Practices
Ā 
Becoming the Ideal Team Player
Becoming the Ideal Team PlayerBecoming the Ideal Team Player
Becoming the Ideal Team Player
Ā 
POV - Practical Containerization
POV - Practical ContainerizationPOV - Practical Containerization
POV - Practical Containerization
Ā 
POV - Enterprise Security Canvas
POV - Enterprise Security CanvasPOV - Enterprise Security Canvas
POV - Enterprise Security Canvas
Ā 
Foundations of financial independence
Foundations of financial independenceFoundations of financial independence
Foundations of financial independence
Ā 
Why feedback is important
Why feedback is importantWhy feedback is important
Why feedback is important
Ā 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
Ā 
Fin fest 2014 - Internet of Things and APIs
Fin fest 2014 - Internet of Things and APIsFin fest 2014 - Internet of Things and APIs
Fin fest 2014 - Internet of Things and APIs
Ā 
Petabytes and Nanoseconds
Petabytes and NanosecondsPetabytes and Nanoseconds
Petabytes and Nanoseconds
Ā 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
Ā 
Introduction to Windows Azure Data Services
Introduction to Windows Azure Data ServicesIntroduction to Windows Azure Data Services
Introduction to Windows Azure Data Services
Ā 
Code Quality and Tipster
Code Quality and TipsterCode Quality and Tipster
Code Quality and Tipster
Ā 
Test Driven Development at 10,000 Feet
Test Driven Development at 10,000 FeetTest Driven Development at 10,000 Feet
Test Driven Development at 10,000 Feet
Ā 
Testing javascript
Testing javascriptTesting javascript
Testing javascript
Ā 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(ā˜Žļø+971_581248768%)**%*]'#abortion pills for sale in dubai@
Ā 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Ā 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Ā 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Ā 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Ā 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Ā 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Ā 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Ā 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Ā 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Ā 
Elevate Developer Efficiency & build GenAI Application with Amazon Qā€‹
Elevate Developer Efficiency & build GenAI Application with Amazon Qā€‹Elevate Developer Efficiency & build GenAI Application with Amazon Qā€‹
Elevate Developer Efficiency & build GenAI Application with Amazon Qā€‹
Ā 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Ā 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Ā 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Ā 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
Ā 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
Ā 
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Ā 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Ā 

Automated Testing for Websites With Selenium IDE

  • 1. Automated Testing for Websites using Selenium IDE robert@robertgreiner.com
  • 2. Table of Contents ā€¢ What is Automated Testing? ā€¢ Why Should I Use Automated Testing? ā€¢ Getting Started With Selenium IDE
  • 3. What is Automated Testing? ā€¢ Automated tests perform repeatable actions on your application and compare expected values with actual results. ā€¢ ā€¢ ā€¢ ā€¢ ā€œDriveā€ the application the same way a user would Create scripts/applications to repeat tests in the future Improves documentation around existing functionality Run while you are sleeping
  • 4. Why Should I Use Automated Testing? ā€¢ ā€¢ ā€¢ ā€¢ ā€¢ ā€¢ ā€¢ Reduces human errors Exposes defects to development team faster Faster than human testers Cheaper to run and maintain Continues to work when your application changes Protects against regression defects Improves communication between groups
  • 5. Getting Started With Selenium IDE ā€¢ Selenium IDE is a Firefox extension that allows you to record, edit, and debug functional tests against your web application. ā€¢ ā€¢ ā€¢ Record and playback tests Save and export test cases Compare expected values with actual values
  • 6. Installing Selenium IDE ā€¢ Download an install Firefox ā€¢ http://www.mozilla.org/en-US/firefox/new/ ā€¢ Install Selenium IDE Firefox extension ā€¢ ā€¢ ā€¢ ā€¢ Open Firefox http://www.seleniumhq.org/download/ Click ā€œDownload latest released version 2.x.xā€ Install Selenium and dependencies
  • 7. Running Selenium IDE ā€¢ Open Firefox -> ctrl+alt+S Just start browsing, recordin g starts by default!
  • 8. Demo: Testing a Website Arrange Act Assert ā€¢ Setup initial state ā€¢ Perform desired behavior ā€¢ Verify results