SlideShare a Scribd company logo
Test Automation



Building effective solutions
by Artem Nagornyi
select the right tool
In order to understand whether a test automation tool was
selected properly, you should begin with answering a few
questions:
● Is your tool compatible with the application environment,
  technologies, and interfaces?
● What is the cost of your chosen test automation tool?
● How easy it is to write, execute, and maintain test scripts?
● Is it possible to extend the tool with additional components?
● How fast can a person learn the scripting language used by
  the tool?
● Is your vendor ready to resolve tool-related issues? Is the
  community support strong enough?
● How reliable is your test automation tool?
building the
framework
Data-driven type of framework with page objects.

                         Site Class



    "Page A" Class     "Page B" Class    "Page C" Class




                           Tests



        Helpers                             Driver
select test cases for
automation
How do we select test cases for automation? "Automate
them all" is hardly an answer if you are focused on quality
and efficiency.

You should automate a manual test case only when:
● Your test case is executed frequently enough, and takes
   time to run manually. Especially this is actual for large
   regression test suites.
● You have a test that will run with different sets of data.
● Your test case needs to be run under many different
   platforms and system configurations.
select test cases for
automation
On the other hand, test automation is not recommended in
the following cases:

● Usability testing.
● When the functionality of the application changes
  frequently.
● When the expenditures on test automation tools and the
  support of already existing tests are too high.
● When test automation doesn't provide enough
  advantages if compared to manual testing.
test automation
lifecycle
sharing the
responsibilities


                                                ●   TA Engineers
●   QA Engineers
                                      Test      ●   Developers
                   Manual Test     Automation
                     Cases         Framework
                                  Development


                    Automated      Execution
                   Test Scripts   and Results
                   Development      Analysis
●   QA Engineers                                ●   TA Engineers
●   TA Engineers                                ●   QA Engineers
what is selenium
webdriver?
● Open-source, multi-platform, multi-browser tool for
  browser-based Web UI automation that is de facto
  standard in the world of Web UI test automation.
what is selenium
webdriver?
All browsers, all versions are equally
supported.




Once written, test script in most cases will work
for all browsers without modifications.
what is selenium
webdriver?
Test scripts can be developed in any
programming language of your preference.
what is selenium
webdriver?
Many frameworks are supported:
●    JUnit
●    NUnit
●    TestNG
●    unittest
●    RSpec
●    Test::Unit
●    Bromine
●    Robot
●    FitNesse
... and others.
what is selenium
webdriver?
Has the biggest and strongest community
among all open-source test automation tools.
what is selenium
webdriver?
Example of Selenium WebDriver script:

   WebDriver driver = new FirefoxDriver();

   // Go to the Google Suggest home page

   driver.get("http://www.google.com/webhp?complete=1&hl=en");

   // Enter the query string "Cheese"

   WebElement query = driver.findElement(By.name("q"));

   query.sendKeys("Cheese");
what is sikuli?
● Open-source, multi-platform visual technology to
  automate graphical user interfaces using images of
  objects on the screen and OCR.
what is sikuli?
Virtually any application interface and platform
can be automated. The only requirement is
Java.
what is sikuli?
Test scripts can be developed either in Jython
or Java.
what is sikuli?
Images of elements can be captured in Sikuli
IDE.
what is sikuli?
Example test script in Sikuli:

   #Start program
   calcApp = App("Calculator")
   if not calcApp.window():
       App.open("calc.exe"); wait(2)
       calcApp.focus(); wait(1)
   #Verify that the window appeared
   if exists("CalcApp.png"):
       print("PASS: Calculator window appeared")
   else:
       print("FAIL: No calculator window")
   click("2.png"); click("plus.png"); click("3.png")
   #Verify the addition result
   find("5.png")
what is testng?
TestNG is a testing framework inspired from JUnit and
NUnit but introducing some new functionalities that make it
more powerful and easier to use, such as:
● Annotations.
● Flexible test configuration.
● Support for data-driven testing.
● Support for parameters.
● Powerful execution model.
● Supported by a variety of tools and plug-ins (Eclipse,
   IDEA, Maven, etc...).
what is apache ant?
Software tool for automating software build processes.




It can be used for preparing environment, compilation and
execution of test scripts if they are developed in Java.
what is jenkins?
Open-source continuous integration server with 300+
plugins to support all kinds of software development.




It can be used to make test automation processes more
solid by:
● Updating tests from source control repository before
    execution.
●   Scheduling test execution.
●   Keeping test results and history.
demo
Test automation framework that is built upon the following
tools:
 ● Selenium WebDriver
 ● Sikuli
 ● TestNG
 ● Apache Ant
 ● Jenkins
questions?

More Related Content

What's hot (20)

PPTX
Automated UI testing done right (DDDSydney)
Mehdi Khalili
 
PDF
Mastering Test Automation: How to Use Selenium Successfully
Applitools
 
PDF
Selenium Automation Testing Interview Questions And Answers
Ajit Jadhav
 
DOCX
Selenium WebDriver FAQ's
Praveen Gorantla
 
DOCX
Ajit jadhav automation_qa_4_ yrs
Ajit Jadhav
 
PPTX
Selenium using Java
F K
 
PDF
Open Source Software Testing Tools
Varuna Harshana
 
PPTX
Software Automation Testing Introduction
Narayanan Palani
 
PDF
Selenium Overview
Abhijeet Vaikar
 
PPTX
Test Automation with Twist and Sahi
ericjamesblackburn
 
PDF
UI Testing Automation
AgileEngine
 
DOCX
Automation Frame works Instruction Sheet
vodQA
 
PDF
Selenium presentation
P.V.G'S COET, PUNE - 09
 
PDF
Top trending selenium interview questions
Rock Interview
 
PPTX
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
DOCX
Realtime selenium interview questions
Kuldeep Pawar
 
PPTX
An overview of selenium webdriver
Anuraj S.L
 
PPTX
Introduction to Selenium Web Driver
Return on Intelligence
 
PPT
Introduction to Selenium
rohitnayak
 
PPTX
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 
Automated UI testing done right (DDDSydney)
Mehdi Khalili
 
Mastering Test Automation: How to Use Selenium Successfully
Applitools
 
Selenium Automation Testing Interview Questions And Answers
Ajit Jadhav
 
Selenium WebDriver FAQ's
Praveen Gorantla
 
Ajit jadhav automation_qa_4_ yrs
Ajit Jadhav
 
Selenium using Java
F K
 
Open Source Software Testing Tools
Varuna Harshana
 
Software Automation Testing Introduction
Narayanan Palani
 
Selenium Overview
Abhijeet Vaikar
 
Test Automation with Twist and Sahi
ericjamesblackburn
 
UI Testing Automation
AgileEngine
 
Automation Frame works Instruction Sheet
vodQA
 
Selenium presentation
P.V.G'S COET, PUNE - 09
 
Top trending selenium interview questions
Rock Interview
 
Test automation using selenium
Cynoteck Technology Solutions Private Limited
 
Realtime selenium interview questions
Kuldeep Pawar
 
An overview of selenium webdriver
Anuraj S.L
 
Introduction to Selenium Web Driver
Return on Intelligence
 
Introduction to Selenium
rohitnayak
 
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 

Viewers also liked (20)

PDF
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
Clive Dall
 
PDF
Voip automation framework
Happiest Minds Technologies
 
PPTX
Maximizing UI Automation – A Case Study
Noam Kfir
 
PPTX
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
VibrantGroup
 
PPTX
Coded ui - lesson 3 - case study - calculator
Omer Karpas
 
PPTX
Automation in software engineering
Mphasis
 
PPT
Michael Snyman - Software Test Automation Success
TEST Huddle
 
PDF
Case Study : Manual & Automation Testing
360logica Software Testing Services (A Saksoft Company)
 
PPTX
Testers and Coders - Blurring the Lines
Noam Kfir
 
PDF
Why Test Automation Fails
Ranorex
 
PDF
Test Environment Management Maturity Model
crawforn992
 
PDF
automation testing benefits
nazeer pasha
 
PDF
Optimize DevOps and Agile Strategies with Deployment Automation
XebiaLabs
 
PPT
Environment Delivery Management Services
drummondrj
 
PDF
The Business Case for Test Environment Management Services
Cognizant
 
PPT
Managing Test Environments
Kevin Harvey
 
PDF
Test Environment Management KPI
Valentine Wats
 
PDF
Test Environment Strategy
Tony Barber
 
PDF
Unix command line concepts
Artem Nagornyi
 
PPTX
AMIS 25: DevOps Best Practice for Oracle SOA and BPM
Matt Wright
 
TEST_AUTOMATION_CASE_STUDY_(2)2[1]
Clive Dall
 
Voip automation framework
Happiest Minds Technologies
 
Maximizing UI Automation – A Case Study
Noam Kfir
 
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
VibrantGroup
 
Coded ui - lesson 3 - case study - calculator
Omer Karpas
 
Automation in software engineering
Mphasis
 
Michael Snyman - Software Test Automation Success
TEST Huddle
 
Case Study : Manual & Automation Testing
360logica Software Testing Services (A Saksoft Company)
 
Testers and Coders - Blurring the Lines
Noam Kfir
 
Why Test Automation Fails
Ranorex
 
Test Environment Management Maturity Model
crawforn992
 
automation testing benefits
nazeer pasha
 
Optimize DevOps and Agile Strategies with Deployment Automation
XebiaLabs
 
Environment Delivery Management Services
drummondrj
 
The Business Case for Test Environment Management Services
Cognizant
 
Managing Test Environments
Kevin Harvey
 
Test Environment Management KPI
Valentine Wats
 
Test Environment Strategy
Tony Barber
 
Unix command line concepts
Artem Nagornyi
 
AMIS 25: DevOps Best Practice for Oracle SOA and BPM
Matt Wright
 
Ad

Similar to Test automation - Building effective solutions (20)

PDF
Wso2con test-automation
krishantha_samaraweera
 
PPTX
Automation testing
Mona M. Abd El-Rahman
 
PDF
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2
 
PDF
Top Automation Testing Tools of 2025_ What’s New and What’s Next.pdf
Jace Reed
 
PDF
Agile Testing 2020
arzu TR
 
PPTX
Automation Tools Overview
Murageppa-QA
 
PDF
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
PPTX
Automation Testing with Test Complete
Vartika Saxena
 
PDF
Kickstart Your QA: An Introduction to Automated Regression Testing Tools
Shubham Joshi
 
PPTX
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
PPTX
Software testing
KarnatiChandramoules
 
PDF
Agile testing (n)
Beata Nagy-Kovacs
 
PPTX
Automation Tools Overview
Sachin-QA
 
PPSX
Automation Tool Overview
ANKUR-BA
 
PDF
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
flufftailshop
 
PPTX
How To Transform the Manual Testing Process to Incorporate Test Automation
Ranorex
 
PDF
Getting Started With QA Automation
Giovanni Scerra ☃
 
PDF
A Step-by-Step Guide to Selecting the Right Automated Software Testing Tools.pdf
kalichargn70th171
 
PPTX
How to make Automation an asset for Organization
anuvip
 
PDF
Top Automated Testing Tools for 2024_ A Comprehensive Guide.pdf
kalichargn70th171
 
Wso2con test-automation
krishantha_samaraweera
 
Automation testing
Mona M. Abd El-Rahman
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2
 
Top Automation Testing Tools of 2025_ What’s New and What’s Next.pdf
Jace Reed
 
Agile Testing 2020
arzu TR
 
Automation Tools Overview
Murageppa-QA
 
Improving ROI with Scriptless Test Automation
Mindfire LLC
 
Automation Testing with Test Complete
Vartika Saxena
 
Kickstart Your QA: An Introduction to Automated Regression Testing Tools
Shubham Joshi
 
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
 
Software testing
KarnatiChandramoules
 
Agile testing (n)
Beata Nagy-Kovacs
 
Automation Tools Overview
Sachin-QA
 
Automation Tool Overview
ANKUR-BA
 
Top Software Testing Tools for 2024 - All You Need to Know About.pdf
flufftailshop
 
How To Transform the Manual Testing Process to Incorporate Test Automation
Ranorex
 
Getting Started With QA Automation
Giovanni Scerra ☃
 
A Step-by-Step Guide to Selecting the Right Automated Software Testing Tools.pdf
kalichargn70th171
 
How to make Automation an asset for Organization
anuvip
 
Top Automated Testing Tools for 2024_ A Comprehensive Guide.pdf
kalichargn70th171
 
Ad

Recently uploaded (20)

PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 

Test automation - Building effective solutions

  • 1. Test Automation Building effective solutions by Artem Nagornyi
  • 2. select the right tool In order to understand whether a test automation tool was selected properly, you should begin with answering a few questions: ● Is your tool compatible with the application environment, technologies, and interfaces? ● What is the cost of your chosen test automation tool? ● How easy it is to write, execute, and maintain test scripts? ● Is it possible to extend the tool with additional components? ● How fast can a person learn the scripting language used by the tool? ● Is your vendor ready to resolve tool-related issues? Is the community support strong enough? ● How reliable is your test automation tool?
  • 3. building the framework Data-driven type of framework with page objects. Site Class "Page A" Class "Page B" Class "Page C" Class Tests Helpers Driver
  • 4. select test cases for automation How do we select test cases for automation? "Automate them all" is hardly an answer if you are focused on quality and efficiency. You should automate a manual test case only when: ● Your test case is executed frequently enough, and takes time to run manually. Especially this is actual for large regression test suites. ● You have a test that will run with different sets of data. ● Your test case needs to be run under many different platforms and system configurations.
  • 5. select test cases for automation On the other hand, test automation is not recommended in the following cases: ● Usability testing. ● When the functionality of the application changes frequently. ● When the expenditures on test automation tools and the support of already existing tests are too high. ● When test automation doesn't provide enough advantages if compared to manual testing.
  • 7. sharing the responsibilities ● TA Engineers ● QA Engineers Test ● Developers Manual Test Automation Cases Framework Development Automated Execution Test Scripts and Results Development Analysis ● QA Engineers ● TA Engineers ● TA Engineers ● QA Engineers
  • 8. what is selenium webdriver? ● Open-source, multi-platform, multi-browser tool for browser-based Web UI automation that is de facto standard in the world of Web UI test automation.
  • 9. what is selenium webdriver? All browsers, all versions are equally supported. Once written, test script in most cases will work for all browsers without modifications.
  • 10. what is selenium webdriver? Test scripts can be developed in any programming language of your preference.
  • 11. what is selenium webdriver? Many frameworks are supported: ● JUnit ● NUnit ● TestNG ● unittest ● RSpec ● Test::Unit ● Bromine ● Robot ● FitNesse ... and others.
  • 12. what is selenium webdriver? Has the biggest and strongest community among all open-source test automation tools.
  • 13. what is selenium webdriver? Example of Selenium WebDriver script: WebDriver driver = new FirefoxDriver(); // Go to the Google Suggest home page driver.get("http://www.google.com/webhp?complete=1&hl=en"); // Enter the query string "Cheese" WebElement query = driver.findElement(By.name("q")); query.sendKeys("Cheese");
  • 14. what is sikuli? ● Open-source, multi-platform visual technology to automate graphical user interfaces using images of objects on the screen and OCR.
  • 15. what is sikuli? Virtually any application interface and platform can be automated. The only requirement is Java.
  • 16. what is sikuli? Test scripts can be developed either in Jython or Java.
  • 17. what is sikuli? Images of elements can be captured in Sikuli IDE.
  • 18. what is sikuli? Example test script in Sikuli: #Start program calcApp = App("Calculator") if not calcApp.window(): App.open("calc.exe"); wait(2) calcApp.focus(); wait(1) #Verify that the window appeared if exists("CalcApp.png"): print("PASS: Calculator window appeared") else: print("FAIL: No calculator window") click("2.png"); click("plus.png"); click("3.png") #Verify the addition result find("5.png")
  • 19. what is testng? TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as: ● Annotations. ● Flexible test configuration. ● Support for data-driven testing. ● Support for parameters. ● Powerful execution model. ● Supported by a variety of tools and plug-ins (Eclipse, IDEA, Maven, etc...).
  • 20. what is apache ant? Software tool for automating software build processes. It can be used for preparing environment, compilation and execution of test scripts if they are developed in Java.
  • 21. what is jenkins? Open-source continuous integration server with 300+ plugins to support all kinds of software development. It can be used to make test automation processes more solid by: ● Updating tests from source control repository before execution. ● Scheduling test execution. ● Keeping test results and history.
  • 22. demo Test automation framework that is built upon the following tools: ● Selenium WebDriver ● Sikuli ● TestNG ● Apache Ant ● Jenkins