Professional Documents
Culture Documents
Ayman M. Kamal
Course Outline
Introduction
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Introduction
What is Testing?
Why Testing?
What is Bug?
What is Bug?
Types of bugs:
Arithmetic bugs
Logical bugs
Syntax bugs
Why Testing?
Why Testing?
Another story was printed in the New York Times in February 1994.
Chemical Bank managed to allow $15 million to be withdrawn
incorrectly from 100,000 accounts - a single line error in the program
caused every ATM on their network to process the transaction twice
Why Testing?
Analytical skills
Communication skills
Presentation skills
How to be a Good Tester?
Listen carefully
Be prepared
Beginner Level:
Test the requirements document
Create checklist
Create test cases
Execute test cases
Report bugs
Send status report
Intermediate Level:
Create test plan
Review test cases
Perform functional/non-functional testing
Supervise junior testers
Estimate testing effort
Different Roles of Tester
Expert Level:
Review testing estimate
Allocate and utilize the testing team
Evaluate the testing team
Communicate with the project manager
Testing Certificates
Initiation Phase
Analysis Phase
Requirements Phase
Design Phase
Implementation Phase
Testing Phase
Installation Phase
Maintenance Phase
Initiation Phase
Draft plan
Draft schedule
Analysis Phase
Requirements gathering
Requirements review
Design Phase
Start coding
Develop components
Integrate components
Testing Phase
Maintenance Phase
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Software Testing Process
Planning Phase
Designing Phase
Execution Phase
Completion Phase
Planning Phase
Execution Phase
Report bugs
Complete documentation
Open
Assign
Test
Close/Reject
Is it real bug?
Assign to developer
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Unit Testing
System Testing
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Functional Testing
Exploratory Testing
Boundary Testing
Regression Testing
Smoke Testing
“4” and press the “sqrt” button, you will get “2”.
is considered as failed.
Exploratory Testing
Regression Testing
Non-Functional Testing
Performance Testing
Load Testing
Stress Testing
Usability Testing
Localization Testing
Performance Testing
Load Testing
Stress Testing
Usability Testing
Localization Testing
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Requirements Testing
Requirements Gathering
Types of Requirements
The author should understand the client's business and the process
of software development
Business Requirements
Functional requirements:
Define the functions of the software and its components
A function is described as a set of inputs, outputs and
Behaviors
Define what a system is supposed to accomplish
Specify particular results of the system
Types of requirements
Non-Functional requirements:
Specifies criteria that can be used to judge the operation of a
system
Specifies measurements that the software must meet
Defines how a system is supposed to be
It’s not concerned with specific behavior
Why Requirements Test?
It’s better to catch the requirement issues and fix them in early
development life cycle
Clear
Specific
Consistent
Measurable
Testable
Complete
Course Outline
Introduction
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Writing Test Cases
Data type:
Characters
Integers
Decimals
Alphanumeric
Maximum length
Required/Optional
Special characters
Test cases should describe what kind of errors can you expect
Be to the point
ID
Title
Description
Expected Results
Samples of Test Cases
Steps to reproduce:
1. Launch Application
2. Select “File” menu
File menu pulls down
3. Choose “Open”
"Open" dialog box appears
4. Select a file to open
5. Click OK
Test Execution:
1. Open program
2. Open new document
3. Type any text
4. Select the text to make bold.
5. Click B
Testing Levels
Testing Types
Requirements Testing
Bug Reporting
Bug Reporting
Bug Criteria
Bug Attributes
Types of Bug
Example
Bug Criteria
Bug Criteria
ID Title
Priority Severity
Status Assign To
Types of Bug
Coding error
Design error
New suggestion
Documentation issue
Hardware problem
Types of Bug Severity
Example
Lets assume in your application under test you want to create a new
user with user information, for that you need to logon into the
application and navigate to USERS menu > New User, then enter all
the details in the ‘User form’ like, First Name, Last Name, Age, Address
and Phone. Once you enter all these information, you need to click on
‘SAVE’ button in order to save the user. Now you can see a success
navigated to USERS menu > New user, entered all the required
(Capture this error message window and save as a Microsoft paint file)
Example
Description:
1) Logon into the application
Actual Result:
The application crashed and you got an error page
on the screen
Example
Notes:
1) See the attached logs for more information (Attach more logs
related to the bug..IF any)
+2 0222756841
+2 01021902447
E-Mail: info@testproeg.com
www.testproeg.com