Functional and LoadTest Strategies

Similar documents
Testhouse Training Portfolio

Test Creation in QuickTest Professional

SOFTWARE TESTING TRAINING COURSES CONTENTS

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

Fundamentals of LoadRunner 9.0 (2 Days)

Quality Assurance Training Program

Basics of Automation and Overview of QTP. By, Anver Sathic Abdul Subhan

Business Application Services Testing

HP LoadRunner: Essentials 11

Basic Unix/Linux 1. Software Testing Interview Prep

Comparative Study of Automated Testing Tools: TestComplete and QuickTest Pro

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

AUTOMATED TESTING and SPI. Brian Lynch

Software Quality Assurance Training. 50 Cragwood Rd, Suite 350 South Plainfield, NJ 07080

Higher Focus on Quality. Pressure on Testing Budgets. ? Short Release Cycles. Your key to Effortless Automation. OpKey TM

Comparative Study of Automated Testing Tools: Quick Test Pro and Load Runner

Table of contents. Enterprise Resource Planning (ERP) functional testing best practices: Ten steps to ERP systems reliability

QTP Open Source Test Automation Framework Introduction

PC120 ALM Performance Center 11.5 Essentials

Quality Assurance - Karthik

Automated Testing Best Practices

LR120 LoadRunner 12.0 Essentials

Aspire's Approach to Test Automation

Th3 - Open Source Tools for Test Management

Comparative Study of Automated Testing Tools: Selenium, Quick Test Professional and Testcomplete

Application Test Management and Quality Assurance

Best practices for implementing automated functional testing solutions. Business white paper

Co-Presented by Mr. Bill Rinko-Gay and Dr. Constantin Stanca 9/28/2011

ASSURING SOFTWARE QUALITY USING VISUAL STUDIO 2010

How to address top problems in test data management

Business white paper. Best practices for implementing automated functional testing solutions

Best practices for implementing automated functional testing solutions. White paper

International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN:

Safe Harbor Statement

Test Automation Framework

a new generation software test automation framework - CIVIM

What Is Specific in Load Testing?

From Traditional Functional Testing to Enabling Continuous Quality in Mobile App Development

UFT (Unified Functional Testing) ********************************************************* Table of Contents: CH-1: Introduction to Automation

Know the Difference. Unified Functional Testing (UFT) and Lean Functional Testing (LeanFT) from HP

On the Edge of Mobility Building a Bridge to Quality October 22, 2013

Software Testing. Knowledge Base. Rajat Kumar Bal. Introduction

Implement a unified approach to service quality management.

Testing Introduction. IEEE Definitions

QTP Open Source Test Automation Framework Implementation Guide

Software Quality Testing Course Material

A closer look at HP LoadRunner software

Software Engineering of NLP-based Computer-assisted Coding Applications

HPE PC120 ALM Performance Center 12.0 Essentials

QA Classroom and Online training from Yes-M Systems

QTP TUTORIAL. Simply Easy Learning by tutorialspoint.com. tutorialspoint.com

Business white paper. Load factor: performance testing for Web applications

Performance Testing Uncovered

Levels of Software Testing. Functional Testing

FSW QA Testing Levels Definitions

Basic Testing Concepts and Terminology

HP Performance Center 11.5: What s New? Gurmeen Aneja

SoMA. Automated testing system of camera algorithms. Sofica Ltd

APPLICATION PERFORMANCE TESTING IN A VIRTUAL ENVIRONMENT

Introduction to Automated Testing

Baseline Code Analysis Using McCabe IQ

Mohammed Khan SUMMARY

Continuous???? Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Accelerate Testing Cycles With Collaborative Performance Testing

Software Continuous Integration & Delivery

Viewpoint. Choosing the right automation tool and framework is critical to project success. - Harsh Bajaj, Technical Test Lead ECSIVS, Infosys

Service Virtualization:

Mobile Application Test Automation Best Practices for Best Results. A white paper from Mobile Labs, Inc.

Improving database development. Recommendations for solving development problems using Red Gate tools

WHITEPAPER. Improving database development

LR120 Load Runner 12.0 Essentials Instructor-Led Training Version 12.0

Performance Evaluation & Comparison of Software Testing Tool

View Point. Developing a successful Point-of-Sale (POS) test automation strategy. Abstract. - Sujith George

The Evolution of Load Testing. Why Gomez 360 o Web Load Testing Is a

Manual Tester s Guide to Automated Testing Contents

Minimizing code defects to improve software quality and lower development costs.

Abstract. SAP Upgrade Testing : In A Nutshell Page 2 of 15

Testing Best Practices

ALM120 Application Lifecycle Management 11.5 Essentials

.NET Application Monitoring with AVIcode Intercept Studio

Bringing Value to the Organization with Performance Testing

Development Testing for Agile Environments

Brochure. Performance testing. HP Performance Center

What is the best automation testing approach?

How To Test A Web Server

Performance Testing Process A Whitepaper

Custom Development Methodology Appendix

Information Technology Policy

Case Study: Financial Institution Deploys MBT to Test at the Speed of Agile Development

Transcription:

Test Automation Functional and LoadTest Strategies Presented by: Courtney Wilmott April 29, 2013 UTD CS6367 Software Testing and Validation

Definitions / Overview Software is a set of programs, procedures, algorithms and its documentation concerned with the operation of a data processing system. A software bug is an error, flaw, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways due to Data, Systems or Processing issues. Software testing is a process of verifying and validating that a software application or program: 1. Meets the business technical requirements that guided its design and development. 2. Works as expected. It is not possible to prove there are no faults in the software using testing. Goal of testing finding faults in the software demonstrating that there are no faults in the software (for the test cases that has been used during testing).

Failure Economics A study conducted by NIST in 2002 reports that software bugs cost the U.S. economy $59.5 billion annually. More than a third of this cost could be avoided if better software testing was performed. [10] It is commonly believed that the earlier a defect is found, the cheaper it is to fix it. The following table shows the cost of fixing the defect depending on the stage it was found. [11] For example, if a problem in the requirements is found only postrelease, then it would cost 10 100 times more to fix than if it had already been found by the requirements review. With the advent of modern continuous deployment practices and cloud-based services, the cost of re-deployment and maintenance may lessen over time.

Failure Resolution Motivation for Production Systems: Recover System vs. Fixing the Bug Fault Localization Priority and Level of effort. Work-Around, Release code fix. Downtime/Validation/ Installation

Types of Testing Unit (Module) testing testing of a single module in an isolated environment Integration testing testing parts of the system by combining the modules System testing testing of the system as a whole after the integration phase Acceptance testing testing the system as a whole to find out if it satisfies the requirements specifications

Test Data Management Understanding the Challenges Ongoing administration of data in test environments continues to be a major challenge for QA teams even when test data setup has been completed successfully. Teams traditionally face challenges on three major fronts: - Managing reference data - Streamlining the data provisioning process and - Ensuring data quality in test environments To what degree is testing required and at what costs does it remain affordable? Are functional unit tests sufficient or is it necessary to conduct extensive stress tests of new releases of your applications before placing them into production? At the highest levels involving system integration tests, the application has to be challenged with test cases that are comparable to the real production data.

Functional and Regression Testing Why QTP Works Best? for your Web Services Applications

QucikTest Professional 8.2 Tutorial

Automated Testing QTP Introduction Preparation Record Enhance Run & Debug Reference Outline

Drawbacks of manual testing Time-consuming and tedious Impossible to test each feature thoroughly

Benefits of AT Fast ( 快 速 ) Reliable ( 可 靠 ) Repeatable ( 可 重 复 ) Programmable Comprehensive ( 全 面 ) Reusable( 可 重 用 )

QTP Introduction What is QTP? Mercury QuickTest Professional is functional test and regression test automation solution that address every major software application and environment. Basic purpose: to test standard web object, ActiveX controls and Visual Basic controls Structure: B/S and C/S

Testing process Preparation Record Enhance Run & Debug Analyze

Preparation Testing Plan: Computer: QTP: What process and web? What s the expected? When to begin and end? Close unneeded software (anti-virus, etc.) Internet Explorer settings QTP 8.2 or newer Required add-in

QuickTest Window Hop to record? Record

Enhance your test Add comment Creating checkpoints Parameterizing Tests Suggestions: Playback of it first

Add Comment Browser("Browser").Page("Page_2").WebEdit("#hobby").Set "Reading novels" Browser("Browser").Page("Page_2").WebButton("Submit").Click Rem Rem <<<<<<<<<<<<<check the output Browser("Browser").Page("Page_3").WebElement("input_text_1").Check CheckPoint("input_text_1") Browser("Browser").Page("Page_3").WebEdit("#hobby").Set "Watching TV" Browser("Browser").Page("Page_3").WebButton("Submit").Click

Creating checkpoints A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property. Effect: it enables you to identify whether your Web site or application is functioning correctly. Pre-defined checkpoint User-defined checkpoint

User-defined checkpoint Dim Style, index Style = Browser("Browser").Page("Page_22").WebEdit("#Aim").GetROProperty("outer HTML") index = InStr (Style, "color=read") If index <>0 Then Reporter.ReportEvent micpass, "HTML compared", "OK" Else Reporter.ReportEvent micfail, "HTML compared", "Trouble" End If

Parameterizing Tests A parameter is a variable that is assigned a value from an external data source or generator. It greatly increases the power and flexibility of your test or component.

Parameters types Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. Data Table parameters enable you to create a datadriven test (or action) that runs several times using the data you supply.

Parameters types (Continued) Environment variable parameters enable you to use variable values from other sources during the run session. Random number parameters enable you to insert random numbers as values in your test or component.

Two types of Data sheets Global Sheet Usage: it will be available to all actions and control the number of test iterations. Local Sheet Usage : it will be available in that action only and control the number of action iterations.

Advanced configuration Regular expression Use Data Table formula

Wait() and sync Msgbox() Object Spy Debug toolbar

Analyze Read test report Why it fails if it exits

Active Screen Features of QTP Keyword View & Expert View Auto-Documentation Generator : Step & Function Check Point :Standard, Table, Text, etc.. DataTable: Global & Local Parameterizing Object Spy Object Repository

What s not mentioned Split Action Insert Action Find objects VBScript Descriptive Programming

Plus Keyword driven Testing It deploys the concept of Keyword-driven testing to radically simplify test creation and maintenance. When to use QTP? When the system is relatively stable Functional testing & Regression testing How long and how frequent

Qualification Be familiar with the system Have a better understanding of QTP Others

Load / Stress Testing The case for LoadRunner Why LoadRunner Works Best? For Web-Applications

Case study: SuperMedia May 2009

Virtualized Load & Stress Testing

Summary QTP is one Keyword-driven testing tool suitable for functional testing and regression testing. Testing Process Preparation Record Enhance Run & Debug Analyze QTP Resources: http://www8.hp.com/us/en/software/enterprisesoftware.html

Load testing key benefits Cut costs by reducing your application performance issues in production Load test faster with the modern and powerful virtual user generator and robust correlation studio Speed scripting to accelerate time to market with patented HP TruClient technology Increase efficiency with measurable and repeatable load generation Isolate performance bottlenecks with system and end-user monitoring and a wide range of analysis components Use integrated HP Diagnostic software to pinpoint root causes of application issues LoadRunner resources: http://www8.hp.com/us/en/software/enterprise-software.html