SlideShare une entreprise Scribd logo
1  sur  42
Automatic web
  UI testing
Using FitNesse, Selenium and
           Xebium



  #ISKAWEBTEST   Alex van Assem
                 Rogier van het Schip
                                        3kvk7
Agenda
 Test automation
 Using Fitnesse + Xebium + Selenium




                                              Live demos included!




                   Automatic web UI testing                      2
Test automation
 Why use test automation?




                  Automatic web UI testing   3
Test automation
                             Release 1

      Sprint 1                Sprint 2                     Sprint 3
   PBI 1                   PBI 4                        PBI 7

           PBI 2                   PBI 5                        PBI 8

                   PBI 3                   PBI 6                        PBI 9




                             Automatic web UI testing                           4
Using Fitnesse + Xebium + Selenium
 Goal
 – Maintainable tests
    • Re-usable
    • Hierarchical
 – Low cost tooling
 – Usable with limited technical knowledge
 – Web-UI

                        Automatic web UI testing   5
Testing Automation Pyramid

                                                              End-To-
      End-To-End                                                End

      Integration                                            Integration

           Unit                                                 Unit


   Flipping the Automated Testing Triangle: the Upshot
   http://patrickwilsonwelsh.com/?p=32

                                  Automatic web UI testing                 6
Three levels of End-to-End test automation

                                     Rule




                                                                          Stability
   Clarity



                                Workflow
                                Technical
                                 Activity
       Three levels of UI test automation
       http://gojko.net/2010/04/13/how-to-implement-ui-testing-without-
       shooting-yourself-in-the-foot-2/

                                         Automatic web UI testing                     7
Selenium - Description
 The standard for Web UI testing

 Selenium IDE (Firefox)
 – No hierarchy
 Selenium Remote Control / Webdriver (C#, Java, etc)
 – Needs technical knowledge in C#




                          Automatic web UI testing   8
Selenium IDE - Demo




              Automatic web UI testing   9
Three levels of End-to-End test automation

                 Rule
              Workflow
               Technical
                Activity


                   Automatic web UI testing   10
FitNesse - Description
 FitNesse is a high-level acceptance testing framework
 – Define and run acceptance tests
 FitNesse is a wiki
 – Easy to use
 FitNesse is a web server
 – It requires no configuration or setup
 FitNesse is plugable
 – Fixtures

                          Automatic web UI testing   11
FitNesse - Description


Testscripts                               c2Wmo




               Automatic web UI testing    12
FitNesse - Description
   Define tests in tables
Table            Description
Decision Table   Supplies the inputs and outputs for decisions.
Query Table      Supplies the expected results of a query.
Script Table     A series of actions and checks.
Scenario Table   A table that can be called from other tables.


   And more tables, see Fitnesse.org

                                       Automatic web UI testing   13
Fitnesse - Demo




              Automatic web UI testing   14
Three levels of End-to-End test automation

                 Rule
              Workflow
               Technical
                Activity


                   Automatic web UI testing   15
Xebium - Description
 Fixture for FitNesse
 – Using FitNesse SLIM engine
 – Compatible with selenium 2.0 (Webdriver)
 Add-on Selenium IDE
 – Record and replay
 – Export format


                        Automatic web UI testing   16
Xebium - Demo




                Automatic web UI testing   17
FitNesse Structure


  Test
        •Test scripts
 Suites

               Automatic web UI testing   18
Three levels of End-to-End test automation

                 Rule
              Workflow
               Technical                      Xebium
                Activity


                   Automatic web UI testing            19
Improvements
 Re-usability - DRY (Don’t repeat yourself)
 Maintainability
 Readability




                     Automatic web UI testing   20
Page Objects - Definition
1.   (A group of) methods on a page that
     1. Do something (Actions)
     2. Verify something (Assertions)
2.   Hide technical details on how




                          Automatic web UI testing   21
Page Objects - Example
                                              Menu Page
                                              Objects


                                              Catalog
                                              Page
                                              Objects


                                              Assertion
                                               Action




              Automatic web UI testing   22
Page Objects - Example
                                              Checkout
                                              Page Objects




                                              Assertion
                                               Action




              Automatic web UI testing   23
Page Objects - Example
  Go to       Add Product     Set quantity             Fill personal         Page
 Product        to Cart        of Product              information          object

  Verify
Product is
  visible                       Checkout                  Order

  Verify
Product is
not visible


Catalog        Product             Cart                Checkout


                            Automatic web UI testing                   24
Page Objects - Demo




              Automatic web UI testing   25
FitNesse Structure
   Test     •Test scripts
  Suites
  Page      •Action steps
 Objects    •Assertion steps
               Automatic web UI testing   26
Three levels of End-to-End test automation

                 Rule
              Workflow                                 Page Objects


               Technical                      Xebium
                Activity


                   Automatic web UI testing                      27
Flow objects - Definition
 Flows over Page Object boundaries




                   Automatic web UI testing   28
Flow objects - Example
  Go to       Add Product     Set quantity             Fill personal         Page
 Product        to Cart        of Product              information          object

  Verify                                                               Flow Object
Product is
  visible                       Checkout                  Order

  Verify
Product is
not visible


Catalog        Product             Cart                Checkout


                            Automatic web UI testing                   29
Flow Objects - Demo




              Automatic web UI testing   30
FitNesse Structure
 Test Suites   • Test Scripts


               • Action steps
Page Objects   • Assertion steps


Flow Objects   • Flows

                   Automatic web UI testing   31
Three levels of End-to-End test automation

                 Rule
              Workflow                                 Page Objects
                                                       Flow Objects

               Technical                      Xebium
                Activity


                   Automatic web UI testing                      32
Improvements
 Readable for Business




                   Automatic web UI testing   33
GivenWhenThen Demo




            Automatic web UI testing   34
FitNesse Structure
 Test Suites   • Test Scripts


               • Action steps
Page Objects   • Assertion steps


Flow Objects   • Flows

                   Automatic web UI testing   35
Three levels of End-to-End test automation

                 Rule
              Workflow                                 Page Objects
                                                       Flow Objects

               Technical                      Xebium
                Activity


                   Automatic web UI testing                      36
Improvements
 Multibrowser
 – Internet Explorer
 – Firefox
 – Chrome




                       Automatic web UI testing   37
Multi browser - Demo




              Automatic web UI testing   38
FitNesse Structure
  Test Suites    • Test Scripts


                 • Action steps
 Page Objects    • Assertion steps


 Flow Objects    • Flows


   Browser       • Internet Explorer
 Configuraties   • Firefox

                       Automatic web UI testing   39
Three levels of End-to-End test automation

                 Rule
              Workflow                                 Page Objects
                                                       Flow Objects

               Technical                      Xebium
                Activity


                   Automatic web UI testing                      40
Summary
FitNesse + Xebium + Selenium is a good
combination for test automation
Use Page and Flow objects
Make tests readable for business




                  Automatic web UI testing   41
Questions?




                                        3kvk7
             Automatic web UI testing    42

Contenu connexe

En vedette

Writing Acceptance Tests Using Fitnesse
Writing Acceptance Tests Using FitnesseWriting Acceptance Tests Using Fitnesse
Writing Acceptance Tests Using FitnesseFacundo Farias
 
Fitnesse Testing Framework
Fitnesse Testing Framework Fitnesse Testing Framework
Fitnesse Testing Framework Ajit Koti
 
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit Agorava
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit AgoravaJavaLand: Quantified Social - Fitness-Geräte und -Portale mit Agorava
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit AgoravaWerner Keil
 
Automated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & SeleniumAutomated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & Seleniummayurairon
 
Fitnesse user acceptance test - Presentation
Fitnesse   user acceptance test - PresentationFitnesse   user acceptance test - Presentation
Fitnesse user acceptance test - PresentationSunil Kumar Gunasekaran
 
TestWorks Conf 2015 Beefing up FitNesse - Arjan Molenaar
TestWorks Conf 2015 Beefing up FitNesse - Arjan MolenaarTestWorks Conf 2015 Beefing up FitNesse - Arjan Molenaar
TestWorks Conf 2015 Beefing up FitNesse - Arjan MolenaarXebia Nederland BV
 
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...mfrancis
 
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)Jen Wong
 
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)Peter Kofler
 
FitNesse With Scala
FitNesse With ScalaFitNesse With Scala
FitNesse With ScalaKnoldus Inc.
 
Integration and Acceptance Testing
Integration and Acceptance TestingIntegration and Acceptance Testing
Integration and Acceptance TestingAlan Hecht
 
Moving from Ad Hoc Testing to Continuous Test Data with FitNesse
Moving from Ad Hoc Testing to Continuous Test Data with FitNesseMoving from Ad Hoc Testing to Continuous Test Data with FitNesse
Moving from Ad Hoc Testing to Continuous Test Data with FitNesseJoris Meerts
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseClareMcLennan
 
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...Jen Wong
 
Fitnesse - Acceptance testing
Fitnesse - Acceptance testingFitnesse - Acceptance testing
Fitnesse - Acceptance testingvijay_challa
 

En vedette (20)

Writing Acceptance Tests Using Fitnesse
Writing Acceptance Tests Using FitnesseWriting Acceptance Tests Using Fitnesse
Writing Acceptance Tests Using Fitnesse
 
Fitnesse Testing Framework
Fitnesse Testing Framework Fitnesse Testing Framework
Fitnesse Testing Framework
 
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit Agorava
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit AgoravaJavaLand: Quantified Social - Fitness-Geräte und -Portale mit Agorava
JavaLand: Quantified Social - Fitness-Geräte und -Portale mit Agorava
 
Automated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & SeleniumAutomated cceptance testing using Fitnesse & Selenium
Automated cceptance testing using Fitnesse & Selenium
 
Fitnesse user acceptance test - Presentation
Fitnesse   user acceptance test - PresentationFitnesse   user acceptance test - Presentation
Fitnesse user acceptance test - Presentation
 
TestWorks Conf 2015 Beefing up FitNesse - Arjan Molenaar
TestWorks Conf 2015 Beefing up FitNesse - Arjan MolenaarTestWorks Conf 2015 Beefing up FitNesse - Arjan Molenaar
TestWorks Conf 2015 Beefing up FitNesse - Arjan Molenaar
 
Fitnesse, Watir and Ruby Based Test Automation System
Fitnesse, Watir and Ruby Based Test Automation SystemFitnesse, Watir and Ruby Based Test Automation System
Fitnesse, Watir and Ruby Based Test Automation System
 
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...
Methodologies for Test-Driven Development of OSGi enabled Embedded Devices - ...
 
FitNesse, An Introduction
FitNesse, An IntroductionFitNesse, An Introduction
FitNesse, An Introduction
 
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
 
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)
Coding Dojo for Testers/Testing Dojo: Designing Test Cases with FitNesse (2014)
 
FitNesse With Scala
FitNesse With ScalaFitNesse With Scala
FitNesse With Scala
 
Integration and Acceptance Testing
Integration and Acceptance TestingIntegration and Acceptance Testing
Integration and Acceptance Testing
 
Moving from Ad Hoc Testing to Continuous Test Data with FitNesse
Moving from Ad Hoc Testing to Continuous Test Data with FitNesseMoving from Ad Hoc Testing to Continuous Test Data with FitNesse
Moving from Ad Hoc Testing to Continuous Test Data with FitNesse
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
 
Acceptance Test Driven Development
Acceptance Test Driven DevelopmentAcceptance Test Driven Development
Acceptance Test Driven Development
 
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
Continuous Integration using Hudson and Fitnesse at Ingenuity Systems (Silico...
 
Fitnesse - Acceptance testing
Fitnesse - Acceptance testingFitnesse - Acceptance testing
Fitnesse - Acceptance testing
 
Testing In Java
Testing In JavaTesting In Java
Testing In Java
 
2 fitnesse
2 fitnesse2 fitnesse
2 fitnesse
 

Similaire à Automatic web ui testing

Implementing Test Automation in Agile Projects
Implementing Test Automation in Agile ProjectsImplementing Test Automation in Agile Projects
Implementing Test Automation in Agile ProjectsMichael Palotas
 
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsClever Moe
 
Women Who Code KL May 2015 - Deep dive into Automation Testing
Women Who Code KL May 2015 - Deep dive into Automation TestingWomen Who Code KL May 2015 - Deep dive into Automation Testing
Women Who Code KL May 2015 - Deep dive into Automation TestingM Rizwanur Rashid
 
Woman who code KL May 15 - Deep down to automation
Woman who code KL May 15  - Deep down to automationWoman who code KL May 15  - Deep down to automation
Woman who code KL May 15 - Deep down to automationM Rizwanur Rashid
 
Test automation introduction training at Polteq
Test automation   introduction training at PolteqTest automation   introduction training at Polteq
Test automation introduction training at PolteqMartijn de Vrieze
 
Selenium Basics Tutorial
Selenium Basics TutorialSelenium Basics Tutorial
Selenium Basics TutorialClever Moe
 
UI Testing Automation - Alex Kalinovsky - CreamTec LLC
UI Testing Automation - Alex Kalinovsky - CreamTec LLCUI Testing Automation - Alex Kalinovsky - CreamTec LLC
UI Testing Automation - Alex Kalinovsky - CreamTec LLCJim Lane
 
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam CarmiApplitools
 
TestMaker Object Designer Training - Basics
TestMaker Object Designer Training - BasicsTestMaker Object Designer Training - Basics
TestMaker Object Designer Training - BasicsClever Moe
 
How do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated TestingHow do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated TestingThoughtworks
 
Designing for the internet - Page Objects for the Real World
Designing for the internet - Page Objects for the Real WorldDesigning for the internet - Page Objects for the Real World
Designing for the internet - Page Objects for the Real WorldQualitest
 
Automated testing DrupalCamp in Asheville
Automated testing DrupalCamp in AshevilleAutomated testing DrupalCamp in Asheville
Automated testing DrupalCamp in AshevillePromet Source
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with seleniumTzirla Rozental
 
automation framework
automation frameworkautomation framework
automation frameworkANSHU GOYAL
 
Automated Acceptance Testing Example
Automated Acceptance Testing ExampleAutomated Acceptance Testing Example
Automated Acceptance Testing ExampleHani Massoud
 
SQADAYS 21 Moscow 2017
SQADAYS 21 Moscow 2017SQADAYS 21 Moscow 2017
SQADAYS 21 Moscow 2017Adam Sandman
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Delta-N
 

Similaire à Automatic web ui testing (20)

Implementing Test Automation in Agile Projects
Implementing Test Automation in Agile ProjectsImplementing Test Automation in Agile Projects
Implementing Test Automation in Agile Projects
 
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT OpsAgile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
 
Women Who Code KL May 2015 - Deep dive into Automation Testing
Women Who Code KL May 2015 - Deep dive into Automation TestingWomen Who Code KL May 2015 - Deep dive into Automation Testing
Women Who Code KL May 2015 - Deep dive into Automation Testing
 
Woman who code KL May 15 - Deep down to automation
Woman who code KL May 15  - Deep down to automationWoman who code KL May 15  - Deep down to automation
Woman who code KL May 15 - Deep down to automation
 
Test automation introduction training at Polteq
Test automation   introduction training at PolteqTest automation   introduction training at Polteq
Test automation introduction training at Polteq
 
Selenium Basics Tutorial
Selenium Basics TutorialSelenium Basics Tutorial
Selenium Basics Tutorial
 
UI Testing Automation - Alex Kalinovsky - CreamTec LLC
UI Testing Automation - Alex Kalinovsky - CreamTec LLCUI Testing Automation - Alex Kalinovsky - CreamTec LLC
UI Testing Automation - Alex Kalinovsky - CreamTec LLC
 
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
[webinar] Cutting-edge Functional UI Testing Techniques - w/ Adam Carmi
 
TestMaker Object Designer Training - Basics
TestMaker Object Designer Training - BasicsTestMaker Object Designer Training - Basics
TestMaker Object Designer Training - Basics
 
How do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated TestingHow do you implement Continuous Delivery? Part 4: Automated Testing
How do you implement Continuous Delivery? Part 4: Automated Testing
 
Designing for the internet - Page Objects for the Real World
Designing for the internet - Page Objects for the Real WorldDesigning for the internet - Page Objects for the Real World
Designing for the internet - Page Objects for the Real World
 
Automated testing DrupalCamp in Asheville
Automated testing DrupalCamp in AshevilleAutomated testing DrupalCamp in Asheville
Automated testing DrupalCamp in Asheville
 
Selenium Camp 2012
Selenium Camp 2012Selenium Camp 2012
Selenium Camp 2012
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Automated Testing in DevOps
Automated Testing in DevOpsAutomated Testing in DevOps
Automated Testing in DevOps
 
automation framework
automation frameworkautomation framework
automation framework
 
Automated Acceptance Testing Example
Automated Acceptance Testing ExampleAutomated Acceptance Testing Example
Automated Acceptance Testing Example
 
SQADAYS 21 Moscow 2017
SQADAYS 21 Moscow 2017SQADAYS 21 Moscow 2017
SQADAYS 21 Moscow 2017
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 WorkerThousandEyes
 
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 Processorsdebabhi2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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 BusinessPixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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 DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[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.pdfhans926745
 
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 organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[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
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Automatic web ui testing

  • 1. Automatic web UI testing Using FitNesse, Selenium and Xebium #ISKAWEBTEST Alex van Assem Rogier van het Schip 3kvk7
  • 2. Agenda Test automation Using Fitnesse + Xebium + Selenium Live demos included! Automatic web UI testing 2
  • 3. Test automation Why use test automation? Automatic web UI testing 3
  • 4. Test automation Release 1 Sprint 1 Sprint 2 Sprint 3 PBI 1 PBI 4 PBI 7 PBI 2 PBI 5 PBI 8 PBI 3 PBI 6 PBI 9 Automatic web UI testing 4
  • 5. Using Fitnesse + Xebium + Selenium Goal – Maintainable tests • Re-usable • Hierarchical – Low cost tooling – Usable with limited technical knowledge – Web-UI Automatic web UI testing 5
  • 6. Testing Automation Pyramid End-To- End-To-End End Integration Integration Unit Unit Flipping the Automated Testing Triangle: the Upshot http://patrickwilsonwelsh.com/?p=32 Automatic web UI testing 6
  • 7. Three levels of End-to-End test automation Rule Stability Clarity Workflow Technical Activity Three levels of UI test automation http://gojko.net/2010/04/13/how-to-implement-ui-testing-without- shooting-yourself-in-the-foot-2/ Automatic web UI testing 7
  • 8. Selenium - Description The standard for Web UI testing Selenium IDE (Firefox) – No hierarchy Selenium Remote Control / Webdriver (C#, Java, etc) – Needs technical knowledge in C# Automatic web UI testing 8
  • 9. Selenium IDE - Demo Automatic web UI testing 9
  • 10. Three levels of End-to-End test automation Rule Workflow Technical Activity Automatic web UI testing 10
  • 11. FitNesse - Description FitNesse is a high-level acceptance testing framework – Define and run acceptance tests FitNesse is a wiki – Easy to use FitNesse is a web server – It requires no configuration or setup FitNesse is plugable – Fixtures Automatic web UI testing 11
  • 12. FitNesse - Description Testscripts c2Wmo Automatic web UI testing 12
  • 13. FitNesse - Description Define tests in tables Table Description Decision Table Supplies the inputs and outputs for decisions. Query Table Supplies the expected results of a query. Script Table A series of actions and checks. Scenario Table A table that can be called from other tables. And more tables, see Fitnesse.org Automatic web UI testing 13
  • 14. Fitnesse - Demo Automatic web UI testing 14
  • 15. Three levels of End-to-End test automation Rule Workflow Technical Activity Automatic web UI testing 15
  • 16. Xebium - Description Fixture for FitNesse – Using FitNesse SLIM engine – Compatible with selenium 2.0 (Webdriver) Add-on Selenium IDE – Record and replay – Export format Automatic web UI testing 16
  • 17. Xebium - Demo Automatic web UI testing 17
  • 18. FitNesse Structure Test •Test scripts Suites Automatic web UI testing 18
  • 19. Three levels of End-to-End test automation Rule Workflow Technical Xebium Activity Automatic web UI testing 19
  • 20. Improvements Re-usability - DRY (Don’t repeat yourself) Maintainability Readability Automatic web UI testing 20
  • 21. Page Objects - Definition 1. (A group of) methods on a page that 1. Do something (Actions) 2. Verify something (Assertions) 2. Hide technical details on how Automatic web UI testing 21
  • 22. Page Objects - Example Menu Page Objects Catalog Page Objects Assertion Action Automatic web UI testing 22
  • 23. Page Objects - Example Checkout Page Objects Assertion Action Automatic web UI testing 23
  • 24. Page Objects - Example Go to Add Product Set quantity Fill personal Page Product to Cart of Product information object Verify Product is visible Checkout Order Verify Product is not visible Catalog Product Cart Checkout Automatic web UI testing 24
  • 25. Page Objects - Demo Automatic web UI testing 25
  • 26. FitNesse Structure Test •Test scripts Suites Page •Action steps Objects •Assertion steps Automatic web UI testing 26
  • 27. Three levels of End-to-End test automation Rule Workflow Page Objects Technical Xebium Activity Automatic web UI testing 27
  • 28. Flow objects - Definition Flows over Page Object boundaries Automatic web UI testing 28
  • 29. Flow objects - Example Go to Add Product Set quantity Fill personal Page Product to Cart of Product information object Verify Flow Object Product is visible Checkout Order Verify Product is not visible Catalog Product Cart Checkout Automatic web UI testing 29
  • 30. Flow Objects - Demo Automatic web UI testing 30
  • 31. FitNesse Structure Test Suites • Test Scripts • Action steps Page Objects • Assertion steps Flow Objects • Flows Automatic web UI testing 31
  • 32. Three levels of End-to-End test automation Rule Workflow Page Objects Flow Objects Technical Xebium Activity Automatic web UI testing 32
  • 33. Improvements Readable for Business Automatic web UI testing 33
  • 34. GivenWhenThen Demo Automatic web UI testing 34
  • 35. FitNesse Structure Test Suites • Test Scripts • Action steps Page Objects • Assertion steps Flow Objects • Flows Automatic web UI testing 35
  • 36. Three levels of End-to-End test automation Rule Workflow Page Objects Flow Objects Technical Xebium Activity Automatic web UI testing 36
  • 37. Improvements Multibrowser – Internet Explorer – Firefox – Chrome Automatic web UI testing 37
  • 38. Multi browser - Demo Automatic web UI testing 38
  • 39. FitNesse Structure Test Suites • Test Scripts • Action steps Page Objects • Assertion steps Flow Objects • Flows Browser • Internet Explorer Configuraties • Firefox Automatic web UI testing 39
  • 40. Three levels of End-to-End test automation Rule Workflow Page Objects Flow Objects Technical Xebium Activity Automatic web UI testing 40
  • 41. Summary FitNesse + Xebium + Selenium is a good combination for test automation Use Page and Flow objects Make tests readable for business Automatic web UI testing 41
  • 42. Questions? 3kvk7 Automatic web UI testing 42

Notes de l'éditeur

  1. 2 Pyramide zijn andere dingen
  2. On the basis of thistriagleI’mgoingtodescribehow we have automatedour End-to-End tests.
  3. TODO Test Suites maken