Wednesday, 15 July 2015

Top Interview Questions and Answers For Software Testing



Software testing is a crucial element of the Software Development Lifecycle. In this write-up we will go through some of the common questions that you may be asked at the time of a software testing interview. Keep in mind that the answers provided here are just for guidance. You have complete liberty to modify and expand the answers if you want.  


What is the procedure to create a test script?

Ans: 1st Step – Completely understand the Application Under Test (AUT)
 
i)                    Read the requirement doc carefully.

ii)                   If there is no requirement doc, try to get an idea from the point of references like a previous or old version of the app, screen shots or wire-frames.

2nd Step – After you understand the requirement, make a list of what portions of this app have to be tested. This means, in this step you have to focus on “What to test”. At the end of this step you will come up with a list  of test setups.

3rd Step – In this step you have to concentrate on “How to test”. Here you have to write down the detailed steps involved in testing a particular feature, test data to enter and the expected outcome.
Once these three steps are completed, you can proceed with testing.  
   
What the types of test techniques and what are they used for?

Ans: Uses of test techniques        
  
a)      To help make out defects

b) To trim down the number of test cases.

Different test technique 
   
  • Boundary Value Analysis – used to scrutinize the system behavior while analyzing the boundary value in software testing.

 Equivalence partitioning – used to cut down the numbers of test cases by classifying sets of data that are different and executing only 1 test from each set.

All Pairs Testing or Pair-wise – used to lessen the number of test cases while escalating the exposure of feature combo. 

 State Transition Testing – used to confirm allowed and disallowed states and conversion from one state to another by different input data.

What are the fields to be included in a bug report?

Ans: Fields to be included in a good bug report are:
  •    One unique ID
  •   Defect description
  •   Steps to re-create – how to arrive at the defect, exact test data, defect- detection time, other info that will help re-address the problem.
  •  Module/ section of the app
  •   Screenshot 
  •     Severity
  •  Responsible QA – follow up regarding bug fixing.

Define white box testing and black box testing?

Ans: In White Box Testing the tester can check inside the process and authenticate the data prior to the end outcome. Validation steps may be required in white box testing. On the other hand, Black Box Testing examines the functions of an app without peering inside the process. This test method can be used at entry level software testing – unit, system, integration and acceptance. The software testers cannot see inside the process.  They can only see the output

Briefly describe the process involved in mobile app testing?

Ans:  - Verify if the app functions properly with multiple devices and carriers
-          Check the serviceability of the features in a mobile screen

-          Testing on different platforms like iOS and Android

-           Installing, Uninstalling, testing functions, launching the application with or without networks

-          Internet connectivity  - 2G, 3G. WiFi, etc.

What types of testing are important for web testing?

Ans:  Types of testing important for web application testing are: 

a)      PerformanceTesting – It is the process of finding out the speed or efficiency of a computer, network web software program. This process involves quantitative tests performed in a lab, like calculating the response time, etc.

 
    b)      Security Testing – It is a type of non-functional testing that is performed to verify whether the app or product is secured or not. It verifies if the application is susceptible to attacks like  unauthorized access or hacking


 Hoping that this post will benefit software testing professionals who wish to get selected in giant IT companies.     


No comments:

Post a Comment