SlideShare a Scribd company logo
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
What Will You Learn Today?
Selenese Hands-On
Selenium IDE
Why Selenium
IDE?
Features
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Why Choose Selenium IDE?
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Why Selenium IDE?
I have little knowledge
in programming, can I
create test cases?
How can I create
test cases and
test suites for
my website?
Need an easy
to use tool?
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Why Selenium IDE?
I have little knowledge
in programming, can I
create test cases?
How can I create
test cases and
test suites for
my website?
If I could get an UI-
based test
automation tool!!!!
Need an easy
to use tool?
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Why Selenium IDE?
I have little knowledge
in programming, can I
create test cases?
How can I create
test cases and
test suites for
my website?
If I could get a UI-
based test
automation tool!!!!
Selenium IDE
Need an easy
to use tool?
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
What Is Selenium IDE?
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenium IDE
Selenium-IDE (Integrated Development Environment),
a tool to develop test cases
It is an easy-to-use Firefox plug-in
You can create and edit test cases and test suites
You can record and playback tests
You can convert test cases to different languages
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Features Of Selenium IDE
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Features
File – Provides options to open, save and export test case and Test Suite
Edit – Provides copy, paste, delete, undo and select all operations for editing
Actions – Provides options for record and play
Options – gives options to change IDE settings
Help – Provides links for blogs and documentation
Menu Bar
Toolbar
Test Case Pane
Log/ Reference
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Features
Menu Bar
Toolbar
Test Case Pane
Log/ Reference
Icon Name Description
Speed Control Control how fast your test case runs
Run All Runs the entire Test Suite
Run Runs the currently selected test
Pause/Resume Allows starting and re-starting of a running test case
Step
“Step” through test case by running it one command at a
time
Apply Rollup
Rules
Repetitive sequences of Selenium commands
Record Records the user’s browser action
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Features
Has 2 tabs:
 Table – Displays the command and their parameters in a readable table format
 Source – Displays the test case in the native format in which the file will be stored
The Command, Target and Value entry fields display the currently selected command
along with its parameters
Menu Bar
Toolbar
Test Case Pane
Log/ Reference
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Features
Menu Bar
Toolbar
Test Case Pane
Log/ Reference
Log: Error messages and information messages showing the progress are displayed in this pane
Reference: You can find the documentation of the command currently used
UI-Element: Allows you to centrally define most of xpath statements and give page elements
meaningful names
Rollup: Represents a sequence of steps that can be reused throughout test-cases
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese
Selenium commands are classified into 3 basic categories:
 Actions
 Accessors
 Assertions
 Selenese is the set of selenium commands which are used to test your web application
 You can use selenese to test the existence of UI elements based on their HTML tags
 A command tells Selenium what to do
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese
Actions
Accessors
Assertions
Commands which change the state of the application are classified as actions
When action is performed on page, the test will fail if the action is not successful
Few actions are:
 Click on some link
 Select some options on the page
 Select a drop down value from the page
Examples:
• ClickAndWait
• Click
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese
Actions
Accessors
Assertions
Commands that check the state of the application and stores the
application state in a variable
Examples:
• storeTextPresent: If text is found on the page then
it stores true else stores false
• storeElementPresent: If UI element is present on
the page then it stores true else stores false
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese
Actions
Accessors
Assertions
Assertions are used like checkpoints or verification points in
automation
Assertion verifies whether the state of the application conforms
to the expected state
Assertions has 3 modes:
 Assert
 Verify
 WaitFor
Examples:
• verifyText
• waitForPageToLoad
• assertText
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Selenese Syntax
Selenese syntax is simple, it consists: command and two parameters
Command Parameter Parameter
verifyText //div//a[2] Login
goBackAndWait
verifyTextPresent Welcome To My Home Page
Type Id=phone (555) 666-7066
Type Id=address1 ${myVariableAddress}
 The parameters are not always required
 Parameters vary, however they are typically:
 A locator for identifying a UI element within a page
 A text pattern for verifying or asserting page content
 A text pattern or a selenium variable for entering text in an input field
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Building Test Cases
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Building Test Cases
• Begin by recording a test-case
from interactions with a website
• Automatic insertion of commands
based on your actions
• Typically, includes:
• Click or clickAndWait
• Type command
• Select command
• Click command
• You need to check the properties
of a web-page
• This requires assert and verify
commands
• Insert Command
• Insert Comment
• Edit a Command or Comment
Recording Verification And
Asserts
Editing
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Writing A Test Suite
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Writing A Test Suite
 A test suite is a collection of tests. Often, one will run all the tests in a test suite as one continuous batch-job
 A file similar to this would allow running the tests all at once, one after another
<html>
<head>
<title> Test Suite Function Tests – Priority 1 </title>
</head>
<body>
<table>
<tr><td><b>Suite Of Tests</b></td></tr>
<tr><td><a href=“./Login.html”> Login </a></td></tr>
<tr><td><a href=“./SearchValues.html”> Test Searching for Values </a></td></tr>
<tr><td><a href=“./SaveValues.html”> Test Save </a></td></tr>
</table>
</body>
</html>
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Running Test Cases
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
Running Test Cases
Run a Test Suite Stop and StartRun a Test Case
Start from the middle Run any single commandStop in the middle
• Tell the IDE to begin running from a
specific command in the middle of
the test case
• Click the run button
• Runs the currently displayed test
case
• Click the run all button
• Runs all the test cases in the
currently loaded test suite
• Pause button can be used to stop
the test case while it is running
• The icon then changes to indicate
the Resume button
• Set breakpoints in the test case to
cause it to stop on a particular
command
• Double-click any single command
to run it by itself
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training
What You Cannot Do Using IDE
 Cannot be used to test big data
 Recording all possible cases for automation is not possible like file upload,
screen shots, etc
 Cannot handle dynamic part of web application
 Cannot test connections with database
 Cannot handle multiple windows
www.edureka.co/testing-with-selenium-webdriverEdureka’s Selenium Certification Training

More Related Content

What's hot (20)

PDF
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
PPTX
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Edureka!
 
PPTX
Selenium Interview Questions & Answers
Techcanvass
 
PDF
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
Edureka!
 
PDF
Selenium WebDriver: Tips and Tricks
Edureka!
 
PDF
Selenium Webdriver Interview Questions
Jai Singh
 
PPSX
Selenium WebDriver with Java
Fayis-QA
 
PPTX
An overview of selenium webdriver
Anuraj S.L
 
PDF
Selenium web driver
Shobika Ramasubbarayalu
 
PPTX
Automation - web testing with selenium
Tzirla Rozental
 
DOCX
Selenium interview questions
girichinna27
 
PPT
Introduction to Selenium
rohitnayak
 
PPTX
Test Automation and Selenium
Karapet Sarkisyan
 
PDF
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
Edureka!
 
PDF
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
PPTX
Selenium using Java
F K
 
PDF
Selenium IDE
brendon_jag
 
PPTX
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
DOCX
Selenium interview Q&A
Pavan Kumar
 
PDF
Selenium Handbook
Suresh Thammishetty
 
Introduction to Selenium | Selenium Tutorial for Beginners | Selenium Trainin...
Edureka!
 
Selenium Tutorial For Beginners | What Is Selenium? | Selenium Automation Tes...
Edureka!
 
Selenium Interview Questions & Answers
Techcanvass
 
Selenium Framework using Java | Selenium Tutorial | Selenium Training Online ...
Edureka!
 
Selenium WebDriver: Tips and Tricks
Edureka!
 
Selenium Webdriver Interview Questions
Jai Singh
 
Selenium WebDriver with Java
Fayis-QA
 
An overview of selenium webdriver
Anuraj S.L
 
Selenium web driver
Shobika Ramasubbarayalu
 
Automation - web testing with selenium
Tzirla Rozental
 
Selenium interview questions
girichinna27
 
Introduction to Selenium
rohitnayak
 
Test Automation and Selenium
Karapet Sarkisyan
 
How to Write & Run a Test Case in Selenium | Selenium Tutorial | Selenium Tra...
Edureka!
 
Automation Testing using Selenium Webdriver
Pankaj Biswas
 
Selenium using Java
F K
 
Selenium IDE
brendon_jag
 
Selenium Tutorial For Beginners | Selenium Automation Testing Tutorial | Sele...
Simplilearn
 
Selenium interview Q&A
Pavan Kumar
 
Selenium Handbook
Suresh Thammishetty
 

Similar to Selenium IDE Tutorial For Beginners | What Is Selenium IDE? | Selenium Tutorial | Edureka (20)

PPT
Test automation using selenium presented by Quontra Solutions
QUONTRASOLUTIONS
 
PDF
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Edureka!
 
PPT
Selenium ide material (2)
Sriram Angajala
 
PPTX
Selenium
nil65
 
PPT
Selenium ide material (1)
Sriram Angajala
 
PDF
Webinar: Selenium WebDriver - Automation Uncomplicated
Edureka!
 
PDF
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
PDF
Automation Using Selenium Webdriver
Edureka!
 
ODP
Integrating Selenium testing infrastructure into Scala Project
Knoldus Inc.
 
PPTX
Data driven Automation Framework with Selenium
Edureka!
 
PPT
Selenium (2)
onlinemindq
 
PPT
Selenium (2)
onlinemindq
 
PPT
Selenium training
Robin0590
 
PPTX
Selenium
Rakshitha Raviprakash
 
PPTX
Selenium
Batch2016
 
PPTX
Selenium
Batch2016
 
PPTX
Selenium
Batch2016
 
PPT
Selenium (1) (1)
Vishwan Aranha
 
PPTX
Selenium
Ivan Aranha
 
PPTX
Selenium Testing
Shreshtt Bhatt
 
Test automation using selenium presented by Quontra Solutions
QUONTRASOLUTIONS
 
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Edureka!
 
Selenium ide material (2)
Sriram Angajala
 
Selenium
nil65
 
Selenium ide material (1)
Sriram Angajala
 
Webinar: Selenium WebDriver - Automation Uncomplicated
Edureka!
 
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
Automation Using Selenium Webdriver
Edureka!
 
Integrating Selenium testing infrastructure into Scala Project
Knoldus Inc.
 
Data driven Automation Framework with Selenium
Edureka!
 
Selenium (2)
onlinemindq
 
Selenium (2)
onlinemindq
 
Selenium training
Robin0590
 
Selenium
Batch2016
 
Selenium
Batch2016
 
Selenium
Batch2016
 
Selenium (1) (1)
Vishwan Aranha
 
Selenium
Ivan Aranha
 
Selenium Testing
Shreshtt Bhatt
 
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
PDF
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
PDF
Tableau Tutorial for Data Science | Edureka
Edureka!
 
PDF
Python Programming Tutorial | Edureka
Edureka!
 
PDF
Top 5 PMP Certifications | Edureka
Edureka!
 
PDF
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
PDF
Linux Mint Tutorial | Edureka
Edureka!
 
PDF
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
PDF
Importance of Digital Marketing | Edureka
Edureka!
 
PDF
RPA in 2020 | Edureka
Edureka!
 
PDF
Email Notifications in Jenkins | Edureka
Edureka!
 
PDF
EA Algorithm in Machine Learning | Edureka
Edureka!
 
PDF
Cognitive AI Tutorial | Edureka
Edureka!
 
PDF
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
PDF
Blue Prism Top Interview Questions | Edureka
Edureka!
 
PDF
Big Data on AWS Tutorial | Edureka
Edureka!
 
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
PDF
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
PDF
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PDF
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 

Selenium IDE Tutorial For Beginners | What Is Selenium IDE? | Selenium Tutorial | Edureka