Selenium Tutorial
What is Selenium? Javascript framework that runs in your web-browser Works anywhere Javascript is supported Hooks for many other languages Java, Ruby, Python Can simulate a user navigating through pages and then assert for specific marks on the pages All you need to really know is HTML to start using it right away
Where to get it? You can use Selenium-Core and customize everything  But it is easier to just get a Firefox plug-in “Selenium-IDE” that helps you “record” test cases You can record how an app is being used and then play back those recordings followed by asserts Get everything at: www.openqa.org/selenium/
Selenium IDE The root of web application you want to test The list of actions in the actual test case to execute The log of the events that were executed, including any errors or warning that may have occurred
Selenium IDE Execution Commands Try the test in the Web based TestRunner Reference of the currently selected command  Record test actions Specify commands, including asserts
Test Creation Demo Create test case to log into the gallery Create test case to log out of the gallery
Start Pixory Connect to the Server Go to the Login Screen Hit the Record Button
Type in Username and Password IDE should update Hit submit Hit record again to stop
Add assertTextPresent and type the text to search for Hit play to make sure your test is successful
Creating a Test Suite A Test Suite in Selenium is just an HTML file that contains a table of links to tests <html> <head> <meta content=&quot;text/html; charset=ISO-8859-1&quot; http-equiv=&quot;content-type&quot;> <title>Demo Test Suite</title> </head> <body> <table id=&quot;suiteTable&quot;> <tbody> <tr><td> <b>Demo Test Suite</b> </td></tr> <tr><td> <a href=&quot;./testLogin.html&quot;>TestLogin</a> </td></tr> <tr><td> <a href=&quot;./testLogout.html&quot;>TestLogout</a> </td></tr> </tbody> </table> </body> </html>
Executing the Test Suite Selenium Core is a collection of Javascript and HTML with iFrames Due to security concerns Core must be deployed within the same server as the application being hosted The simplest way to run Pixory is to just run the Java application and let it use its own server Problems using Core with Pixory Selenium IDE is a plug-in for Firefox and thus can go around these restrictions
Running the Test Suite We basically want to execute the test suite using the Selenium IDE plug-in TestRunner.html chrome://selenium-ide/content/selenium/TestRunner.html?baseURL= <BASE> &test=file:/// <TEST SUITE FILE> &auto=true chrome://selenium-ide/content/selenium/TestRunner.html?baseURL= http://localhost:8081 &test=file:/// Users/ms333/projects/classes/running/v_and_v/hw3/selenium/test/TestSuite.html &auto=true
Test Suite
Test Suite Application being tested Test Cases Steps of the test case Execution Control
Test Runner Control
Test Runner Control Run All Tests Run Selected Test Pause/Play Execution Step through Execution Control Speed of Execution Highlight Elements in the Execution View the DOM of the current Page being tested Summary of the Test View the log of the current execution
TestRunner Demo Execute Tests created inside the Firefox TestRunner

More Related Content

PPT
Selenium ide material (1)
PDF
Selenium IDE
PPTX
Learn Test Automation using Selenium - Lesson 1
PPTX
Selenium IDE
PDF
Selenium IDE LOCATORS
PPT
Selenium
PDF
Selenium IDE features
PDF
Selenium Ide Tutorial
Selenium ide material (1)
Selenium IDE
Learn Test Automation using Selenium - Lesson 1
Selenium IDE
Selenium IDE LOCATORS
Selenium
Selenium IDE features
Selenium Ide Tutorial

What's hot (20)

PDF
Selenium IDE and Beyond
PPTX
Selenium ide made easy
PPTX
Test Automation and Selenium
PDF
Selenium IDE Introduction, Installation and Working
PPT
Selenium By Pravin Mishra
PPTX
Selenium
PDF
Introduction to Selenium IDE
PPTX
Automation - web testing with selenium
PPTX
Get Started With Selenium 3 and Selenium 3 Grid
PPT
Selenium Primer
PPTX
Selenium test automation
PPT
Selenium
PPT
Selenium ppt
PPTX
Introduction to selenium
PPT
Selenium ppt
PPT
QSpiders - Automation using Selenium
PPS
Selenium Demo
PPT
Selenium
PPT
Selenium Presentation at Engineering Colleges
PPT
Selenium
Selenium IDE and Beyond
Selenium ide made easy
Test Automation and Selenium
Selenium IDE Introduction, Installation and Working
Selenium By Pravin Mishra
Selenium
Introduction to Selenium IDE
Automation - web testing with selenium
Get Started With Selenium 3 and Selenium 3 Grid
Selenium Primer
Selenium test automation
Selenium
Selenium ppt
Introduction to selenium
Selenium ppt
QSpiders - Automation using Selenium
Selenium Demo
Selenium
Selenium Presentation at Engineering Colleges
Selenium
Ad

Viewers also liked (20)

PDF
Efficient Automated Test Creation With Selenium IDE Plugins
PPTX
Selenium Training
PPT
Selenium
PPT
Steps to write Selenium
PDF
Automated User Tests with Apache Flex
PPT
Sakai10 Selenium Workshop
PPTX
Selenium IDE and Extensions
PPT
Introduction to the INTEGRAL FRAMEWORK
PPT
Introduction to the integral framework
PPTX
2 selenium-aakar gupte
PPTX
Selenium IDE
PPTX
Selenium Webdriver
PDF
Selenium - The page object pattern
PPT
Selenium
PPT
Selenium Automation Framework
PDF
Selenium Automation Framework (SAF).
PDF
Basics of Selenium IDE,Core, Remote Control
DOCX
Selenium WebDriver FAQ's
PDF
Jmeter Performance Testing
PDF
Selenium Basics Tutorial
Efficient Automated Test Creation With Selenium IDE Plugins
Selenium Training
Selenium
Steps to write Selenium
Automated User Tests with Apache Flex
Sakai10 Selenium Workshop
Selenium IDE and Extensions
Introduction to the INTEGRAL FRAMEWORK
Introduction to the integral framework
2 selenium-aakar gupte
Selenium IDE
Selenium Webdriver
Selenium - The page object pattern
Selenium
Selenium Automation Framework
Selenium Automation Framework (SAF).
Basics of Selenium IDE,Core, Remote Control
Selenium WebDriver FAQ's
Jmeter Performance Testing
Selenium Basics Tutorial
Ad

Similar to Selenium Ide Tutorials (20)

PPT
Selenium classes in mumbai
PPTX
Selenium.ppt
PPTX
Selenium Open Source Tool
PPTX
Selenium tutorial
PDF
Selenium
PPTX
Selenium
PPT
Selenium
PPTX
Selenium Testing
PPT
BCS Selenium Workshop
DOCX
Selenium introduction and some feautures
PDF
Selenium Tutorial
PPTX
Selenium.pptx
PPTX
Selenium Automation
PDF
Selenium IDE
ODP
Basic testing with selenium
PDF
Selenium by using JAVA
PPT
Intro Of Selenium
DOCX
What is selenium
ODP
Integrating Selenium testing infrastructure into Scala Project
PPTX
Automated Web Testing With Selenium
Selenium classes in mumbai
Selenium.ppt
Selenium Open Source Tool
Selenium tutorial
Selenium
Selenium
Selenium
Selenium Testing
BCS Selenium Workshop
Selenium introduction and some feautures
Selenium Tutorial
Selenium.pptx
Selenium Automation
Selenium IDE
Basic testing with selenium
Selenium by using JAVA
Intro Of Selenium
What is selenium
Integrating Selenium testing infrastructure into Scala Project
Automated Web Testing With Selenium

Recently uploaded (20)

PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Statistics on Ai - sourced from AIPRM.pdf
PPTX
Configure Apache Mutual Authentication
PDF
CloudStack 4.21: First Look Webinar slides
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPT
What is a Computer? Input Devices /output devices
PDF
Comparative analysis of machine learning models for fake news detection in so...
DOCX
search engine optimization ppt fir known well about this
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
STKI Israel Market Study 2025 version august
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
sbt 2.0: go big (Scala Days 2025 edition)
Statistics on Ai - sourced from AIPRM.pdf
Configure Apache Mutual Authentication
CloudStack 4.21: First Look Webinar slides
The influence of sentiment analysis in enhancing early warning system model f...
OpenACC and Open Hackathons Monthly Highlights July 2025
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
What is a Computer? Input Devices /output devices
Comparative analysis of machine learning models for fake news detection in so...
search engine optimization ppt fir known well about this
UiPath Agentic Automation session 1: RPA to Agents
NewMind AI Weekly Chronicles – August ’25 Week III
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
Developing a website for English-speaking practice to English as a foreign la...
STKI Israel Market Study 2025 version august
Zenith AI: Advanced Artificial Intelligence
A contest of sentiment analysis: k-nearest neighbor versus neural network
sustainability-14-14877-v2.pddhzftheheeeee
Improvisation in detection of pomegranate leaf disease using transfer learni...

Selenium Ide Tutorials

  • 2. What is Selenium? Javascript framework that runs in your web-browser Works anywhere Javascript is supported Hooks for many other languages Java, Ruby, Python Can simulate a user navigating through pages and then assert for specific marks on the pages All you need to really know is HTML to start using it right away
  • 3. Where to get it? You can use Selenium-Core and customize everything But it is easier to just get a Firefox plug-in “Selenium-IDE” that helps you “record” test cases You can record how an app is being used and then play back those recordings followed by asserts Get everything at: www.openqa.org/selenium/
  • 4. Selenium IDE The root of web application you want to test The list of actions in the actual test case to execute The log of the events that were executed, including any errors or warning that may have occurred
  • 5. Selenium IDE Execution Commands Try the test in the Web based TestRunner Reference of the currently selected command Record test actions Specify commands, including asserts
  • 6. Test Creation Demo Create test case to log into the gallery Create test case to log out of the gallery
  • 7. Start Pixory Connect to the Server Go to the Login Screen Hit the Record Button
  • 8. Type in Username and Password IDE should update Hit submit Hit record again to stop
  • 9. Add assertTextPresent and type the text to search for Hit play to make sure your test is successful
  • 10. Creating a Test Suite A Test Suite in Selenium is just an HTML file that contains a table of links to tests <html> <head> <meta content=&quot;text/html; charset=ISO-8859-1&quot; http-equiv=&quot;content-type&quot;> <title>Demo Test Suite</title> </head> <body> <table id=&quot;suiteTable&quot;> <tbody> <tr><td> <b>Demo Test Suite</b> </td></tr> <tr><td> <a href=&quot;./testLogin.html&quot;>TestLogin</a> </td></tr> <tr><td> <a href=&quot;./testLogout.html&quot;>TestLogout</a> </td></tr> </tbody> </table> </body> </html>
  • 11. Executing the Test Suite Selenium Core is a collection of Javascript and HTML with iFrames Due to security concerns Core must be deployed within the same server as the application being hosted The simplest way to run Pixory is to just run the Java application and let it use its own server Problems using Core with Pixory Selenium IDE is a plug-in for Firefox and thus can go around these restrictions
  • 12. Running the Test Suite We basically want to execute the test suite using the Selenium IDE plug-in TestRunner.html chrome://selenium-ide/content/selenium/TestRunner.html?baseURL= <BASE> &test=file:/// <TEST SUITE FILE> &auto=true chrome://selenium-ide/content/selenium/TestRunner.html?baseURL= http://localhost:8081 &test=file:/// Users/ms333/projects/classes/running/v_and_v/hw3/selenium/test/TestSuite.html &auto=true
  • 14. Test Suite Application being tested Test Cases Steps of the test case Execution Control
  • 16. Test Runner Control Run All Tests Run Selected Test Pause/Play Execution Step through Execution Control Speed of Execution Highlight Elements in the Execution View the DOM of the current Page being tested Summary of the Test View the log of the current execution
  • 17. TestRunner Demo Execute Tests created inside the Firefox TestRunner