SlideShare a Scribd company logo
Web Application Testing




                          By Andrew Kandels
Testing Practices
Unit Testing
Engineers
Regression Testing
Quality Assurance, Engineers
Load Testing
System Administrators, Engineers
Usability Testing
Designers, Random Audience, Existing Customers
Testing Practices
Functional Testing
QA, Customer Service, Sales
Environmental Testing
System Administrators, Engineers
Cross Browser Testing
Everyone
Device / Mobile Testing
Everyone
Unit Testing
Test driven development (TDD) encourages
simple designs and inspires confidence.

Tests define:

• The expected behavior
• What you want to achieve
• What your program should do
The Code
The Test
Behavior Modification
Benefits

There are numerous advantages:
• You have an execution environment for running
  your code
• You have a place to document business rules
• Dramatically simplifies refactoring
• Forces you to write smaller, less complex functions
  and methods
Benefits

Write tests for failing code.
• Problem is replicated and clearly described
• Fix is proven by demonstration
Code Coverage
Describes the degree in which a product is tested:
Tools
Unit testing frameworks are available in almost any
language:

• PHP’s PHPUnit
• Java’s JUnit
• Ruby’s Test::Unit
• iOS / Objective C (native)
• Python’s unittest
• .NET’s xUnit
Regression Testing
Automated scripts or playback of recordings.

• Verify changes don’t introduce unexpected faults

• Monitor performance changes

• Checks correctness of the program and its output

• Interacts with the program as a user would
Selenium
           seleniumhq.org

           Open Source
           • Clicks links
           • Fills out forms
           • Scans for content
           • Runs in-browser
           • Interacts as a user would
           • WebDriver Compatible
Selenium in Action
Watir

        watir.com
        Open Source
        • Test with Ruby
        • Multi-browser (WebDriver)
        • Headless Mode
        • Connects to Databases
        • Measure Performance
Watir in Action
Load Testing

Measure response times after simulating real traffic.

• Ensure changes don’t impact performance
• Determine hardware/network requirements
• Expose bugs (race conditions)
• Simulate customer behavior at scale
wget
Neustar
Usability Testing

Evaluate your product using real users to:

• Discover errors
• Identify areas for improvement
• Efficiency
• Accuracy
• Recall
• Emotional Response
Hallway Testing
                  Participants chosen
                  from a random pool.

                  Can be cost prohibitive
                  for smaller companies.
Click Tracking
                 labsmedia.com

                 Price: Free

                 ClickHeat is a visual
                 heatmap of clicks on a
                 web page.
Crowd Sourcing
                 conceptfeedback.com

                 Price: Free

                 Submit your ideas,
                 designs, products to an
                 expert community for
                 feedback.
Five Second Test
                   fivesecondtest.com

                   Price: Free

                   Helps you fine tune
                   your landing pages and
                   calls to action by
                   analyzing the most
                   prominent elements of
                   your design.
Cross Browser Testing
                  browserling.com
                  Free Version (5 minute sessions)

                  • Driven by HTML5 Canvas

                  • Multiple Browser Support

                  • Reverse Proxy Support

                  • Automated Regression Support
Device / Mobile Testing
Emulators and simulators are your best bet.




Opera mini, blackberry, Android, iPhone, simulate headers, etc.
Lower Environments

                turnkeylinux.org

                Free
                • Rapidly deploy applications

                • Download or on the cloud

                • Latest versions
Test / Sample Data
The End

Andrew Kandels
Web: http://andrewkandels.com

GitHub: https://github.com/akandels

Twitter: @andrewkandels

More Related Content

What's hot (20)

PDF
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
PDF
Test Automation Frameworks Using Selenium | Edureka
Edureka!
 
DOCX
Automation Frame works Instruction Sheet
vodQA
 
PPTX
Test Automation and Continuous Integration
TestCampRO
 
PPTX
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
PPTX
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
PPTX
Real world selenium resume which gets more job interviews
ABSoft Trainings
 
PDF
Testing in a glance
Rajesh Kumar
 
PDF
Testing Web Applications
Seth McLaughlin
 
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
Amit Rawat
 
PPT
Programming skills for test automation
Romania Testing
 
PPT
Testing In Java
Adrian Treacy
 
PDF
Model-based Testing: Taking BDD/ATDD to the Next Level
Bob Binder
 
PPT
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
PPT
Testing Frameworks
Moataz Nabil
 
PPTX
Elements of a Test Framework
SmartBear
 
PPT
Test Automation Framework Development Introduction
Ganuka Yashantha
 
ODP
Fabulous Tests on Spock and Groovy
Yaroslav Pernerovsky
 
PDF
Behavior Driven Testing - A paradigm shift
Aspire Systems
 
PDF
Automated Testing
John Paulett
 
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
Test Automation Frameworks Using Selenium | Edureka
Edureka!
 
Automation Frame works Instruction Sheet
vodQA
 
Test Automation and Continuous Integration
TestCampRO
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
Real world selenium resume which gets more job interviews
ABSoft Trainings
 
Testing in a glance
Rajesh Kumar
 
Testing Web Applications
Seth McLaughlin
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Amit Rawat
 
Programming skills for test automation
Romania Testing
 
Testing In Java
Adrian Treacy
 
Model-based Testing: Taking BDD/ATDD to the Next Level
Bob Binder
 
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
Testing Frameworks
Moataz Nabil
 
Elements of a Test Framework
SmartBear
 
Test Automation Framework Development Introduction
Ganuka Yashantha
 
Fabulous Tests on Spock and Groovy
Yaroslav Pernerovsky
 
Behavior Driven Testing - A paradigm shift
Aspire Systems
 
Automated Testing
John Paulett
 

Viewers also liked (20)

PPTX
Locking and Race Conditions in Web Applications
Andrew Kandels
 
PPTX
Testing web application
jayashreesaravanan
 
PPTX
Web Application Testing
Richa Goel
 
PPTX
browser compatibility testing
Lakshmi Nandoor
 
PDF
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Sauce Labs
 
PPTX
Mobile testing
Alex Hung
 
PDF
Web testing
QA Club Kiev
 
PDF
7 1-1 soap-developers_guide
Nugroho Hermanto
 
PDF
Don't Drop the SOAP: Real World Web Service Testing for Web Hackers
Tom Eston
 
PPTX
Mobile applications testing
Rahul Ranjan
 
PDF
Testing Mobile Apps
Suresh Kumar
 
PDF
Unit 09: Web Application Testing
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
PDF
Testing on Android
Ari Lacenski
 
PPTX
How to make your app successful with mobile app testing?
MobilePundits
 
PPTX
How to Break your App - Best Practices in Mobile App Testing
Daniel Knott
 
PDF
Mobile App Testing by Mark Wilson
phpwgtn
 
KEY
Introduction to android testing
Diego Torres Milano
 
PDF
Unit03: Process and Business Models
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
PPTX
Hands-On Mobile App Testing
Daniel Knott
 
PPTX
Android testing
JinaTm
 
Locking and Race Conditions in Web Applications
Andrew Kandels
 
Testing web application
jayashreesaravanan
 
Web Application Testing
Richa Goel
 
browser compatibility testing
Lakshmi Nandoor
 
Compatibility Testing of Your Web Apps - Tips and Tricks for Debugging Locall...
Sauce Labs
 
Mobile testing
Alex Hung
 
Web testing
QA Club Kiev
 
7 1-1 soap-developers_guide
Nugroho Hermanto
 
Don't Drop the SOAP: Real World Web Service Testing for Web Hackers
Tom Eston
 
Mobile applications testing
Rahul Ranjan
 
Testing Mobile Apps
Suresh Kumar
 
Unit 09: Web Application Testing
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
Testing on Android
Ari Lacenski
 
How to make your app successful with mobile app testing?
MobilePundits
 
How to Break your App - Best Practices in Mobile App Testing
Daniel Knott
 
Mobile App Testing by Mark Wilson
phpwgtn
 
Introduction to android testing
Diego Torres Milano
 
Unit03: Process and Business Models
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
Hands-On Mobile App Testing
Daniel Knott
 
Android testing
JinaTm
 
Ad

Similar to Web Application Software Testing (20)

KEY
Website Testing Practices
deseomar
 
PDF
March Remote Testing Tools
Michael Rawlins
 
PDF
Loadtesting wuc2009v2
ravneetraman
 
PPTX
5 cro tools that i can't live without
Craig Sullivan
 
PAGES
Conference Handout - Listing of Unmoderated Remote Usability Testing Tools
Kyle Soucy
 
PDF
What Is New In TestMaker 6.5
Clever Moe
 
PDF
Cool Tools for Creating UX Hypotheses
Jason Goldberg
 
PDF
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
PPTX
Neev QA Offering
Neev Technologies
 
PDF
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
PDF
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
PDF
U test whitepaper_10
eshwar83
 
PDF
Web application automated testing types and tools
TestingXperts
 
PDF
TestMaker Object Designer Training - Basics
Clever Moe
 
PPTX
Conversionista : Conversion manager course - Stockholm 20 march 2013
Craig Sullivan
 
PPTX
uTest STPCon 2011 Presentation
uTest
 
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
PPTX
Why uTest?
gvs102
 
PPTX
Web Testing
muhamedwaseem09
 
PDF
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
Website Testing Practices
deseomar
 
March Remote Testing Tools
Michael Rawlins
 
Loadtesting wuc2009v2
ravneetraman
 
5 cro tools that i can't live without
Craig Sullivan
 
Conference Handout - Listing of Unmoderated Remote Usability Testing Tools
Kyle Soucy
 
What Is New In TestMaker 6.5
Clever Moe
 
Cool Tools for Creating UX Hypotheses
Jason Goldberg
 
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
Neev QA Offering
Neev Technologies
 
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
Microsoft power point automation-opensourcetestingtools_matrix-1
tactqa
 
U test whitepaper_10
eshwar83
 
Web application automated testing types and tools
TestingXperts
 
TestMaker Object Designer Training - Basics
Clever Moe
 
Conversionista : Conversion manager course - Stockholm 20 march 2013
Craig Sullivan
 
uTest STPCon 2011 Presentation
uTest
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Why uTest?
gvs102
 
Web Testing
muhamedwaseem09
 
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
Ad

Recently uploaded (20)

PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 

Web Application Software Testing

  • 1. Web Application Testing By Andrew Kandels
  • 2. Testing Practices Unit Testing Engineers Regression Testing Quality Assurance, Engineers Load Testing System Administrators, Engineers Usability Testing Designers, Random Audience, Existing Customers
  • 3. Testing Practices Functional Testing QA, Customer Service, Sales Environmental Testing System Administrators, Engineers Cross Browser Testing Everyone Device / Mobile Testing Everyone
  • 4. Unit Testing Test driven development (TDD) encourages simple designs and inspires confidence. Tests define: • The expected behavior • What you want to achieve • What your program should do
  • 8. Benefits There are numerous advantages: • You have an execution environment for running your code • You have a place to document business rules • Dramatically simplifies refactoring • Forces you to write smaller, less complex functions and methods
  • 9. Benefits Write tests for failing code. • Problem is replicated and clearly described • Fix is proven by demonstration
  • 10. Code Coverage Describes the degree in which a product is tested:
  • 11. Tools Unit testing frameworks are available in almost any language: • PHP’s PHPUnit • Java’s JUnit • Ruby’s Test::Unit • iOS / Objective C (native) • Python’s unittest • .NET’s xUnit
  • 12. Regression Testing Automated scripts or playback of recordings. • Verify changes don’t introduce unexpected faults • Monitor performance changes • Checks correctness of the program and its output • Interacts with the program as a user would
  • 13. Selenium seleniumhq.org Open Source • Clicks links • Fills out forms • Scans for content • Runs in-browser • Interacts as a user would • WebDriver Compatible
  • 15. Watir watir.com Open Source • Test with Ruby • Multi-browser (WebDriver) • Headless Mode • Connects to Databases • Measure Performance
  • 17. Load Testing Measure response times after simulating real traffic. • Ensure changes don’t impact performance • Determine hardware/network requirements • Expose bugs (race conditions) • Simulate customer behavior at scale
  • 18. wget
  • 20. Usability Testing Evaluate your product using real users to: • Discover errors • Identify areas for improvement • Efficiency • Accuracy • Recall • Emotional Response
  • 21. Hallway Testing Participants chosen from a random pool. Can be cost prohibitive for smaller companies.
  • 22. Click Tracking labsmedia.com Price: Free ClickHeat is a visual heatmap of clicks on a web page.
  • 23. Crowd Sourcing conceptfeedback.com Price: Free Submit your ideas, designs, products to an expert community for feedback.
  • 24. Five Second Test fivesecondtest.com Price: Free Helps you fine tune your landing pages and calls to action by analyzing the most prominent elements of your design.
  • 25. Cross Browser Testing browserling.com Free Version (5 minute sessions) • Driven by HTML5 Canvas • Multiple Browser Support • Reverse Proxy Support • Automated Regression Support
  • 26. Device / Mobile Testing Emulators and simulators are your best bet. Opera mini, blackberry, Android, iPhone, simulate headers, etc.
  • 27. Lower Environments turnkeylinux.org Free • Rapidly deploy applications • Download or on the cloud • Latest versions
  • 29. The End Andrew Kandels Web: http://andrewkandels.com GitHub: https://github.com/akandels Twitter: @andrewkandels