SlideShare a Scribd company logo
1 of 13
SELENIUM IDE and
Extensions
Automated testing tool
Created by: Yana Altunyan
Reviewed by: Vladimir Soghoyan
Ogma Applications
 Selenium Types
 Selenium IDE
 IDE Features
 Creating and Running Test Suite and Case
 IDE Extensions (JavaScript)
07/12/2016Ogma Applications 2
Overview
 Selenium IDE
 Selenium WebDriver
 Selenium Server (Grid)
 Selenium RC
07/12/2016Ogma Applications 3
Selenium types
 Selenium IDE is an integrated development environment for Selenium
scripts. It is implemented as a Firefox extension.
 It allows you to record, edit, and debug tests.
07/12/2016Ogma Applications 4
Selenium IDE
IDE Features
Speed Control: controls how fast your test case runs.
Run All: Runs the entire test suite when a test suite with
multiple test cases is loaded.
Run: Runs the currently selected test. When only a single test is
loaded this button and the Run All button have the same effect.
Pause/Resume: Allows stopping and re-starting of a running
test case.
Step: Allows you to “step” through a test case by running it
one command at a time. Use for debugging test cases.
Apply Rollup Rules: This advanced feature allows repetitive
sequences of Selenium commands to be grouped into a single
action.
Reload
Test Scheduler
Record: Records the user’s browser actions.
07/12/2016Ogma Applications 5
IDE Features
Command – Tells Selenium
what to do using actions or
assertions
Target – Tells Selenium which
HTML element a command
refers to
Value – Used for any
command that might need a
value of some kind
08/04/2015Ogma Applications 6
IDE Features
Log – When test case run, error messages
and information messages showing the
progress are displayed in this pane
automatically. Useful for debugging
Reference - The Reference pane will display
documentation on the current command.
UI-Element - A mapping between a
meaningful name for a page element, and
the means to locate that page element's
DOM node. The page element is located via a
locator. UI elements belong to pagesets*.
Rollup - Logic that describes how one or
more Selenium commands can be grouped
into a single command, and how that single
command may be expanded into its
component Selenium commands*.
08/04/2015Ogma Applications 7
IDE Features
All Commands are shown in HTML
code
07/12/2016Ogma Applications 8
IDE Features: Commands
Selenium commands come in three
“flavors”: Actions,Accessors, and Assertions.
Actions - commands that generally manipulate
the state of the application.
Accessors - examine the state of the application
and store the results in variables, e.g.
“storeTitle”.
Assertions - are like Accessors, but they verify
that the state of the application conforms to
what is expected.
07/12/2016Ogma Applications 9
Creating and Running Test
Suite and Case
The procedure for creating automated test case
consists of the following steps:
 Start a Firefox window and navigate to the
page URL you want to test.
 Click on the Tools menu, Selenium IDE, as
described in the following figure
 Fill in the Base URL field at the top with the
starting URL of the page being tested and
then clink on the button Record .
 Having the Record button enabled, start
the test case by making the data entry on
the system
 At the end of test case, disable the Record
button. You can save the test case at the
File menu, Save Test Case.
 To run the test case automatically, just click
on the button Play current test case
 At the end of successful execution,
Selenium-IDE window will display the list of
steps executed successfully.
A test suite is a collection of test cases.
07/12/2016Ogma Applications 10
User extensions are JavaScript files that allow you to
create your own customizations and features to add
additional functionality.
07/12/2016Ogma Applications 11
IDE Extensions
Adding User Extensions In
The Selenium IDE
 Options->General tab
 Close Selenium and open
again
 Check new commands
availability
07/12/2016Ogma Applications 12
New Commands from added
Extension (generating random email)
typeRandomEmail- types random
email
typeRandomEmailAndWait - This
command will wait for page to reload
07/12/2016Ogma Applications 13

More Related Content

What's hot

Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and SeleniumKarapet Sarkisyan
 
Automation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaAutomation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaNarayanan Palani
 
Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Furqan Ud Din
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesVijay Rangaiah
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewDisha Srivastava
 
Selenium interview Q&A
Selenium interview Q&ASelenium interview Q&A
Selenium interview Q&APavan Kumar
 
Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)Yogesh Thalkari
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniummindqqa
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
Automating with selenium2
Automating with selenium2Automating with selenium2
Automating with selenium2mindqqa
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautureszahid32
 

What's hot (20)

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
 
Automation framework using selenium webdriver with java
Automation framework using selenium webdriver with javaAutomation framework using selenium webdriver with java
Automation framework using selenium webdriver with java
 
Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1Learn Test Automation using Selenium - Lesson 1
Learn Test Automation using Selenium - Lesson 1
 
Selenium web driver
Selenium web driverSelenium web driver
Selenium web driver
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Selenium IDE
Selenium IDESelenium IDE
Selenium IDE
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Selenium interview Q&A
Selenium interview Q&ASelenium interview Q&A
Selenium interview Q&A
 
Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)Selenium Commands (Short Interview Preparation)
Selenium Commands (Short Interview Preparation)
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Automating with selenium2
Automating with selenium2Automating with selenium2
Automating with selenium2
 
Selenium introduction and some feautures
Selenium introduction and some feauturesSelenium introduction and some feautures
Selenium introduction and some feautures
 

Viewers also liked

Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache FlexGert Poppe
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshopcoreyjack
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and BeyondSamit Badle
 
Efficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsEfficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsSamit Badle
 
Apache Flex: Overview
Apache Flex: OverviewApache Flex: Overview
Apache Flex: OverviewTarun Telang
 
Testing Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupTesting Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupViktor Gamov
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for seleniumapoorvams
 

Viewers also liked (13)

Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache Flex
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Training
Selenium TrainingSelenium Training
Selenium Training
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
 
Efficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE PluginsEfficient Automated Test Creation With Selenium IDE Plugins
Efficient Automated Test Creation With Selenium IDE Plugins
 
Apache Flex: Overview
Apache Flex: OverviewApache Flex: Overview
Apache Flex: Overview
 
Selenium
SeleniumSelenium
Selenium
 
Testing Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user groupTesting Flex RIAs for NJ Flex user group
Testing Flex RIAs for NJ Flex user group
 
Selenium WebDriver FAQ's
Selenium WebDriver FAQ'sSelenium WebDriver FAQ's
Selenium WebDriver FAQ's
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
 

Similar to SELENIUM IDE Automation

Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingDisha Srivastava
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ideTestertester Jaipur
 
Selenium Installation
Selenium InstallationSelenium Installation
Selenium InstallationSachin-QA
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumJodie Miners
 
Selenium Installation
Selenium  InstallationSelenium  Installation
Selenium InstallationANKUR-BA
 
Selenium - Installation
Selenium - InstallationSelenium - Installation
Selenium - InstallationRajesh-QA
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin MishraPravin Mishra
 
Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101Adam Culp
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersAjit Jadhav
 

Similar to SELENIUM IDE Automation (20)

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium tutorial
Selenium tutorialSelenium tutorial
Selenium tutorial
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Selenium
SeleniumSelenium
Selenium
 
Selenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and WorkingSelenium IDE Introduction, Installation and Working
Selenium IDE Introduction, Installation and Working
 
Selenium
SeleniumSelenium
Selenium
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Sel
SelSel
Sel
 
Selenium Installation
Selenium InstallationSelenium Installation
Selenium Installation
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium Installation
Selenium  InstallationSelenium  Installation
Selenium Installation
 
Selenium - Installation
Selenium - InstallationSelenium - Installation
Selenium - Installation
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium
SeleniumSelenium
Selenium
 
Selenium testing IDE 101
Selenium testing IDE 101Selenium testing IDE 101
Selenium testing IDE 101
 
Selenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And AnswersSelenium Automation Testing Interview Questions And Answers
Selenium Automation Testing Interview Questions And Answers
 

SELENIUM IDE Automation

  • 1. SELENIUM IDE and Extensions Automated testing tool Created by: Yana Altunyan Reviewed by: Vladimir Soghoyan Ogma Applications
  • 2.  Selenium Types  Selenium IDE  IDE Features  Creating and Running Test Suite and Case  IDE Extensions (JavaScript) 07/12/2016Ogma Applications 2 Overview
  • 3.  Selenium IDE  Selenium WebDriver  Selenium Server (Grid)  Selenium RC 07/12/2016Ogma Applications 3 Selenium types
  • 4.  Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension.  It allows you to record, edit, and debug tests. 07/12/2016Ogma Applications 4 Selenium IDE
  • 5. IDE Features Speed Control: controls how fast your test case runs. Run All: Runs the entire test suite when a test suite with multiple test cases is loaded. Run: Runs the currently selected test. When only a single test is loaded this button and the Run All button have the same effect. Pause/Resume: Allows stopping and re-starting of a running test case. Step: Allows you to “step” through a test case by running it one command at a time. Use for debugging test cases. Apply Rollup Rules: This advanced feature allows repetitive sequences of Selenium commands to be grouped into a single action. Reload Test Scheduler Record: Records the user’s browser actions. 07/12/2016Ogma Applications 5
  • 6. IDE Features Command – Tells Selenium what to do using actions or assertions Target – Tells Selenium which HTML element a command refers to Value – Used for any command that might need a value of some kind 08/04/2015Ogma Applications 6
  • 7. IDE Features Log – When test case run, error messages and information messages showing the progress are displayed in this pane automatically. Useful for debugging Reference - The Reference pane will display documentation on the current command. UI-Element - A mapping between a meaningful name for a page element, and the means to locate that page element's DOM node. The page element is located via a locator. UI elements belong to pagesets*. Rollup - Logic that describes how one or more Selenium commands can be grouped into a single command, and how that single command may be expanded into its component Selenium commands*. 08/04/2015Ogma Applications 7
  • 8. IDE Features All Commands are shown in HTML code 07/12/2016Ogma Applications 8
  • 9. IDE Features: Commands Selenium commands come in three “flavors”: Actions,Accessors, and Assertions. Actions - commands that generally manipulate the state of the application. Accessors - examine the state of the application and store the results in variables, e.g. “storeTitle”. Assertions - are like Accessors, but they verify that the state of the application conforms to what is expected. 07/12/2016Ogma Applications 9
  • 10. Creating and Running Test Suite and Case The procedure for creating automated test case consists of the following steps:  Start a Firefox window and navigate to the page URL you want to test.  Click on the Tools menu, Selenium IDE, as described in the following figure  Fill in the Base URL field at the top with the starting URL of the page being tested and then clink on the button Record .  Having the Record button enabled, start the test case by making the data entry on the system  At the end of test case, disable the Record button. You can save the test case at the File menu, Save Test Case.  To run the test case automatically, just click on the button Play current test case  At the end of successful execution, Selenium-IDE window will display the list of steps executed successfully. A test suite is a collection of test cases. 07/12/2016Ogma Applications 10
  • 11. User extensions are JavaScript files that allow you to create your own customizations and features to add additional functionality. 07/12/2016Ogma Applications 11 IDE Extensions
  • 12. Adding User Extensions In The Selenium IDE  Options->General tab  Close Selenium and open again  Check new commands availability 07/12/2016Ogma Applications 12
  • 13. New Commands from added Extension (generating random email) typeRandomEmail- types random email typeRandomEmailAndWait - This command will wait for page to reload 07/12/2016Ogma Applications 13

Editor's Notes

  1. Selenium IDE – If you want to create quick bug reproduction scripts, and/or create scripts to aid in automation-aided exploratory testing then you want to use Selenium IDE; a Firefox add-on that will do simple record-and-playback of interactions with the browser. Selenium WebDriver – If you want to create robust, browser-based regression automation suites and tests and/or scale and distribute scripts across many environments then you want to use Selenium WebDriver; a collection of language specific bindings to drive a browser -- the way it is meant to be driven. Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated. The Selenium Server (used by both WebDriver and Remote Control) now also includes built-in grid capabilities. Selenium Server – With the release of Selenium 2.0, the Selenium Server now has built-in Grid functionality. Grid allows you to scale by distributing tests on several machines ( parallel execution ), manage multiple environments from a central point, making it easy to run the tests against a vast combination of browsers / OS, minimize the maintenance time for the grid by allowing you to implement custom hooks to leverage virtual infrastructure for instance. Selenium RC – see WebDriver*