Wednesday, July 20, 2011

Daily Status Report- Software Testing

Daily Status Report: A self explanatory report explaining all the activity status of the individual/team on a daily basis to showcase the work status.

This report will consists of following details:
Note: The Report may differ from Project to Project/Company to Company.
  1. Total  Number of Test Cases
  2. Number of Test Cases Executed for that day
  3. Percentage of Test Cases Executed
  4. Number of Test Cases Remaining.
  5. Percentage of Test Cases Remaining for Execution.
  6. Number of bugs Raised for that Day based on the Severity.
  7. Total Number of Bugs.
  8. Overall Status of Testing.(Include if anything is blocking and which needs to be addressed ASAP).
Can Also Include:
1. What is Planned for Today.
2. What is the overall status for Today.
3. What is the Plan for the Next Day
4. Start Date and End Dates of  Testing.
etc....

The Status Report can be in any format, in excel, or word etc but should be conveying the overall testing status for that day.

Friday, July 15, 2011

How to Write a Test Case

Before writing the test case we must have the knowledge on the functionality of the module for which the test case is being written, what is expected from the functionality, Navigation or flow of the functionality and Dependencies.

Steps to Write a Test Case:

Test Case Template Should Contain:
  1. Test Case Title
  2. Preconditions
  3. Test Steps  
  4. Expected Results
  5. Background check points(if any)
  6. Comments (If any).
Test Case Title: A brief statement about what the user/tester wants to test.
     Example: Verify the functionality submit button in the login site after entering valid user name and password.

Preconditions: Details containing:
  • URL to access the application / program to test.
  • Access Details like user name and password to use.
  • Navigation details of the functionality to test.
  • Pre-steps that needs to be taken to test the functionality.
Example:
1.  Open IE9 for the test.
2. From Tools remove the Pop up blocker
3. Valid User name and Password User name: Test1, Password: Password
Make sure that the login for the user already exists.

Test Steps: Step by Step navigation details for the user to follow to execute the test case.

Example:
  1. Open the URL to test www.mail.yahoo.com in IE9.
  2. Enter the valid User name and Password (as mentioned in Pro conditions)
  3. Do not select "Keep me Sign in" option
  4. Click for Submit button

Expected Results: The output by following the above steps as per the functionality of the system.

Example:

1. User should be able to login into the yahoo site.
2. Default main page should open with Inbox being highlighted and listing all the email from the inbox.

Background Check Points: If anything that gets logged in the DB along with query once the test case is executed(for cross verification).

Comments/Spl Notes: What other ways and environments the above test steps can be executed to get the expected Results.
Example: IE 7, Chroma, FireFox.
This is to avoid move number of test cases with the same condition in different environments.





    Definition of Error, Defect, Issue, Bug

    Error:A failure of a system to perform some action it has been designed to perform.It can be a mistake made by programmer.

    Defect:The defect can be either a failure of a certain section of the code to function as expected could be because of a flaw in the design of the system.

    Issue: Can be a suggestion for the improvement of software quality or usability prospective.This does

    Bug:This is the deviation from the expected functionality. Extected outcome of the test cases does not match with the actual data/values and the test case fails.

    Thursday, July 14, 2011

    Difference between Regression Testing and ReTesting

    Regression Testing:
    1.  Once a bug is fixed, testing in done on the application to make to no other functionality around this bug is broken because of the fix.
    2. We need to identify the test cases that we need to be executed once the fix is done.
    3. Once a Change Request(CR) is applied on the system, identified regression test cases need to be executed to make sure that because of the new functionality if any other existing functionalities get effected/broken.
    Re-Testing:
    1. Testing to ensure that the bug is fixed.
    2. Once a bug is fixed, make sure that the test case associated with the bug gets executed and Passed.
    3. Here testing is not done to check of any other functionality is broken because of the bug fix.

    Software Testing - Basic Points

    Few basic points that we need to know about Software Testing:

    1. Software Development Life Cycle(SDLC).
    2. Software Test Life Cycle(STLC).
    3. Bug Life Cycle.
    4. How to define Sevierity and Priority of the Bugs.
    5. Entry and Exit Criteria for Testing.
    6. What is a Business Requirment Document, Functional Requirment Documnet,Test Scenario, Test Case, Defect/Issue, Bug.
    7. Type of Bugs.
    8. Types of Testing-Unit Testing,Smoke/Sanitary Testing, Integration Testing, System Testing, Regression Testing , Re-Testing, Alpha and Beta Testing, UAT testing.
    9. Test Environments-System Intergration Testing(SIT), User Acceptance Testing(UAT), Production.
    10. Status Report Details and Prepartion.