SlideShare une entreprise Scribd logo
1  sur  27
Selenium IDE – Testing Tool
What is Selenium?
• Selenium is a robust set of tools that supports rapid
development of test automation for web-based
applications.
• 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
Selenium
• You can use open source - Selenium tool
• Selenium IDE is a plug-in to Firefox to record and
playback tests (like WinRunner, QTP).
• You can then export the recorded test in most
language e.g. HTML, Java , .NET , Perl , Ruby etc.
• The exported test can be run in any browser and
any platform using "selenium remote control".
Where to get it?
• You can use Selenium-Core and customize
everything – deprecated.
• 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
playback those recordings followed by asserts.
• Get everything at: www.openqa.org/selenium/
Selenium Components
Selenium-IDE
• Integrated Development Environment for building Selenium test
cases.
• Operates as a Firefox add-on and provides an interface for
developing and running individual test cases or entire test
suites.
• Selenium-IDE has a recording feature, which will keep account
of user actions as they are performed and store them as a
reusable script to play back.
• It also has a context menu (right-click) integrated with the
Firefox browser, which allows the user to pick from a list of
assertions and verifications for the selected location.
• Offers full editing of test cases.
• Although it is a Firefox only add-on, tests created in it can also
be run against other browsers by using Selenium-RC &
specifying the name of the test suite on the command line.
Selenium-RC (Remote Control)
• Selenium-RC provides an API (Application
Programming Interface) and library for each of its
supported languages: HTML, Java, C#, Perl, PHP,
Python, and Ruby.
• This ability to use Selenium-RC with a high-level
programming language to develop test cases also
allows the automated testing to be integrated with a
project’s automated build environment.
Selenium-Grid
Selenium-Grid allows the Selenium-RC solution to scale for
test suites or test suites to be run in multiple environments.
• With Selenium-Grid multiple instances of Selenium-RC are
running on various operating system and browser
configurations, each of these when launching register with a
hub. When tests are sent to the hub they are then redirected
to an available Selenium-RC, which will launch the browser
and run the test.
• This allows for running tests in parallel, with the entire test
suite theoretically taking only as long to run as the longest
individual test.
Steps to start with Selenium!
1) Begin: write and run tests in Firefox.
Selenium IDE is a Firefox add-on that records clicks, typing,
and other actions to make a test, which you can play back in
the browser.
2) Customize: your language, your browser.
Selenium Remote Control (RC) runs your tests in multiple
browsers and platforms. Tweak your tests in your preferred
language.
3) Deploy: scale out, speed up
Selenium Grid extends Selenium RC to distribute your tests
across multiple servers, saving you time by running tests in
parallel.
Browser Selenium-IDE Selenium-RC Operating Systems
Firefox 3
1.0 Beta-1 & 1.0 Beta-2:
Record and playback tests
Start browser, run tests Windows, Linux, Mac
Firefox 2
1.0 Beta-1: Record and
playback tests
Start browser, run tests Windows, Linux, Mac
IE 8 Under development Windows
IE 7
Test execution only via
Selenium-RC
Start browser, run tests Windows
Safari 3
Test execution only via
Selenium-RC
Start browser, run tests Mac
Safari 2
Test execution only via
Selenium-RC
Start browser, run tests Mac
Opera 9
Test execution only via
Selenium-RC
Start browser, run tests Windows, Linux, Mac
Opera 8
Test execution only via
Selenium-RC
Start browser, run tests Windows, Linux, Mac
Google Chrome
Test execution only via
Selenium-RC(Windows)
Start browser, run tests Windows
Others
Test execution only via
Selenium-RC
Partial support possible As applicable
Supported Browsers
* Tests developed on Firefox via Selenium-IDE can be executed on any other supported
browser via a simple Selenium-RC command line.
Selenium Commands – Selenese
1) Actions are commands that generally manipulate the state of
the application. They do things like “click this link” and “select
that option”.
• Can be called with “AndWait” suffix, e.g. “clickAndWait”.
2) Accessors examine the state of the application and store the
results in variables, e.g. “storeTitle”.
• They are also used to automatically generate Assertions.
3) Assertions are like Accessors, but verify that the state of the
application conforms to what is expected. Eg. “make sure the
page title is X”, “verify that this checkbox is checked”.
• All Selenium Assertions can be used in 3 modes: “assert”,
“verify”, and ” waitFor”. For example, you can “assertText”,
“verifyText” and “waitForText”.
Selenium IDE
The list of
actions in the
actual test
case
to execute
The root of web
application you
want to test
The log of the
events that were
executed, including
any errors or
warning that may
have occurred
Selenium IDE
Execution
Commands
Record test
actions
Try the test in
the Web based
TestRunner
Specify commands,
including asserts
Reference of the
currently selected
command
Login to http://test.roosterit.com/
Click on Tools || Selenium IDE
Selenium IDE in recording Mode
Selenium IDE
records the Test
Steps
Stop Recording
Save Test Case/Test Suite
Make the
required
changes to
the Test Case
change Click
to
clickAndWait
command
Make the required
changes to the Test
Case – change the
email id in the
second parameter
Make other
changes
Second Test Case:
searchConsultant
1) Record
2) Stop Recording
3) Save with a Name
4) Make Required
Changes to
parameters or
Commands
5) Play
Run the entire Test Suite/Each Test Case
See RESULT Here
Test Suite on Firefox
addConsultant
Test Case
Changes made to
addConsultant
Test Case
Test Case Saved in HTML Tabular Format
Creating a Test Suite
A Test Suite in Selenium is just an HTML file that contains a
table of links to tests
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>Test Suite</title>
</head>
<body>
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1"
class="selenium">
<tbody>
<tr><td><b>Test Suite</b></td></tr>
<tr><td><a href="addConsultant.html">addConsultant</a></td></tr>
<tr><td><a href="searchConsultant">searchConsultant</a></td></tr>
</tbody>
</table>
</body>
</html>
Questions?

Contenu connexe

Tendances

Introduction to Selenium
Introduction to SeleniumIntroduction to Selenium
Introduction to SeleniumKnoldus Inc.
 
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, automationRIA RUI Society
 
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011hugs
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniumshreyas JC
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorialprad_123
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Selenium Test Automation - Challenges
Selenium Test Automation - ChallengesSelenium Test Automation - Challenges
Selenium Test Automation - ChallengesArul Selvan
 
Mastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsMastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsNick Belhomme
 
Selenium rc ppt
Selenium rc pptSelenium rc ppt
Selenium rc pptmindqqa
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumJodie Miners
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Seleniumadamcarmi
 

Tendances (20)

Introduction to Selenium
Introduction to SeleniumIntroduction to Selenium
Introduction to Selenium
 
Selenium
SeleniumSelenium
Selenium
 
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
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
 
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
Extreme Testing with Selenium - @hugs at Jenkins User Conference 2011
 
Selenium With Spices
Selenium With SpicesSelenium With Spices
Selenium With Spices
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium Tutorial
Selenium TutorialSelenium Tutorial
Selenium Tutorial
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Selenium Test Automation - Challenges
Selenium Test Automation - ChallengesSelenium Test Automation - Challenges
Selenium Test Automation - Challenges
 
Selenium
SeleniumSelenium
Selenium
 
Mastering selenium for automated acceptance tests
Mastering selenium for automated acceptance testsMastering selenium for automated acceptance tests
Mastering selenium for automated acceptance tests
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
QSpiders - Selenium Webdriver
QSpiders - Selenium WebdriverQSpiders - Selenium Webdriver
QSpiders - Selenium Webdriver
 
Selenium rc ppt
Selenium rc pptSelenium rc ppt
Selenium rc ppt
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium IDE features
Selenium IDE featuresSelenium IDE features
Selenium IDE features
 
Jenkins & Selenium
Jenkins & SeleniumJenkins & Selenium
Jenkins & Selenium
 

En vedette

Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and ExtensionsYana Altunyan
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache FlexGert Poppe
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshopcoreyjack
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
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
 
Selenium Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorialsgueste1e4db
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2Akash Tyagi
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchLizzy Guido (she/her)
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTijs Vrolix
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basicmedsherb
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsPerfecto by Perforce
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingPerfecto by Perforce
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationLizzy Guido (she/her)
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobilePerfecto Mobile
 

En vedette (20)

Selenium Training
Selenium TrainingSelenium Training
Selenium Training
 
Selenium IDE and Extensions
Selenium IDE and ExtensionsSelenium IDE and Extensions
Selenium IDE and Extensions
 
Automated User Tests with Apache Flex
Automated User Tests with Apache FlexAutomated User Tests with Apache Flex
Automated User Tests with Apache Flex
 
Sakai10 Selenium Workshop
Sakai10 Selenium WorkshopSakai10 Selenium Workshop
Sakai10 Selenium Workshop
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
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
 
Selenium Ide Tutorials
Selenium Ide TutorialsSelenium Ide Tutorials
Selenium Ide Tutorials
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2
 
TechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a BossTechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a Boss
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect Match
 
Qtp 80 Basics3561
Qtp 80 Basics3561Qtp 80 Basics3561
Qtp 80 Basics3561
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile web
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basic
 
Qtp day 1
Qtp day 1Qtp day 1
Qtp day 1
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile Platforms
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World Testing
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID Automation
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
 

Similaire à Selenium

Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniumTờ Rang
 
Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using RubyKumari Warsha Goel
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Selenium institute in bangalore
Selenium institute in bangaloreSelenium institute in bangalore
Selenium institute in bangaloreTIB Academy
 
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.pdfMinh Quân Đoàn
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsQUONTRASOLUTIONS
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshitAvinashNareshIT
 
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
 

Similaire à Selenium (20)

Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium Automation Using Ruby
Selenium Automation Using RubySelenium Automation Using Ruby
Selenium Automation Using Ruby
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Selenium institute in bangalore
Selenium institute in bangaloreSelenium institute in bangalore
Selenium institute in bangalore
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to 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 Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Selenium
SeleniumSelenium
Selenium
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Selenium online training nareshit
Selenium online training nareshitSelenium online training nareshit
Selenium online training nareshit
 
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 ...
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 

Plus de BugRaptors

Performance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing LandscapePerformance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing LandscapeBugRaptors
 
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design 13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design BugRaptors
 
Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?BugRaptors
 
BFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI SectorBFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI SectorBugRaptors
 
Media Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The SignificanceMedia Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The SignificanceBugRaptors
 
Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective BugRaptors
 
Regression Testing - An Overview
Regression Testing - An OverviewRegression Testing - An Overview
Regression Testing - An OverviewBugRaptors
 
Cloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud TechnologyCloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud TechnologyBugRaptors
 
Importance of Performance Testing.pptx
Importance of Performance Testing.pptxImportance of Performance Testing.pptx
Importance of Performance Testing.pptxBugRaptors
 
Media & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptorsMedia & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptorsBugRaptors
 
Usability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UXUsability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UXBugRaptors
 
Tips To Follow For A Simple QA Process
Tips To Follow For A Simple QA ProcessTips To Follow For A Simple QA Process
Tips To Follow For A Simple QA ProcessBugRaptors
 
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM WorkflowsCRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM WorkflowsBugRaptors
 
Test Automation - Everything You Need To Know
Test Automation - Everything You Need To KnowTest Automation - Everything You Need To Know
Test Automation - Everything You Need To KnowBugRaptors
 
Stress testing ERP frameworks
Stress testing ERP frameworksStress testing ERP frameworks
Stress testing ERP frameworksBugRaptors
 
Top 10 Automation Testing Tools
Top 10 Automation Testing ToolsTop 10 Automation Testing Tools
Top 10 Automation Testing ToolsBugRaptors
 
Software Testing Trends For 2021
Software Testing Trends For 2021Software Testing Trends For 2021
Software Testing Trends For 2021BugRaptors
 
Banking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate PerformanceBanking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate PerformanceBugRaptors
 
Test Automation Trends For 2021
Test Automation Trends For 2021Test Automation Trends For 2021
Test Automation Trends For 2021BugRaptors
 
ERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale OrganizationsERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale OrganizationsBugRaptors
 

Plus de BugRaptors (20)

Performance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing LandscapePerformance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing Landscape
 
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design 13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
 
Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?
 
BFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI SectorBFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI Sector
 
Media Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The SignificanceMedia Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The Significance
 
Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective
 
Regression Testing - An Overview
Regression Testing - An OverviewRegression Testing - An Overview
Regression Testing - An Overview
 
Cloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud TechnologyCloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud Technology
 
Importance of Performance Testing.pptx
Importance of Performance Testing.pptxImportance of Performance Testing.pptx
Importance of Performance Testing.pptx
 
Media & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptorsMedia & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptors
 
Usability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UXUsability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UX
 
Tips To Follow For A Simple QA Process
Tips To Follow For A Simple QA ProcessTips To Follow For A Simple QA Process
Tips To Follow For A Simple QA Process
 
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM WorkflowsCRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
 
Test Automation - Everything You Need To Know
Test Automation - Everything You Need To KnowTest Automation - Everything You Need To Know
Test Automation - Everything You Need To Know
 
Stress testing ERP frameworks
Stress testing ERP frameworksStress testing ERP frameworks
Stress testing ERP frameworks
 
Top 10 Automation Testing Tools
Top 10 Automation Testing ToolsTop 10 Automation Testing Tools
Top 10 Automation Testing Tools
 
Software Testing Trends For 2021
Software Testing Trends For 2021Software Testing Trends For 2021
Software Testing Trends For 2021
 
Banking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate PerformanceBanking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate Performance
 
Test Automation Trends For 2021
Test Automation Trends For 2021Test Automation Trends For 2021
Test Automation Trends For 2021
 
ERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale OrganizationsERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale Organizations
 

Dernier

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 

Dernier (20)

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

Selenium

  • 1. Selenium IDE – Testing Tool
  • 2. What is Selenium? • Selenium is a robust set of tools that supports rapid development of test automation for web-based applications. • 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. Selenium • You can use open source - Selenium tool • Selenium IDE is a plug-in to Firefox to record and playback tests (like WinRunner, QTP). • You can then export the recorded test in most language e.g. HTML, Java , .NET , Perl , Ruby etc. • The exported test can be run in any browser and any platform using "selenium remote control".
  • 4. Where to get it? • You can use Selenium-Core and customize everything – deprecated. • 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 playback those recordings followed by asserts. • Get everything at: www.openqa.org/selenium/
  • 6. Selenium-IDE • Integrated Development Environment for building Selenium test cases. • Operates as a Firefox add-on and provides an interface for developing and running individual test cases or entire test suites. • Selenium-IDE has a recording feature, which will keep account of user actions as they are performed and store them as a reusable script to play back. • It also has a context menu (right-click) integrated with the Firefox browser, which allows the user to pick from a list of assertions and verifications for the selected location. • Offers full editing of test cases. • Although it is a Firefox only add-on, tests created in it can also be run against other browsers by using Selenium-RC & specifying the name of the test suite on the command line.
  • 7. Selenium-RC (Remote Control) • Selenium-RC provides an API (Application Programming Interface) and library for each of its supported languages: HTML, Java, C#, Perl, PHP, Python, and Ruby. • This ability to use Selenium-RC with a high-level programming language to develop test cases also allows the automated testing to be integrated with a project’s automated build environment.
  • 8. Selenium-Grid Selenium-Grid allows the Selenium-RC solution to scale for test suites or test suites to be run in multiple environments. • With Selenium-Grid multiple instances of Selenium-RC are running on various operating system and browser configurations, each of these when launching register with a hub. When tests are sent to the hub they are then redirected to an available Selenium-RC, which will launch the browser and run the test. • This allows for running tests in parallel, with the entire test suite theoretically taking only as long to run as the longest individual test.
  • 9. Steps to start with Selenium! 1) Begin: write and run tests in Firefox. Selenium IDE is a Firefox add-on that records clicks, typing, and other actions to make a test, which you can play back in the browser. 2) Customize: your language, your browser. Selenium Remote Control (RC) runs your tests in multiple browsers and platforms. Tweak your tests in your preferred language. 3) Deploy: scale out, speed up Selenium Grid extends Selenium RC to distribute your tests across multiple servers, saving you time by running tests in parallel.
  • 10. Browser Selenium-IDE Selenium-RC Operating Systems Firefox 3 1.0 Beta-1 & 1.0 Beta-2: Record and playback tests Start browser, run tests Windows, Linux, Mac Firefox 2 1.0 Beta-1: Record and playback tests Start browser, run tests Windows, Linux, Mac IE 8 Under development Windows IE 7 Test execution only via Selenium-RC Start browser, run tests Windows Safari 3 Test execution only via Selenium-RC Start browser, run tests Mac Safari 2 Test execution only via Selenium-RC Start browser, run tests Mac Opera 9 Test execution only via Selenium-RC Start browser, run tests Windows, Linux, Mac Opera 8 Test execution only via Selenium-RC Start browser, run tests Windows, Linux, Mac Google Chrome Test execution only via Selenium-RC(Windows) Start browser, run tests Windows Others Test execution only via Selenium-RC Partial support possible As applicable Supported Browsers * Tests developed on Firefox via Selenium-IDE can be executed on any other supported browser via a simple Selenium-RC command line.
  • 11. Selenium Commands – Selenese 1) Actions are commands that generally manipulate the state of the application. They do things like “click this link” and “select that option”. • Can be called with “AndWait” suffix, e.g. “clickAndWait”. 2) Accessors examine the state of the application and store the results in variables, e.g. “storeTitle”. • They are also used to automatically generate Assertions. 3) Assertions are like Accessors, but verify that the state of the application conforms to what is expected. Eg. “make sure the page title is X”, “verify that this checkbox is checked”. • All Selenium Assertions can be used in 3 modes: “assert”, “verify”, and ” waitFor”. For example, you can “assertText”, “verifyText” and “waitForText”.
  • 12. Selenium IDE The list of actions in the actual test case to execute The root of web application you want to test The log of the events that were executed, including any errors or warning that may have occurred
  • 13. Selenium IDE Execution Commands Record test actions Try the test in the Web based TestRunner Specify commands, including asserts Reference of the currently selected command
  • 14. Login to http://test.roosterit.com/ Click on Tools || Selenium IDE
  • 15. Selenium IDE in recording Mode
  • 16. Selenium IDE records the Test Steps Stop Recording
  • 18. Make the required changes to the Test Case change Click to clickAndWait command
  • 19. Make the required changes to the Test Case – change the email id in the second parameter Make other changes
  • 20. Second Test Case: searchConsultant 1) Record 2) Stop Recording 3) Save with a Name 4) Make Required Changes to parameters or Commands 5) Play
  • 21. Run the entire Test Suite/Each Test Case See RESULT Here
  • 22. Test Suite on Firefox
  • 25. Test Case Saved in HTML Tabular Format
  • 26. Creating a Test Suite A Test Suite in Selenium is just an HTML file that contains a table of links to tests <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <title>Test Suite</title> </head> <body> <table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"> <tbody> <tr><td><b>Test Suite</b></td></tr> <tr><td><a href="addConsultant.html">addConsultant</a></td></tr> <tr><td><a href="searchConsultant">searchConsultant</a></td></tr> </tbody> </table> </body> </html>

Notes de l'éditeur

  1. Selenium-RC allows the test automation developer to use a programming language for maximum flexibility and extensibility in developing test logic. For instance, if the application under test returns a result set, and if the automated test program needs to run tests on each element in the result set, the programming language’s iteration support can be used to iterate through the result set, calling Selenium commands to run tests on each item.