Monday, 23 March 2020

Test Scenarios V/s Test Cases

Test Scenarios
Test Cases
It tells user “what to do”?
It tells user “How to do”
Purpose of test scenario is to test end to end functionality of a application

Purpose of test case is to validate the test scenario by executing a set of steps

Creating test scenarios helps you in a time-sensitive situation (especially working in Agile)

Creating test cases is important when working with testers off-site

Test scenarios are easy to maintain 
Software applications change often. It leads to redesigning the pages and adding new functionalities. It hard to maintain test cases

Less time consumption compared to test cases

More time consumption compared to test scenarios

Relatively less resources enough to create and test using test scenarios

Required more resources to create and execute test cases

Test scenarios are derived from use cases

It helps in exhaustive testing of application

Test scenarios are high level actions

Test cases are derived from test scenarios

It helps in agile way of testing end to end functionality

It helps in exhaustive testing of application

Monday, 27 May 2019

STLC


Test Plan – is a document which derives all future activities of the project. All future testing activities is planned and put into a document and this document is known as Test Plan. It contains – number of engineers needed for the project, who should test which feature, how the defects must be communicated to the development team, when we should start and finish writing test cases, executing test cases, what are the types of testing we use to test for the application etc.

Write test case – we write test cases for each feature. These test cases are reviewed, and after all mistakes are corrected and once the test cases are approved – then they are stored in the test case repository
Traceability Matrix – it is a document which ensures that every requirement has a test case .
Test cases are written by looking at the requirements and test cases are executed by looking at the test cases. If any requirement is missed i.e, test cases are not written for a particular requirement, then that particular feature is not tested which may have some bugs. Just to ensure that all the requirements are converted, traceability matrix is written. This is shown below,
The Traceability Matrix is also known as RTM(Requirement Traceability Matrix) or CRM(Cross Reference Matrix).
Test Execution Report :- Send it to customer – contains a list of bugs(major, minor and critical), summary of test pass, fail etc and when this is sent, according to the customer – the project is over.
TER is prepared after every test cycle and sent to development team, testing team, management and customer(depends if it is a fixed bid project or time & material bid project).
The last TER of the last test cycle is always sent to the customer. And this means that the project is over-according to the customer.

Retrospect meeting – (also called Post Mortem Meeting / Project Closure Meeting)
The Test Manager calls everyone in the testing team for a meeting and asks them for a list of mistakes and achievements in the project.

MISTAKES(Mistakes in the Process)
ACHIEVEMENTS(good process/procedure followed)
1) Review process is not good
1)Last day of each cycle generally swap modules and do ad-hoc testing
….
…..
…..
…..
…..
….

This is done by test lead or test manager. Here, the manager documents this retrospect meeting and stores it in QMS (Quality Management System). It is a folder, where inside this folder, there is another folder called Retrospect folder and here this excel sheet document is stored. When we get new project, while we write the test plan – we will open this retrospect file and will try and implement the good practices and correct the mistakes.


Sunday, 19 May 2019

Test case Template


Header of the Test Case:
1.       Test case Name:
Test engineer will write a unique test case name for every individual test case in a test management toll or in excel:
Example:
Project Name_ModuleName_ScenarioName
CityBank_AmountTransfer_FAN Text field should accept 10 digit Positive interger.

Gmail_Login_To validate login Functionality:

2.       Test Data:
It is a data created by test engineer in the application before executing test case or step no1.
3.       Severity:
TE while writing test case, TE should give severity for every individual test case based on the complexity and importance of the feature from the customer business point of view.