1 Automated Testing & Test Tools Apirada Thadadech.

Slides:



Advertisements
Similar presentations
PC Tips & Trouble Shooting I didnt know that! Short Cut Keys Short cut keys are an easy way to complete tasks on a computer.
Advertisements

Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
including File Management
What Is An Operating System?. Before Operating Systems u What do you do with just computer hardware? –If someone gives you a computer with no software.
Tailoring Needs Chapter 3. Contents This presentation covers the following: – Design considerations for tailored data-entry screens – Design considerations.
Lab6 – Debug Assembly Language Lab
Software Testing. Overview Definition of Software Testing Problems with Testing Benefits of Testing Effective Methods for Testing.
Software Development Unit 6.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
Adding Automated Functionality to Office Applications.
Systems Software Operating Systems.
1 Joe Meehean. 2 Testing is the process of executing a program with the intent of finding errors. -Glenford Myers.
Other Features Index and table of contents Macros and VBA.
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
Scenario testing Tor Stålhane. Scenario testing – 1 There are two types of scenario testing. Type 1 – scenarios used as to define input/output sequences.
Chapter 17: Watching Your System BAI617. Chapter Topics Working With Event Viewer Performance Monitor Resource Monitor.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
Lesson 4 Computer Software
Types of Operating System
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
1 DAN FARRAR SQL ANYWHERE ENGINEERING JUNE 7, 2010 SCHEMA-DRIVEN EXPERIMENT MANAGEMENT DECLARATIVE TESTING WITH “DEXTERITY”
Chapter 8: Systems analysis and design
Chapter 4 System Software.
Microsoft Excel Macros & Excel Solver (IENG490)
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Problem Determination Your mind is your most important tool!
What is a Computer ? What is the application of computer in Our Daily Life ? What is the application of computer in Teaching Field?
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
Lecture 5: Using Computers: Important Ideas Tonga Institute of Higher Education IT 141: Information Systems.
Software Development Software Testing. Testing Definitions There are many tests going under various names. The following is a general list to get a feel.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Jalisa Eady Definitions Mr. Gabbard Pd
Software Development Process.  You should already know that any computer system is made up of hardware and software.  The term hardware is fairly easy.
From Quality Control to Quality Assurance…and Beyond Alan Page Microsoft.
ICT IGCSE.  Introducing or changing a system needs careful planning  Why?
Unit 2 (task 28) In this PowerPoint I will tell you about 7 important IT job roles and if a candidate might want one what he would have to do to get one.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Intermediate 2 Software Development Process. Software You should already know that any computer system is made up of hardware and software. The term hardware.
Save Your Movie on a CD. After creating a movie in Windows Movie Maker, you can share it with your family and friends in a variety of formats. One of.
TownMUD An Interface for a Text-Based Multiple User Dimension.
COMPUTER ORGANISATION I HIGHER STILL Computing Computer Systems Higher Marr College Computing Department 2002.
P3 - prepare a computer for installation/upgrade By Ridjauhn Ryan.
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
 Given live by a presenter  Played without a presenter on a computer screen or on the Web  Slides provide a way to use text and graphics to introduce.
Testing in Android. Methods Unit Testing Integration Testing System Testing Regression Testing Compatibility Testing Black Box (Functional) White Box.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
CSCI N100 Principles of Computing Basic Problem-Solving.
1 End User Support Introduction Identify and select remedies.
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
By the end of this lesson you will be able to explain: 1. Identify the support categories for reported computer problems 2. Use Remote Assistance to connect.
Maintaining and Updating Windows Server 2008 Lesson 8.
OPERATING SYSTEMS (OS) By the end of this lesson you will be able to explain: 1. What an OS is 2. The relationship between the OS & application programs.
How to fix Missing Windows Sockets Registry Entries required for Network Connectivity in Windows 10 /pages/Reimage- Repair- Tool/ /u/6/b/
The most important factors to consider when purchasing a computer that will be used to create and edit graphics, animation and video are the size of the.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Chapter 2: System Structures
Introduction to Events
5 SYSTEM SOFTWARE CHAPTER
QuickBooks is a leading accounting software, trusted by millions of small and medium-sized businesses. It’s a multi-tasking software that helps businesspersons.
O.S Lecture 13 Virtual Memory.
Sharing the good, the bad, the ugly & What can we do about it?
5 SYSTEM SOFTWARE CHAPTER
Tonga Institute of Higher Education IT 141: Information Systems
Presentation transcript:

1 Automated Testing & Test Tools Apirada Thadadech

2 Contents  The Benefits of Automation and Tools  Test Tools  Software Test Automation  Random Testing: Monkeys and Gorillas  Realities of Using Test Tools and Automation

3 Apirada Thadadech The Benefits of Automation and Tools The code test fix loop get repeat several times before the software is released. Might need Many time to run the tests and check the bugs that found in previous test runs were indeed fixed and no new bugs. Software test tool and automation can help to solve those problem

4 Apirada Thadadech The principle attributes of tools and automation:  Speed. Might average test case every 5 seconds.  Efficience. During running test case by test tool, have time for test planning and thinking up new test.  Accuracy and Precision. A test tool will perform the same test and check the result perfectly.  Relentlessness. Test tools and automation never tire or give up

5 Apirada Thadadech reminder Software test tools are not a substitute for software testers, but they just help software testers perform their jobs better.

6 Apirada Thadadech Test Tools  Test tool work as Black- box testing. They could perform software tests without having to set up a real-real scenario, they don ’ t need to understand how the tool works.  Test tool could be set up the monitor and modify the raw communications that occurs among those million computers(testing networking software)  Test tool could be set up to monitor and modify the raw communications that occurs among those million computer seem white-box skills and knowledge of the low-level protocol to effectively use the tool.

7 Apirada Thadadech Types of test tool  Invasive A tool is used only to monitor and examine the software without modifying  Non-invasive A tool modifies the program code or manipulates the operating environment

8 Apirada Thadadech Test Tool Type  Viewers and Monitors Test tool allow tester to see details of software’s operation that they wouldn’t normally be able to see.  Drivers are tools used to control and operate the software being tested, such as batch file, software that testing requires large amounts of data to be entered for test.  Stubs is like driver, but stubs are essentially the opposite of driver in that they don’t control operate the software being tested. Such as sent data to printer, you can test it is to enter data, print it and look at the result paper printout.

9 Apirada Thadadech Viewers and Monitors Computer #1 Computer #2 Software under test Communications line Computer #3 Viewer test tool Tapped line

10 Apirada Thadadech Stress and Load Tools Stress Tool Stress Tool is The Stress program allows you to individually set the amounts of memory. Disk space, files and other resources available to the software running on the machine. Load Tool Load Tool is similar to stress tool but it run on Web servers to load them down by simulating a set number of connections. Such as it check that simultaneous users and 1 million hits a day can be handled without showing response times. There are problems about available memory and disk space when the system run many programs in the same time, such as running word processing and copy file to fill up….and so on.

11 Apirada Thadadech Software Test Automation Software test automation is software that could be combined, started, and run with little or no intervention from tester.

12 Apirada Thadadech Types of automation  Macro recording and payback  Programmed Macros  Fully Programmable Automated Testing Tools

13 Apirada Thadadech Macro recording and payback  The Most basic type of test automation is recording your keyboard and mouse actions as you run your tests for first time and then playing them back when you need to run them again

14 Apirada Thadadech The Option in Macro recording and playback  Name  Name : Macro name provides a way to identify it later.  Repetitions  Repetitions: Great way to find bugs. You can set the number of times the macro will repeat or loop when it runs.  Trigger  Trigger : you can set how the macro is started, can be by a hot key.  What’s captured  What’s captured: you can select to capture as ketstrokes or mouse action.  Play back speed  Play back speed: it can set play back from 20 % slower to 500%  Playback position  Playback position: determines when mouse movements and clicks should be absolute or relative to a certain window onescreen

15 Apirada Thadadech Note: Recording and playing back macros is a popular means to automate simple testing tasks. Its also a good place to start for testers learning how to automate their.

16 Apirada Thadadech Programmed Macros Programmed macros are a step up in evolution from the simple record and playback variety.

17 Apirada Thadadech Simple macro program 1: calculator test #2 2: > 3: > 4: 123 – 100 = 5: > 6: > A Simple Macro that performs a test on the Windows Calculator

18 Apirada Thadadech Random Testing: Monkeys and Gorillas Test Monkey : The idea that you had a million monkeys typing on a million keyboards for a million years. The use of test monkey to simulate how your customers will use your software in no way insinuates that computer users are related to apes.

19 Apirada Thadadech Test monkeys  Dump monkeys  Semi-Smart monkeys  Smart Monkeys

20 Apirada Thadadech Dump Monkeys A dump monkey doesn’t know anything about the software being tested; it just clicks or types randomly. 1: randomize timer 2: for I = 1 to : play “{click “+str$(int(RND*640))+”, “+STR$(RND*480))+”}” 4: play CHR$ (RND*256) 5: Next i

21 Apirada Thadadech Remember The monkey is doing absolutely no verification. It just clicks and types until one of two things happens- either it finishes its loop or the software or the operating system crashes.

22 Apirada Thadadech Note If you don’t believe that a dumb monkey can possibly find a serious bug, try running one on your favorite computer game or multimedia program.

23 Apirada Thadadech It doesn’t seem to make sense that simple random clicking and typing could find a bug, but it does for a couple reasons:  Given enough time and attempts.  With its continuous repetition and use.

24 Apirada Thadadech Semi-Smart Monkeys

25 Apirada Thadadech Realities of Using Test Tools and Automation The Software changes. Specifications are never fixed. There’s no substitute for the human eye and intuition. Verification is hard to do It is easy to rely on automation too much. Don’t spend so much time working on tools and automation that you fail to test the software. If you’re writing macros, developing a tool, or programming a monkey, you are doing development work. Some tools are invasive and can cause the software being tested to improperly fail.