Manual Testing - Test Case Updated
Manual Testing - Test Case Updated
contents
Topics Cover
1. What is software Testing?
2. Type of Application
3. Software Testing (SDLC, Principles of STLC)
4. positive testing and negative testing.
5. Effective test cases and not-so-effective test cases
6. Environmental-related information
7. War room, hotfix, sprint, agile development.
8. Calculator-related scenario discussion.
9. Test case
10. Bug Reporting
11. UI testing checklist
12. WebSite test checklist
13. Test Case idea generation (Transfer Money)
14. Four Principles of QA Life
15. Test Metrics
16. Mind Maps
17. Software Test Life Cycle And Bug Life Cycle
18. Test Plan
19. Priority and severity discussion
20. Discuss scenario based question for manual tests
21. Test Technique (bva, ecp….)
22. Some Useful Concepts
23. Mistakes we do
24. Interview Questions set
1
Attention to detail test
Find out the differences between
these 2 pictures
2
Attention to detail test
3
Attention to detail test
4
5
Manual Software Testing Tasks
6
Manual Software Testing Tasks
7
Manual Software Testing Tasks
8
Manual Software Testing Tasks
9
Type of Testing
10
When to do Performance Testing
11
Activities of a software tester
12
SDLC
13
SDLC
14
Type of Application
Type of Application
Type of Application
Increasing imagination for SQA
Topic
Let us imagine we have an elevator (any - not this specific one shown below). We need to test an elevator.
What kind of testing will you perform to test the elevator?
20
Answer
Important Features to test
Improvement suggestion
1. Ability to take users/passengers to their designated floors
1. Multilingual interface
2. Ability to listen to the users call
2. voice command navigation
3. Functionality of Door
3. glass interior
4. Ability to use different type of Sensors.
4. safety enhancement fall,fire,smoke.
5. Ability to have proper ventilation.
5. Incase of power shutdown, take
6. Ability to call the elevator and navigate to designated floors.
appropriate measure.
7. Railing inside the lift for people's convenience.
6. Ambience improvement inside lift
8. Contact details to connect in case of emergency.
7. Live weight monitoring.
9. Emergency generator backup in case of load shedding
8. Smart control to operate the elevator.
10. Proper ambience inside the elevator.
9. sitting arrangement if possible.
11. Proper display inside and outside showing current position of
10. Emergency halt button.
the lift.
11. Synchronization between lifts
12. Ability to open the door at the right position.
12. Energy saving while not in use.
13. Manual override facility.
13. Waiting time incorporation
14. Audible facility for better accessibility.
15. Reset facility after reaching top/ground floor.
16. Smooth menueverity of the lift.
17. service maintenance alarm or health monitoring of the 21
elevator.
StopWatch testing
22
StopWatch testing
Test cases of the stopwatch
1. Start with the basics
2. if possible group the test cases
3. ends with edge cases.
4. Be precise and summarize as short as possible.
-> UI testcases
-> Default charateristics
-> Usability testcases
-> Compatibility related testcases
-> Responsiveness
-> Functionality testcases
-> Happy path
-> Unhappy path exploration
-> Database related test cases
-> API related test cases
-> Security
-> performance related
-> Improvement scope
23
Increasing imagination for SQA
Topic
1. Calculator Paradox
2. Toaster machine and edge case discussion
3. Login scenario with username and password
24
Increasing imagination for SQA
Topic
1. Calculator Paradox
2. Toaster machine and edge case discussion
3. Login scenario with username and password
25
Answer (homework)
Verifying UI for the feature if according to the expectations from both design and PRD.
Verifying behaviour when no image is uploaded
Verifying if single picture can be uploaded
Verifying behaviour with six image (max) uploaded.
Verifying that user cannot upload more than 6image at a time.
Verifying uploading below or above recommanded resoulution of the picture and different format.
Verifying duplicate file name upload
Verifying if the carousal is displaying image for 3 seconds and then moving to the next one.
Verifying the number of picture on the carousal menu shown as user uploaded.
Verifying the scrolling activity working seamlessly between images.
Verifying no scrolling activity for single image.
Verifying the order of image as shown in the carousal menu.
Verifying that the delete button is deleting images from the website.
Verifying that delete button is deleting only selected image.
Verifying the reappearance of upload button on deleting the sixth image.
Verifying the appearance of three dot after an image is uploaded.
Verifying the delete action to appear on clicking on the image.
Verifying the disappearance of the delete button after five seconds.
Improvement scope
Deleting all the image at a time
Checking confirmation message/progress after uploading images.
Ordering after upload facility
Drag and drop facility for uploading image.
Replace facility for an image.
26
Login scenario with username and
password
Login scenario with username and password
27
Manual Software Testing
Today’s Topic SDLC model
1. Test case 1. Requirements
2. Summary Report 2. Designing
3. Bug Reporting 3. Development
4. Test Matrics 4. Testing
5. MindMaps 5. Deployment
6. UI testing checklist 6. Maintenance
28
Error Defect Failure
29
Increasing imagination for SQA
Topic
1. Calculator Paradox
2. Toaster machine and edge case discussion
3. Login scenario with username and password
30
Increasing imagination for SQA
Topic
1. Calculator Paradox
2. Toaster machine and edge case discussion
3. Login scenario with username and password
31
Login scenario with username and
password
Login scenario with username and password
32
Test Case
1. What is test case?
2. Why Test case?
3. How to write test case?
4. Columns of test case
5. Summary Report of test case
6. Example of a test case
a) Show from my pc
b) https://www.softwaretestinghelp.com/login-page-test-cases/
33
Test case columns
#SL Module Type of Features Test Cases Expected Observed Test Reproducing Bug Screen Dev Status
Testing Result Result Data Steps Shot Comments
(Not QA)
SL1 User Funtctional Signup Creating User should Found as easabbir Step: 1 Go to Failed
Management testing user with not be able per @gmail.c Step: 2
existing to create expected om
email with valid with error
error “An account
message with this
email
already
exists”
34
Test case Example
35
Test case Example
36
Bug Reporting
Contents of single bug report
Ans# An ideal bug report should contain the following key points.
- Defect description – a short description of the bug.
- observed-
- Steps to reproduce – test steps to emulate the issue. We should also
provide the test data.
- Environment – add any system settings that could help in reproducing the
issue.
- Severity:
- Screenshots:
- Video:
- Responsible QA – point of contact in case you want to follow-up regarding
this issue.
- Expected- 37
Bug Reporting
example
Example of a bug report
TC-001
Issue/summary: Unable to create new user
Reproducing steps:
Env: qa/uat/prod
Priority: p1-p4
Severity: blocker/critical/major/minor
Screenshot:
Video:
Responsible QA: shakil
Expected:
38
Bug Reporting
example
Example of a bug report in excel sheet if there are multiple bug report
39
Whats Next?
UI testing checklist.
40
Whats Next?
1. Create your own test case
2. Read about mindMaps
3. UI testing checklist.
4. Issue sample
5. Ask questions
41
Manual Software Testing
Today’s Topic
1. Test Case idea generation (Transfer Money)
2. Four Principles of QA Life
3. Test Metrics
4. Mind Maps
5. 50 Questions set
42
Manual Software Testing
Test Case idea generation (Transfer Money)
43
Manual Software Testing
1. Murphy's law:
The more you fear something the more it will happen.
Anything that can go wrong, will go wrong.
2. Kidlin's law:
If you can write down the problem clearly, then the matter is half solved.
3. Gilbert's law:
The biggest problem at work is that, no one tells you what to do.
4. Falkland's law:
When you don't have to make a decision, then don't make a decision.
44
Manual Software Testing
Today’s Topic
1. Test Case idea generation (Transfer Money)
2. Four Principles of QA Life
3. Test Metrics
4. Mind Maps
45
Test Metrics
Need the number of the following to calculate the metrics
46
Test Metrics
Apply the formula to calculate the following
47
Test Metrics
Apply the formula to calculate the following
48
Test Metrics example
49
MindMaps
Free tools to download: xmind
https://xmind.app/download/
50
MindMaps Example
51
MindMaps Example
52
MindMaps Example
53
Software Test Life Cycle And Bug
Life Cycle
Software Test Life Cycle
i) Requirement Analysis
ii) Test Planning
iii) Test Design & Development
iv) Test Environment Setup
v) Test Execution
vi) Test Cycle Closure
54
Test Plan Template
1) Test Plan ID: Some type of unique company generated number to identify this test plan.
2) Introduction: Describe the purpose of the Plan, possibly identifying the level of the plan (System Test Plan
etc.). This is essentially the executive summary part of the plan.
3) Test Items: These are things you intend to test within the scope of this test plan.
4) References: List all documents that support this test plan. Refer to the actual version/release number of the
document as stored in the configuration management system.
5) Features to be Tested: This is a listing of what is to be tested from the Users viewpoint of what the system does. This is
not a technical description of the software, but a User’s view of the functions.
6) Features not to be Tested: This is a listing of what is NOT to be tested from both the Users viewpoint of what the system
does and a configuration management/version control view. This is not a technical description of
the software, but a User’s view of the functions.
7) Test Approach: This is your overall test strategy for this test plan; it should be appropriate to the level of the plan
(master, acceptance, etc.) and should be in agreement with all higher and lower levels of plans.
Overall rules and processes should be identified.
12) Schedule: Schedule for all Test activities in this Software Test Process.
14) Test Environment / Lab: It describes Require Hardware and software for setting-up Test Environment or Test Lab.
15) Test Deliverables: Lists out that what is to be delivered as part of this plan
16) Approvals Who can approve the process as complete and allow the project to proceed to the next level.
17) Glossary: Define terms and acronyms used in the document, it can be used to understood the terms used
in this plan.
56
Test Plan Sample
1) Test Plan ID: ITBD_APP_TP_001
2) Introduction: It is System Test Plan for Interment Banking System, internet web application, provides access
to Account holders and guest users from any ware in the world. It has two interfaces one is
Admin interface another is User interface. Admin can be accesses by Bank authorized users,
user interface can be accessed by Bank account holders and guest users.
The propose of the system (Application) is to provide bank information and services online
(through Internet), Bank account holders can get Banking services from any ware, without visiting
the Bank branches.
3) Test Items: Admin Interface: Master Data , User Management , Reports etc…
User Interface: Information, Personal Banking, Corporate Banking Business Etc…
4) References: Requirements, Project Plan , Test Strategy — Use cases (If available)
High Level Design doc , Low Level design docs, Process guide line doc, Prototypes
b) User Interface:
i) Information 1) Branch locators 2) ATM locators 3) Loans information 4) Bank history 5) Bank
financial details 6) Fixed deposits information 7) Calculators etc…
b) Test Execution:
Readiness of Test Lab Readiness of AUT Requirements Test Case docs Test Data Defect Report
Template Etc…
9) Suspension Criteria: Show-Stopper bug found, Supplier issues, Vast changes in requirements, If resolving defects are
more time consuming/expensive
58
Test Plan Sample
11) Schedule: Task Days Duration Remarks 1) Understanding & Analyzing Requirements. 2nd July to 6th July
Review Meeting 9th July Generating Test Scenarios. 11th July to 22nd July Reviews 25th July
to 26th July 5) Test Case Documentation 29th July to 12th August Reviews 14th August to 18th
August
7) Test Data collection 06 20th August to 26th August 8) Reviews 01 28th August 9) Verifying
Test Environment setup 01 29th August 10) Create Test batches 02 30th, 31st August 11) Sanity
Testing 01 3rd September 12) Comprehensive Testing 25 4th September to 2nd October 13)
Sanity Testing 01 3rd October 14) Selecting Test cases 02 4th and 5th October 15) Regression
Testing 05 8th October to12 th October 16) Sanity Testing 01 15th October 17) Selecting Test
cases 01 16th October 18) Regression Testing Cycle 2 04 17th October to 22nd
October . . . . . . . . . . . . 28) Final Regression 08 19th November to 28th November 29)
Evaluating exit criteria 01 or 02 29th, 30th of November 30) Collecting all artifacts 02 3rd, 4th
December 31) Test Summary Report 01 5th December Note: Regression Testing depends on
Application and strength of Development team.
14) Test Environment / Lab Application Type: Web Application, Internet and Public
Server side:
Windows Server 2016 UNIX server Ms Exchange Server a) Web Server, b) EDP, 3) Data storage
Bugzilla Tool VSS MS Office Selenium Tool etc…. Browser MS Edge
Client side:
Windows 10 VSS MS Office Selenium Etc…
AUT Environment .NET (C#, VC++, ADO) IIS -web server COM+ -App server SQL Server 2017
for Database server
15) Test Deliverables Test Plan, Review Reports, RTM Test Scenario docs Test Case docs Test data Opened, Closed
Defect Reports Test Summary Report 59
Test Plan Sample
16) Approvals Task/s Author /Role Date & Signature 1) Test Plan Documentation Ehsan (Test Lead) 2) Review
SomeName (QA Analist) 3) Approval SomeName (Project Manager)
17) Glossary AUT -Application Under Test . . . PIN -Project Initiation Note . . . SRS- Software Requirements
Specification . . .
60
We can also use this
format to notify after
we test and needs to
report
https://
docs.google.com/
spreadsheets/d/
1ZbNhoI5w4GHrRSZvP
6fLIenLGjUrZG-j/edit?
usp=sharing&ouid=10
071755157841491628
3&rtpof=true&sd=true
Priority and severity discussion
Priority and severity discussion
Discuss on website testing
Functional Testing Features and operational behaviour check and
Ensure they are responding correctly to its specification.
-Test all the links
-Internal link
-external link
-anchor links
-mailTo links
-form check
-default values
-test cookies
-form data gets written database.
-Internal function
Database Testing
Compatibility Testing Browser check(IE, Firefox, Chrome, Safari, Opera, Edge, Onion)
Image, Fonts properly displayed in different browsers.
Javascripts executing properly in different browsers.
Animated GIF’s should show in different browsers.
Responsiveness
2) Software Test Levels i) Unit Testing ii) Integration Testing iii) System
Testing iv) Acceptance Testing
ii) Dynamic Test Design Techniques a) Specification based or Black box Techniques
1) Equivalence Partitioning (EP) 2) Boundary Value
Analysis (BVA) 3) Decision Table Testing 4) State
Transition Testing 5) Use Case Testing Etc…
3) Decision Table Testing The decision tables are good way to capture system
requirements that contain logical conditions.
4) State Transition Testing In State transition Testing Test cases are designed to
execute valid and invalid state transitions.
Business Scenario:
ATM Cash Withdrawal operation Mainstream Scenario:
1) User: Inserts ATM Card System: Asks for PIN
2) User: Enters PIN System: Validates PIN and asks to select
language
3) User: Selects Language System: Asks to select Account Type
4) User: Selects Account Type System: Asks to enter Amount
5) User: Enters Amount System: Releases Money
Alternatives
2a) Suppose if user enters invalid Pin System: Shows error message and asks to enter correct PIN User:
Enters Correct PIN ———————–
4a) Suppose if user selects incorrect Account Type
System: Shows error and asks to select correct Account Type User: Select correct account type
5a) If User enters incorrect amount (More than the balance amount or more than the day limit) System:
Shows Error message and asks to enter correct amount User: Enters correct amount
Some useful Concepts
❏ Functional Testing and Non Functional Testing
❏ Verification and Validation
❏ Alpha and Beta testing
❏ Tools and Test Techniques
❏ Build and Release
❏ Quality Assurance and Quality Control
❏ Show Stopper
❏ Globalization and Localization
❏ Authorization and Authentication
❏ Types of Authentication
❏ Rate Limiting
❏ Caching
❏ OSI model and protocol used in different layers of OSI model.
❏ Agile concepts
❏ Root Cause Analysis
❏ Environmental Related Information
Verification and Validation
Alpha and Beta testing
Tools and Test Techniques
Build and Release
Quality Assurance and Quality Control
Show Stopper
Globalization and Localization
Authorization and Authentication
Authentication and authorization might sound similar, but they are more related to identity and
access management (IAM).
Authentication confirms that users are who they say they are, means
Authentication confirms the identity of the user
and Authorization gives permission to those identified users to access a resource.
In simple words Authentication means “Who you are” It’s all about to proving correct identity.
And Authorization means “What you can do” It’s all about access, means do you have permission to
access something.
Types of Authentication
Authentication methods: There are 4 most used authentication methods below:
Basic:
HTTP Basic Authentication is rarely recommended due to its security vulnerabilities. This is
the most straightforward method and the easiest. With this method, the sender places a
username: password into the request header. The username and password are encoded with
Base64, which is an encoding technique that converts the username and password into a set of 64
characters to ensure safe transmission. This method does not require cookies, session IDs, login
pages, and other such specialty solutions, and because it uses the HTTP header itself.
Bearer :
Bearer authentication (also called token authentication) is an HTTP authentication
scheme that involves security tokens called bearer tokens. The name “Bearer authentication” can
be understood as “give access to the bearer of this token.” The bearer token allowing access to a
certain resource or URL, usually generated by the server in response to a login request. The client
must send this token in the Authorization header when making requests to protected resources.
Types of Authentication
Authentication methods: There are 4 most used authentication methods below:
OAuth 2.0 :
This is very popular authentication method which is being used most nowadays. We
have seen so many times while installing an application at the time of sign-up it asks to sign up
with Google account or by Facebook etc. if we choose Facebook then we just have to login our
Facebook account and approve Yes to access. And through this process directly we can login
without sign-up. So basically, it provides a token along with some information and that
information & token get stored in that 3rd party application’s database. That is OAuth 2.0
method.
Ex: Basically, what we are doing, we are delegating our authority to google then after that Google
will ask you that like “Do you want to authorized this Instagram application?” If we say ‘Yes’ then
it will give our information to Instagram. And that information will store in Instagram database.
Next time it won’t ask login details to login. And if we change our password then automatically, we
will be logged out from Instagram. Again, it will follow same process to login. It will send a token
to Instagram that will be stored in Instagram’s database. If we remove our Instagram details from
Google then it will take back all that information from Instagram.
OAuth 2.0 is designed only for authorization, for granting access to data and features
from one application to another.
Types of Authentication
Authentication methods: There are 4 most used authentication methods below:
94
Follow Up mail
95
Whats Next?
What is coming up next?
Project Idea to add in your cv API testing
1. Create test plan Performance testing
2. Create mind maps GIT
3. Create test cases Database testing and SQL query
4. Create bug report Basic JAVA
5. Create summary report Web automation
6. Create Test Metrics Mobile automation
Cucumber
Cypress
Submit with the test case assignment whether it is Jenkins
asked or not. For any interview project.
Ask questions……………
Learn the document (ISTQB materials)
96