Software Testing Life Cycle

Software Testing Life Cycle(STLC):

 

       For testing the Project testing team will follow one Process i.e. Software Testing Life Cycle”.  In Software testing life testing we having different phases like

Following is a Diagrammatic Representation of Different phases in Software Testing Life Cycle   











                                            

            a) Test Planning
            b)Test Design 
            c)Test Execution 
            d) Result Analysis 
            e) Defect Tracking
            f)  Maintenance 
 
  a)Test Planning: In this phase Test Lead (T L) will prepare master test plan with some objectives. Like

                                                                  i.  Test Strategies
                                                                  ii.   Scope
                                                                 iii.   Activities
                                                                 iv.    Deliverable
                                                                 v.    Depends
                                                                 vi.    Risks
                                                                 vii.    Exit and Entry 

        b)Test Case Design: In this phase testing team will write the test cases based up on the Requirements. Some Organizations will write test cases in QC, some Organizations will write test cases in Excel Sheet.
  
             c)Test Execution: In Test Execution phase testing team will execute the test cases based up on the Requirement Documents.
  
             d) Result Analyses: In this phase after completion of test execution testing team will analyse the result. If Expected Result and Actual Result both are same then we can say test case is Pass. If Expected Result and Actual Result both are different then we can say test case is Fail. Once the test case is fail then we have to log a defect, then only development team will come to know having issue in Application. For that some Organization’s using some tools (Bug zilla, QC).  Some Organization’s using Excel Sheets.
 
        e)Defect Tracking: Once the defect is raised we have to track that, and then only we will know it is in which status.
 

Software Testing Methods

Black Box Testing: 

           In Black Box Testing we don’t want to execute the code for finding the defect.  Is also known as Behavioral Testing. Black Box testing method is applicable to all levels of the software testing process like.

·         Unit Testing
·         Integration Testing
·         User Acceptance Testing
·         System Testing
     

    By using this method we will find errors in the following categories:

·         Incorrect or Missing Functions
·         Behavior errors or performance errors
·         Interface Errors

In Black Box testing we will use some techniques to find the defects
         
a.       Boundary Value Analysis  Technique (BVT)
b.      Equal Class Partitioning
c.       State Transition Technique 

   a) Boundary Value Analysis Technique (BVT): It is a software test design technique. In Boundary Value Analysis Technique we are trying to test boundary values of the test data. By using this technique we can prepare accurate test data.

Example: We will consider x and y are the range of the value.  X is the starting value and y is ending value then, we will try to test by using some conditions
       X - Value, y – Value, x+1 – Value, y+1 – Value, x-1 – Value, y-1 – Value We will try to test these conditions.

For example we will write test cases for login field:
      
                   Requirements are: 1) Login field should accept 6- 12 characters only



S. NO
BRS ID
Description
Test Data
Expected Result
Actual Result
Pass/Fail
1
1.1
Verifying the username filed length exactly with 6 characters
username:
12345y
User name field should be accept the value
User name field accepted the value



2
1.1
Verifying the username filed length between 7 to 11  characters
user name:
14253yuiqs
User name field should be accept the value
User name field accepted the value



3
1.1
Verifying the username filed length exactly with 12 characters
User name:
12345y54hber
User name field should be accept the value
User name field accepted the value



4
1.1
Verifying the username filed length more than 12 characters
User name : 12450@ghjkawe
User name field Should not be accept the value and it will throw the error
User field is not accepted the value and its throwing “ Please enter the character between 6-12 Characters Only”


5
1.1
Verifying the username filed length less  than 6 characters
User name : 150@e
User name field Should not be accept the value and it will throw the error
User field is not accepted the value and its throwing “ Please enter the character between 6-12 Characters Only”




      b) Equal Class Partitioning: In Equal Class Partitioning class we are dividing test data into different classes. We will consider alphabets (a, b, c, d...) are one class. And numbers are in one class(0,1,2,3,4,5,6), and  Special Characters  are in one class(!,@,#,$,%,&,*) . Equal Class Partitioning (ECP) technique will use full some User Name fields (or) Password fields will accept only one type characters only.

Requirements are:  1) Login field accept alpha bate characters only
                              2) Password alpha numeric characters only

 
S. NO
BRS ID
Description
Test Data
Expected Result
Actual Result
Pass/Fail
1
1.1
Verifying the username filed With alpha bates
User Name : ascdfe
User name field should be accept the value
User name field accepted the value



2
1.1
Verifying the username filed With alpha Numeric 


User Name : adc@123#$
User name field Should not be accept the value and it will throw the error

User field is not accepted the value and its throwing           “ Please enter  Characters Only”


3
1.1
Verifying the Password filed values without
 entering  alpha numeric characters


Password: asdcfvr
Password field should not  be accept the value and it will throw the error


User field is not accepted the value and its throwing           alpha numeric characters


4
1.1
Verifying the Password filed values with
 entering  alpha numeric characters

Password: asd@#$4152
Password field should   be accept the value
Password field is accepted  the value

5
1.1
Verifying the username filed With Numeric  values


User Name:   123456
User name field Should not be accept the value and it will throw the error

User field is not accepted the value and its throwing           “ Please enter  Characters Only”



     c)State Translation Technique: In this technique we are testing how the pages are re-directing form one page to another page. And how the pages are re-directing form another pages to home page.


Advantages of Black Box Testing:

               1)Testers no needed to know any programing knowledge
               2)Testers are done form the user’s Point of View
               3)Test cases can be designed as soon as the Functional Requirement Specifications are complete

  2) White Box Testing:

              White Box testing is also known as “Glass box testing or Structural Testing” .In White Box testing we want to execute Code for finding the defect. If tester wants to do White Box Testing, the tester should have knowledge on Coding. In White box testing we need to do detailed investigation of internal logic and structure of the code. In order to perform white box testing on an application, the tester needs to possess knowledge of the internal working of the code

White Box testing Method is applicable to the following level of the software testing process like 

·         Unit Testing
·         Integration Testing
·         System Testing