SlideShare ist ein Scribd-Unternehmen logo
1 von 21
ANIL
Test automation has specific advantages for improving the long-term
efficiency of a software team’s
testing processes. Test automation supports:
Frequent regression testing
 Rapid feedback to developers
 Virtually unlimited iterations of test case execution
 Support for Agile and extreme development methodologies
 Disciplined documentation of test cases
 Customized defect reporting
Finding defects missed by manual testing
AUTOMATION ADVANTAGES
Is automation always advantageous? When should one decide to automate test
cases?
It is not always advantageous to automate test cases. There are times when manual
testing may be
more appropriate. For instance, if the application’s user interface will change
considerably in the near
future, then any automation might need to be rewritten anyway. Also, sometimes
there simply is not
enough time to build test automation. For the short term, manual testing may be
more effective. If an
application has a very tight deadline, there is currently no test automation available,
and it’s imperative
that the testing get done within that time frame, then manual testing is the best
solution.
TO AUTOMATE OR NOT TO
AUTOMATE?
Adv of selenium over qtp.
QTP VS SELENIUM
Adv of QTP over Selenium
QTP VS SELENIUM
Selenium outweighs QTP in three main areas.
Cost
Flexibility
Parallel Testing
SELENIUM
 Selenium is popular open-source web based automation tool.
 It is a free (open source) automated testing suite for web applications across
different browsers and platforms.
SELENIUM
Selenium first came to life in 2004 when Jason Huggins was testing an
internal application at Thought Works. Being a smart guy, he realized
there were better uses of his time than manually stepping through the
same tests with every change he made. He developed a Javascript library
that could drive interactions with the page, allowing him to automatically
rerun tests against multiple browsers. That library eventually became
Selenium Core, which underlies all the functionality of Selenium Remote
Control (RC) and Selenium IDE. Selenium RC was ground-breaking
because no other product allowedyou to control a browser from a
language of your choosing.
SELENIUM
It came from a joke which Jason cracked one time to his team. Another
automated testing framework was popular during Selenium’s development, and it
was by the company called Mercury Interactive (yes, the company who originally
made QTP before it was acquired by HP). Since Selenium is a well-known
antidote for Mercury poisoning, Jason suggested that name. His teammates took
it, and so that is how we got to call this framework up to the present.
SO, WHY THE NAME SELENIUM
SELENIUM
Selenium IDE (Integrated Development Environment) is a prototyping tool
for building test scripts. It is a Firefox plugin and provides an easy-to-use
interface for developing automated tests. Selenium IDE has a recording feature,
which records user actions as they are performed and then exports them as a
reusable script in one of many programming languages that can be later executed.
Note: Even though Selenium IDE has a “Save” feature that allows users to
keep the tests in a tablebasedformat for later import and execution, it is not
designed to run your test passes nor is it designed to build all the automated tests you will need.
Specifically, Selenium IDE doesn’t provide iteration or conditional statements
for test scripts. At the time of writing there is no plan to add such thing. The
reasons are partly technical and partly based on the Selenium developers
encouraging best practices in test automation which always requires some
amount of programming.
SELENIUM-IDE
Selenium IDE is simply intended as a rapid prototyping tool. The
Selenium developers recommend for serious, robust test automation
either Selenium 2 or Selenium 1 to be used with one of the many
supported programming languages.
SELENIUM-IDE
Many people get started with Selenium IDE. If you are not already
experienced with a programming or scripting language you can use
Selenium IDE to get familiar with Selenium commands. Using the
IDE you can create simple tests quickly, sometimes within seconds.
CHOOSING YOUR SELENIUM
TOOL
SUPPORTED BROWSERS
The Selenium-IDE (Integrated Development Environment) is the
tool you use to develop your Selenium test cases. It’s an easy-to-use
Firefox plug-in and is generally the most efficient way to develop
test cases. It also contains a context menu that allows you to first
select a UI element from the browser’s currently displayed page and
then select from a list of Selenium commands with parameters pre-
defined according to the context of the selected UI element. This is
not only a time-saver, but also an excellent way of learning Selenium
script syntax.
SELENIUM IDE-INTRODUCTION
Using Firefox, first, download the IDE from the Selenium. Firefox will
protect you from installing add-ons from unfamiliar locations, so you will
need to click ‘Allow’ to proceed with the installation, as shown in the
following screenshot.
INSTALLING THE IDE
INSTALLING THE IDE
When downloading from Firefox, you’ll be presented with the following
window.
SELENIUM IDE-DOWNLOAD
Restart Firefox. After Firefox reboots you will find the Selenium-IDE
listed under the Firefox Tools menu.
SELENIUM IDE-FIREFOX
To run the Selenium-IDE, simply select it from the Firefox Tools menu.
It opens as follows with an empty script-editing window and a menu for
loading, or creating new test cases.
OPENING THE IDE
Selenium

Weitere ähnliche Inhalte

Was ist angesagt?

Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
SQABD
 
Appium: Mobile Automation Made Awesome
Appium: Mobile Automation Made AwesomeAppium: Mobile Automation Made Awesome
Appium: Mobile Automation Made Awesome
Netcetera
 

Was ist angesagt? (20)

Tanvir Afzal: Selenium
Tanvir Afzal: SeleniumTanvir Afzal: Selenium
Tanvir Afzal: Selenium
 
Introduction To Appium With Robotframework
Introduction To Appium With RobotframeworkIntroduction To Appium With Robotframework
Introduction To Appium With Robotframework
 
Selenium introduction
Selenium introductionSelenium introduction
Selenium introduction
 
Introduction to Selenium Automation
Introduction to Selenium AutomationIntroduction to Selenium Automation
Introduction to Selenium Automation
 
Java notes
Java notesJava notes
Java notes
 
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
 
Cross browser testing
Cross browser testingCross browser testing
Cross browser testing
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
Selenium
SeleniumSelenium
Selenium
 
Appium: Mobile Automation Made Awesome
Appium: Mobile Automation Made AwesomeAppium: Mobile Automation Made Awesome
Appium: Mobile Automation Made Awesome
 
Async webdriverjs
Async webdriverjsAsync webdriverjs
Async webdriverjs
 
Guide To Effective Cross Browser Testing
Guide To Effective Cross Browser TestingGuide To Effective Cross Browser Testing
Guide To Effective Cross Browser Testing
 
Get Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 GridGet Started With Selenium 3 and Selenium 3 Grid
Get Started With Selenium 3 and Selenium 3 Grid
 
Selenium
SeleniumSelenium
Selenium
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
 
Continuous Integration of Mobile Apps with Docker and Appium
Continuous Integration of Mobile Apps with Docker and AppiumContinuous Integration of Mobile Apps with Docker and Appium
Continuous Integration of Mobile Apps with Docker and Appium
 
How To Automate Cross Browser Testing
How To Automate Cross Browser TestingHow To Automate Cross Browser Testing
How To Automate Cross Browser Testing
 

Ähnlich wie Selenium

Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
AnanthReddy38
 

Ähnlich wie Selenium (20)

Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 
Selenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt LtdSelenium Latest Version Update | QR Solutions Pvt Ltd
Selenium Latest Version Update | QR Solutions Pvt Ltd
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
Basics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote ControlBasics of Selenium IDE,Core, Remote Control
Basics of Selenium IDE,Core, Remote Control
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Top 3 selenium IDE alternatives for Chrome and Firefox
Top 3 selenium IDE alternatives for Chrome and FirefoxTop 3 selenium IDE alternatives for Chrome and Firefox
Top 3 selenium IDE alternatives for Chrome and Firefox
 
Selenium
SeleniumSelenium
Selenium
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
Upcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testingUpcoming new features of selenium in automation testing
Upcoming new features of selenium in automation testing
 
Introduction to Selenium Testing
Introduction to Selenium TestingIntroduction to Selenium Testing
Introduction to Selenium Testing
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
Making Sense of Selenium
Making Sense of SeleniumMaking Sense of Selenium
Making Sense of Selenium
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
What is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdfWhat is Selenium Automation Testing.pdf
What is Selenium Automation Testing.pdf
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Selenium

  • 2. Test automation has specific advantages for improving the long-term efficiency of a software team’s testing processes. Test automation supports: Frequent regression testing  Rapid feedback to developers  Virtually unlimited iterations of test case execution  Support for Agile and extreme development methodologies  Disciplined documentation of test cases  Customized defect reporting Finding defects missed by manual testing AUTOMATION ADVANTAGES
  • 3. Is automation always advantageous? When should one decide to automate test cases? It is not always advantageous to automate test cases. There are times when manual testing may be more appropriate. For instance, if the application’s user interface will change considerably in the near future, then any automation might need to be rewritten anyway. Also, sometimes there simply is not enough time to build test automation. For the short term, manual testing may be more effective. If an application has a very tight deadline, there is currently no test automation available, and it’s imperative that the testing get done within that time frame, then manual testing is the best solution. TO AUTOMATE OR NOT TO AUTOMATE?
  • 4. Adv of selenium over qtp. QTP VS SELENIUM
  • 5. Adv of QTP over Selenium QTP VS SELENIUM
  • 6. Selenium outweighs QTP in three main areas. Cost Flexibility Parallel Testing SELENIUM
  • 7.  Selenium is popular open-source web based automation tool.  It is a free (open source) automated testing suite for web applications across different browsers and platforms. SELENIUM
  • 8. Selenium first came to life in 2004 when Jason Huggins was testing an internal application at Thought Works. Being a smart guy, he realized there were better uses of his time than manually stepping through the same tests with every change he made. He developed a Javascript library that could drive interactions with the page, allowing him to automatically rerun tests against multiple browsers. That library eventually became Selenium Core, which underlies all the functionality of Selenium Remote Control (RC) and Selenium IDE. Selenium RC was ground-breaking because no other product allowedyou to control a browser from a language of your choosing. SELENIUM
  • 9. It came from a joke which Jason cracked one time to his team. Another automated testing framework was popular during Selenium’s development, and it was by the company called Mercury Interactive (yes, the company who originally made QTP before it was acquired by HP). Since Selenium is a well-known antidote for Mercury poisoning, Jason suggested that name. His teammates took it, and so that is how we got to call this framework up to the present. SO, WHY THE NAME SELENIUM
  • 11. Selenium IDE (Integrated Development Environment) is a prototyping tool for building test scripts. It is a Firefox plugin and provides an easy-to-use interface for developing automated tests. Selenium IDE has a recording feature, which records user actions as they are performed and then exports them as a reusable script in one of many programming languages that can be later executed. Note: Even though Selenium IDE has a “Save” feature that allows users to keep the tests in a tablebasedformat for later import and execution, it is not designed to run your test passes nor is it designed to build all the automated tests you will need. Specifically, Selenium IDE doesn’t provide iteration or conditional statements for test scripts. At the time of writing there is no plan to add such thing. The reasons are partly technical and partly based on the Selenium developers encouraging best practices in test automation which always requires some amount of programming. SELENIUM-IDE
  • 12. Selenium IDE is simply intended as a rapid prototyping tool. The Selenium developers recommend for serious, robust test automation either Selenium 2 or Selenium 1 to be used with one of the many supported programming languages. SELENIUM-IDE
  • 13. Many people get started with Selenium IDE. If you are not already experienced with a programming or scripting language you can use Selenium IDE to get familiar with Selenium commands. Using the IDE you can create simple tests quickly, sometimes within seconds. CHOOSING YOUR SELENIUM TOOL
  • 15. The Selenium-IDE (Integrated Development Environment) is the tool you use to develop your Selenium test cases. It’s an easy-to-use Firefox plug-in and is generally the most efficient way to develop test cases. It also contains a context menu that allows you to first select a UI element from the browser’s currently displayed page and then select from a list of Selenium commands with parameters pre- defined according to the context of the selected UI element. This is not only a time-saver, but also an excellent way of learning Selenium script syntax. SELENIUM IDE-INTRODUCTION
  • 16. Using Firefox, first, download the IDE from the Selenium. Firefox will protect you from installing add-ons from unfamiliar locations, so you will need to click ‘Allow’ to proceed with the installation, as shown in the following screenshot. INSTALLING THE IDE
  • 18. When downloading from Firefox, you’ll be presented with the following window. SELENIUM IDE-DOWNLOAD
  • 19. Restart Firefox. After Firefox reboots you will find the Selenium-IDE listed under the Firefox Tools menu. SELENIUM IDE-FIREFOX
  • 20. To run the Selenium-IDE, simply select it from the Firefox Tools menu. It opens as follows with an empty script-editing window and a menu for loading, or creating new test cases. OPENING THE IDE