1 / 14

Matt Archer Senior Consultant matt.archer@fmisolutions

Matt Archer Senior Consultant matt.archer@fmisolutions.com. An Introduction to Test Automation Architecture with Rational Functional Tester. A Quick Survey…Hands Up!. Rational Unified Process? Test Automation?. “Test Automation Architecture” Document? (The subject of this talk). Agenda.

mberg
Download Presentation

Matt Archer Senior Consultant matt.archer@fmisolutions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Matt ArcherSenior Consultantmatt.archer@fmisolutions.com An Introduction to Test Automation Architecture with Rational Functional Tester

  2. A Quick Survey…Hands Up! Rational Unified Process? Test Automation? “Test Automation Architecture” Document? (The subject of this talk)

  3. Agenda • Introduction to the Principles • Demo 1 • Demo 2 • Questions

  4. Introduction Test Automation • “Software Testing Software” • “Capture & Replay” • Significant Structural and Behavioural Elements Architecture with IBM Rational Functional Tester • Automated Testing Tool for Java, Web and .NET Applications (+ Others)

  5. When Automating Testing, What’s Significant? Behavioural • Recording Test Results • Demo • Custom Recognition Techniques • Demo • Custom Verification Techniques • Failure Recovery • Test Environment Control Structural • Test Script Annotations • Demo • Test Location & Hierarchy • Naming Conventions • Data Structure • Log Format

  6. Why Document Your Test Automation Architecture? Manual Tests Automated Tests Tester 1 Tester 2

  7. Test Automation Architecture in a Nutshell A Consistent Approach for… Common Structural Tasks & Common Behavioural Tasks

  8. Test Automation Architecture Timeline Identify a Candidate Architecture Refine & Prove the Architecture Minor Enhancements Minor Enhancements Test Automation Architecture Objectives Phases Inception Elaboration Construction Transition I 1 E 1 C 1 E 2 C 2 Iterations T 1 Test Script Objectives Create Test Script for E1 Functionality Create Test Script for E2 Functionality Create Test Script for C1 Functionality Create Test Script for C2 Functionality

  9. Test Automation Architecture Using IBM Rational FT Helper Super Class Functional Test Script 1 Functional Test Script 2 Functions in a “Help Super Class” can be inherited by one or more Functional Test Scripts.

  10. Demo 1 The 1st Common Task • Recording Test Results The 2nd Common Task • Annotating Test Script Associated Problem • Insufficient information to investigate failures Consistent Approach (Solution) • Use a combined approach for Recording Test Results and Test Script Annotations

  11. Demo 2 The Common Task • Finding dynamic Test Objects • (A Custom Recognition Technique) Associated Problem • Inconsistent Test Object recognition properties make direct recognition impossible Consistent Approach (Solution) • Find dynamic Test Objects using one or more nearby static Test Objects (such as labels)

  12. Demo 2 (Associated Problem Continued) Testing an online questionnaire. An ideal candidate for Data-Driven testing. BUT… 25 radio buttons per page. 8 Pages in total. = 200 radio buttons! Each radio button has an identifier of the form “P1C3R5”, which are assigned dynamically

  13. Summary • Test Automation Architecture is for ALL sizes of project • Look for Common Approaches to Common Structural Tasks • Look for Common Approaches to Common Behavioural Tasks • Create a Test Automation Architecture Document Early • Use the “Helper Super Class” in IBM Rational Functional Tester

  14. Questions? Matt Archer matt.archer@fmisolutions.com http://www.fmisolutions.com

More Related