A Guide to Cross-Browser Functional Testingv
Upcoming SlideShare
Loading in...5
×
 

A Guide to Cross-Browser Functional Testingv

on

  • 92 views

The term “cross-browser functional testing” usually means some variation of automated or manual testing of a web-based application on different mobile or desktop browsers. The aim of the testing ...

The term “cross-browser functional testing” usually means some variation of automated or manual testing of a web-based application on different mobile or desktop browsers. The aim of the testing might be to ensure that the application under test behaves or looks the same way on different browsers. Another meaning could be to verify that the application works with two or more browsers simultaneously. Malcolm Isaacs examines these different interpretations of cross-browser functional testing and clarifies what each means in practice. Malcolm explains some of the many challenges of writing and executing portable and maintainable automated test scripts which are at the heart of cross-browser testing. Learn some practical approaches to overcome these challenges, and take back manual and automated testing techniques to validate the consistency and accuracy of your applications—whatever browser they run in.

Statistics

Views

Total Views
92
Views on SlideShare
81
Embed Views
11

Actions

Likes
0
Downloads
3
Comments
0

2 Embeds 11

http://www.stickyminds.com 10
http://admin.communities.techwell.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

A Guide to Cross-Browser Functional Testingv A Guide to Cross-Browser Functional Testingv Document Transcript

  •       nt Session    Presented by:  Malcolm Isaacs      Brought to you by:      340 Corporate Way, Suite   Orange Park, FL 32073  888‐2 W2  Concurre 4/9/2014    10:30 AM          “A Guide to Cross‐Browser Functional Testing”      HP              300, 68‐8770 ∙ 904‐278‐0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com 
  • Malcalm Isaacs HP   Malcolm Isaacs is a member of the functional architecture team in HP Software’s Application Lifecycle Management group, focusing on best practices and methodologies across all aspects of the software development lifecycle. During the course of his career, Malcolm has worked in various positions including software engineer, team leader, and architect. In 2003 he joined Mercury (later acquired by HP), where he worked on a number of products which specialize in supporting traditional and agile software development lifecycles from planning through deployment. Follow Malcolm on Twitter @MalcolmIsaacs, contact him at Malcolm.Isaacs@hp.com, and read his HP blog.
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. A Guide to Cross- Browser Functional Testing STARCanada 2014 Malcolm Isaacs Twitter: @MalcolmIsaacs
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Agenda Web Applications Testing Web Applications Challenges of Testing Overcoming the Challenges
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Web Applications
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Mobile Apps- Native
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Mobile Apps - HTML
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Mobile Apps - Hybrid
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Versions
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Architecture Web Application Back-end Services Interne t
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples HP’s Travel Request System. Forgot to select your country?
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont)
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont) Pages render differently… Comments on the HP blogging platform:
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont) Pages render differently… HP Agile Manager
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont) Image Source: http://thedailywtf.com/Articles/Internet-is-Broken--Time-to-Get-a-New-Phone.as
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont) Image Source: http://thedailywtf.com/Articles/Internet-is-Broken--Time-to-Get-a-New-Phone.as
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Some Examples (cont) Login Write “1” 1 Locked ? Loc k Login Locked ? Write “2” Logout Logou t Unloc k 2 2 2 Time Image Source: http://www.pantherkut.com/2008/03/20/do-you-think-your-cat-can-order-their-own-food-online/
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Prevention
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. • Standard Multi-Browser testing • Compatibility/Consistency Testing • Multi-Version Testing • Concurrent Testing • Single-Browser Concurrent Testing • Single-Browser Distributed Concurrent Testing • Multi-Browser Concurrent Testing • Multi-Browser Distributed Testing • Multi-Version Concurrent Testing Types of Cross-Browser Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Standard Multi-Browser Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Compatibility or Consistency Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Mobile Apps…
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Multi-Version Browser Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Single-Browser Concurrent Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Single-Browser Distributed Concurrent Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Multi-Browser Concurrent Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Multi-Browser Distributed Concurrent Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Image Sources: http://en.wikipedia.org/wiki/File:Abraham_Lincoln_November_1863.jpg, http://en wikipedia org/wiki/File:Phineas Taylor Barnum portrait jpg “You can test on all the browsers some of the time, and on some of the browsers all the time, but you cannot test on all of the browsers all the time.” Best Practices – Choose your Browsers!
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Test the API layer(s) independently Test the GUI layer for regression automatically across all browsers If you can’t, use exploratory testing to check the baseline browser …then use scripted testing to test the cross-browser compatibility Think about automating at least some of this testing Image Source: http://commons.wikimedia.org/wiki/File:Mille-feuille_20100916.j Best Practices – Methodology
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Maximize the viewing area • It’s usually best to test in full-screen view Ensure the font size and page zoom are set correctly Keep the typical end-user configuration in mind when you create the baseline For compatibility testing, test on the same screen size and resolution as the baseline Turn off the browser’s auto-update feature Make sure any HTTPS certificates are installed Install any plugins the application needs Image Source: http://www.flickr.com/photos/30592906@N00/1924189728 Best Practices – Prepare the Browser
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Best Practices – Write Portable Tests
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Image Source: http://thestar.blogs.com/photoblog/2013/06/boris-spremo-.htm Best Practices – Write Portable Tests Avoid Browser-Specific Behavior
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Best Practices – Write Portable Tests Minimize browser-specific behavior
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Browser("Search").Page("Search").WebEdit("q").Set “Hello world!” Best Practices – Write Portable Tests Hide the HTML implementation
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Test 1 OR… ? Test 2 Test 3 Test 1 Test 2 Test 3 Test 1 Test 2 Test 3 Test 1 Test 2 Test 3 AND System tests Unit tests Executing Tests Sequentially
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Test 1 Test 2 Concurrent Testing – Multiple Browsers on the Same Machine
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Independent tests Image Source: https://wiki.jenkins-ci.org/display/JENKINS/Lo Concurrent Testing – Multiple Browsers on Different Machines
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Application Under Test Dependent tests Single-Browser Distributed Concurrent Testing
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The Future of Testing Blog LoadRunner and Performance Center Blog Application Lifecycle Management and App Transformation Blog HP Software Developers Blog Resources
  • © Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Thank you