Documente Academic
Documente Profesional
Documente Cultură
2007, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.
C3: Protected
Icons Used
Hands on Exercise
Questions
Tools
Coding Standards
Reference
Try it Out
A Welcome Break
Contacts
Test Cycles
The number of rounds the testing will be conducted and the scope of testing at each level need to be identified in the Test plan and agreed upon by all the stake holders
10
11
Escalation Process
The escalation process if an unforeseen event occurs during test execution need to be arrived and agreed upon by the stake holders
12
13
14
15
16
17
The tool may also be integrated with the third party tool
18
Detailed Environment Requirement has to be addressed and tracked in a separate document like
If there are multiple test environments, the above mentioned points need to be ensured in all the environments
19
Batch Job dependencies (if there are any) need to be identified and planned accordingly
20
Rights to access
DB Server
Application Server
Testers
External Application
21
22
Tools can also be used for creating test data Batch queries should be created for insertion/ Updation / Deletion of data in the tables Ownership of data has to be clearly defined among and within the teams
23
Delete from empdetail Delete from emp Insert into emp(table columns)(table Values) Insert into empdetail(table columns)(table Values) Update can be done as required
Note: While doing deletion, secondary/transaction data should be deleted first and then primary but it is vice versa during insertion
24
Build Management
For every cycle of test execution, the development team shares a controlled version of software (Build) which needs to be deployed in the respective test environment and tested Each build is associated with a version number and a release note attached The release notes of the build primarily includes information of the features of the software included in the build and the deployment details
25
26
Build Manager
Release Notes
Test Team
BVT Failed
BVT Pass
Test Team
Test Execution
27
28
Testers need to test only those features that are mentioned clearly in the release notes
29
30
What is the percentage of BVT test cases have to be passed ? a) 85% b) 90% c) Depends on the project
31
Test Execution
Test Case Test Log document to log actual results Identification of test cases assigned to each tester for the day Tester understands the dependency between test cases and identifies the sequence among them Tester ensures the prerequisite of each test case is met before execution Tester uses the test data identified for the test case during test execution Executes the test case / Retest if the defect is fixed
32
Log Test Results for the test step with proof of execution
Is the next test step available and executable with the defect raised for the previous step in this test case?
33
34
This may not be possible in all cases, then the tester may proceed to execute the next test case
Example In the Leave Management system, While applying leave, if the From and To dates are not editable
A test case is considered to be pass only if all the test steps in that particular test case pass
35
For some specific applications it is mandatory to log the test results physically in the test case document, to be compliant with the regulations
36
37
38
Logging a Defect
Testers raise defects when the expected result and the actual behavior of the application do not match The defect management methodology defined for every testing project would be different The testers need to follow the one defined in the Test Plan of that particular project The defect logging can be done in a simple excel document or any defect management / test management tool adopted by the team
39
Defect Description
A textual description provided to describe the defect to the other stakeholders of the project
Test Case Id
The Id of the test case executed to find the defect is provided for reference The Test data used to reproduce the defect may also be provided here for reference
40
Module Name
The module of the application in which the defect was found is mentioned here
41
42
43
44
45
46
Logging a Defect
Key Elements of a defect include
Priority
Priority of a defect is generally determined by the delivery manager of the project as defined in the Test Plan based on the following
Severity of the defect Capacity management of the development team Time required to fix a defect Impact of fixing a defect on the other defects sometimes, fixing one defect may rectify many of the related defects
Each of these priority levels will have a time associated with it, to enable the developers to fix within that time For Example, Critical defect may have a target resolution time of 2-6 hrs, less critical defects can have the target resolution time anywhere between 8-48 hrs
47
Defect Status
The status of a defect would change from stage to stage during the defect life cycle The defect life cycle is defined in the Test Plan for a project
Version of the build in which the defect is identified Test Environment details in which the defect occurred
48
Test Execution
If Defect found?
NEW
Is Valid Defect?
REJECTED / CANCELLED
DEFERRED
OPEN
Fix of defects
Defect found in Retest?
Triage Meeting
REOPEN
CLOSED
49
Highlight if there are any similar/ related defects earlier in the remarks Mention the other areas/features of testing affected due to this defect in the remarks Even if the defect is observed once and is not reproducible, log it and the development team and the business will decide to consider it as a defect or just an observation In the above case, log the defect with more details on when the defect occurred and when it is not reproducible
50
51
Re-testing of defects
Defects that are fixed by the development team are retested by the testing team to ensure that the application behaves as desired after the fix The status of the defect is changed to Re-Open and is assigned to the developer if the application does not behave as desired, even after the fix Otherwise, the defect status is changed to closed and the test log is updated appropriately In some cases, fixing of a defect would introduce new defects in the same module or any other related module of the application. Hence the related modules also need to be retested
52
Regression Testing
If the application under test is a maintenance application, the enhancement to the application may introduce defects in the existing functionality of the application Needs to be done to ensure that the application is in tact and behaves as before even after the enhancement/ defect fix There will generally be a set of regression test cases identified or automated test suite already available
53
Test the application as an end user Try and relate to similar scenarios while testing Collaborate with other testers/leads/SMEs in the project to understand
Implications of the defects on other modules Behavior of the defect if tested with other credentials Behavior of the defect in various environments Entire test environment/hardware/software
54
Data for reports can be prepared manually or taken from the tool if a test management tool is used
55
56
Summary of the modules that are impacted due to the fixes made to the defects Changes introduced in the business due to the defects found by the testing team (if any) Stability of the application Risks involved in moving to the next cycles of testing or UAT with the current state of the application
57
58
Application Maintenance
The server set up for the Test Test data may be identified from Environment would generally be the existing production environment Only the additional need for the available Only the new build of the application test data required need to be has to be deployed in the existing identified and obtained before environment execution If there are any specific changes based on the enhancement, those needs to be taken care The access to the DB, App server and other external interfaces may be available already Only those that are additionally required need to be obtained before execution
Project would have been already set up in the Test Management tool New folders and other essentials need to be set for the current release only Defect Management and the process is already set and hence just need to be followed
Focus is more on Regression testing of the application to ensure the enhancement does not introduce any defects into the existing functionality
59
Which tracker is used for down times ? a) Down time b) Environment c) Defect
When the Test Summary Report will be send? a) End of SIT b) End of Week c) Both
60
61
62
63
64
Traceability Matrix has to be updated with the defect details post the test execution Defects that are fixed by the development team are retested by the testing team to ensure that the application behaves as desired after the fix Regression Testing needs to be done to ensure that the application is in tact and behaves as before even after the enhancement/ defect fix During and post the Test execution, various reports are generated to share information on the status of the execution and the application defects with the stake holders of the project.
65
Disclaimer: Parts of the content of this course is based on the materials available from the Web sites and books listed above. The materials that can be accessed from linked sites are not maintained by Cognizant Academy and we are not responsible for the contents thereof. All trademarks, service marks, and trade names in this course are the marks of the respective owner(s).
66
2007, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice.