Showing posts with label SOFTWARE TESTING. Show all posts
Showing posts with label SOFTWARE TESTING. Show all posts

SOFTWARE TESTING INTERVIEW QUESTIONS-12

What is Code Walk Through?
Informal analysis of the program source code to find defects and verify coding techniques.

What is Unit Level Testing?
Testing of single programs, modules or unit of code.

What is Integration Level Testing?
Testing of related programs, Modules (or) Unit of code.
(or)
Partitions of the system ready for testing with other partitions of the system.

What is System Level Testing?
Testing of entire computer system across all modules.  This kind of testing can include functional and structural testing.

What is Alpha Testing?
Testing of whole computer system before rolling out to the UAT.

What is User Acceptance Testing  (UAT)?
Testing of computer system by client to verify if it adhered to the provided requirements.

What is Test Plan?
A document describing the scope, approach, resources, and schedule  of testing activities.  It identifies test items, features to be tested, testing tasks, who will do each task, and any risks requiring contingency planning.

What is Test Scenario?
Identify all the possible areas to be tested (or) what to be tested.

What is ECP (Equivalence Class Partition)?
 It is method for deriving test cases.


What is a Defect?
 Any flaw imperfection in a software work product.
(or)
Expected result is not matching with the application actual result.

What is Severity?
It defines the important of defect with respect to functional point of view i.e. how critical is defect  with respective to the application.

What is Priority?
It indicates the importance or urgency of fixing a defect

What is Re-Testing?
Retesting the application to verify whether defects have been fixed or not.

What is Regression Testing?
Verifying existing functional and non functional area after making changes to the part of the software or addition of new features.

What is Recovery Testing?
Checking if the system is able to handle some unexpected unpredictable situations is called recovery testing.

What is Globalization Testing?
Process of verifying software whether it can be run independent of its geographical and cultural environment. Checking if the application is having features of setting and changing language, date, format and currency if it is designed for global users.

What is Localization Testing?
Verifying of globalized application for a particular locality of users, cultural and geographical conditions.

What is Installation Testing?
Checking if we are able to install the software successfully (or) not as per the guidelines given in installation document is called installation testing.

What is Un-installation Testing?
Checking if we are able to uninstall the software from the system successfully (or) not is called Uninstall Testing

What is Compatibility Testing?
Checking if the application is compatible to different software and hardware environment or not is called compatibility testing.

What is Test Strategy?
It is a part of test plan describing how testing is carried out for the project and what testing types needs to be performed on the application.

What is Test Case?
A Test case is a set of preconditions steps to be followed with input data and expected behavior to validate a functionality of a system.

What is Business Validation Test Case?
A test case is prepared to check business condition or business requirement is called business validation test case.

What is a Good Test Case?
 A Test case that have high priority of catching defects in called a good test case.

What is Use Case Testing?
Validating a software to confirm whether it is developed as per the use cases or not is called use case testing.

What is Defect Age?
The time gap between date of detection & date of closure of a defect.

What is Showstopper Defect?
A defect which is not permitting to continue further testing is called Showstopper Defect

What is Test Closure?
It is the last phase of the STLC,  where the management prepares various test summary reports that explains the complete statistics of the project based on the testing carried out.

What is Bucket Testing?
Bucket testing is also know as A/B testing. It is mostly used to study the impact of the various product designs in website metrics. Two simultaneous versions are run on a single or set of web pages to measure the difference in click rates, interface and traffic.

What is What is Entry Criteria and Exit Criteria Software Testing?
The Entry Criteria is the process that must be present when a system begins, like,
SRS – Software
FRS
Use Case
Test Case
Test Plan
The Exit criteria ensures whether testing is completed and the application is ready for release, like,
Test Summary Report,
Metrics
Defect Analysis Report.

What is Concurrency Testing?
This is a multiple user testing to access the application at the same time to verify effect on code, module or DB. mainly used to identify locking and deadlocking situations in the code.

What is Web Application Testing?
Web application testing is done on a website to check – load, performance, security, Functionality, Interface, Compatibility and other usability related issues.

What is Unit Testing?
Unit testing is done  to check whether the individual modules of the source code are working properly or not.

What is Interface Testing
 Interface testing is done to check whether the individual modules are communicating properly as per specifications. Interface testing is mostly used to test the user interface of GUI applications.

What is Gamma Testing
Gamma testing is done when the software is ready for release with specified requirements, this testing is done directly by skipping all the in-house testing activities.

What is Test Harness?
Test Harness is configuring a set of tools and test data to test an application in various conditions, which involves monitoring the output with expected output for correctness.
The benefits of Testing Harness are: Productivity increase due to process automation and increase in product quality

What is Scalability Testing?
It is used to check whether the functionality and performance of a system, whether system is capable to meet the volume and size changes as per the requirements
Scalability testing is done using load test by changing various software, hardware configurations and testing environment.

What is Fuzz Testing?
Fuzz testing is a black box testing technique which uses a random bad data to attack a program to check if anything breaks in the application.

What is Difference between QA, QC and testing?
QA?
It is process oriented
Aim is to prevent defects in an application
QC?
Set of activities used to evaluate a developed work product
It is product oriented
Testing?
Executing and verifying application with the intention of finding defects

What is Date Driven Testing?
Ans. It is Automation testing process in which application is tested with multiple set of data with different preconditions as an input to the script.

<< BACK

SOFTWARE TESTING INTERVIEW QUESTIONS-11

What is Dynamic Testing?
It is the testing done by executing the code or program with various input values and output is verified.

What is GUI Testing?
GUI or Graphical user interface testing is the process of testing software user interface against the provided requirements/mockups/HTML designs.

What is Formal Testing?
Software verification carried out by following test plan, testing procedures and proper documentation with an approval from customer

What is Risk Based Testing?
Identifying the critical functionality in the system then deciding the orders in which these functionality to be tested and applying testing.

What is Early Testing?
Conducting testing as soon as possible in development life cycle to find defects at early stages of SDLC.
Early testing is helpful to reduce the cost of fixing defects at later stages of STLC.

What is Exhaustive Testing?
Testing functionality with all valid, invalid inputs and preconditions is called exhaustive testing.

What is Defect Clustering?
Any small module or functionality may contain more number of defects – concentrate more testing on these functionality.

What is Pesticide Paradox?
If prepared test cases are not finding defects, add/revise test cases to find more defects.

What is Static Testing?
Manual verification of the code without executing the program is called as static testing. In this process issues are identified in code by checking code, requirement and design documents.

What is Positive Testing?
Testing conducted on the application to determine if system works. Basically known as “test to pass” approach.

What is Negative Testing?
Testing Software with negative approach to check if system is not “showing error when not supposed to” and “not showing error when supposed to”.

What is End-to-End Testing?
Testing the overall functionality of the system  including the data integration among all the modules is called end to end testing.

What is Exploratory Testing?
Exploring the application, understanding the functionality, adding (or) modifying existing test cases for better testing is called exploratory testing.

What is Monkey Testing
Testing conducted on a application without any plan and carried out with tests here and there to find any system crash with an intention of finding tricky defects is called monkey testing.

What is Non-functionality Testing?
Validating various non functional aspects of the system such as user interfaces, user friendliness security, compatibility, Load, Stress and Performance etc is called non functional testing.

Q. What is Usability Testing?
Ans. Checking how easily the end users are able to understand and operate the application is called Usability Testing.

Q. What is Security Testing
Ans. Validating whether all security conditions are properly implemented in the software (or) not is called security testing.

Q. What is Performance Testing?
Ans. Process of measuring various efficiency characteristics of a system such as response time, through put, load stress transactions per minutes transaction mix.

Q. What is Load Testing?
Ans. Analyzing functional and performance behavior of the application under various conditions is called Load Testing.

SOFTWARE TESTING INTERVIEW QUESTIONS-10

During which test activity could faults be found most cost effectively?
During test planning

The purpose of requirement phase is
To freeze requirements, to understand user needs, to define the scope of testing

How much testing is enough?
The answer depends on the risks for your industry, contract and special requirements

Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?
a) Regression testing
 b) Integration testing
 c) System testing
d) User acceptance testing
  Regression testing

How would you estimate the amount of re-testing likely to be required?
Metrics from previous similar projects and discussions with the development team

What studies data flow analysis ?
The use of data on paths through the code.

What is Alpha testing?
Pre-release testing by end user representatives at the developer’s site.

What is a failure?
Failure is a departure from specified behavior.

What are Test compactors ?
Is it really a test if you put some inputs into some software, but never look to see whether the software produces the correct result? The essence of testing is to check whether the software produces the correct result, and to do that, we must compare what the software produces to what it should produce. A test compactor helps to automate aspects of that comparison.

What is the main purpose of Informal review
Inexpensive way to get some benefit

What is the purpose of test design technique?
Identifying test conditions and Identifying test cases

When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as:
  Equivalence partitioning

During the testing of a module tester ‘X’ finds a bug and assigned it to developer. But developer rejects the same, saying that it’s not a bug. What ‘X’ should do?
Send to the detailed information of the bug encountered and check the reproducibility

A type of integration testing in which software elements, hardware elements, or both are combined all at once into a component or an overall system, rather than in stages.
Big-Bang Testing

In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing after component testing, and system integration testing after system testing.
V-Model

Which technique can be used to achieve input and output coverage? It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing.
Equivalence partitioning

This life cycle model is basically driven by schedule and budget risks” This statement is best suited for…
V-Model

 In which order should tests be run?
The most important tests first

The later in the development life cycle a fault is discovered, the more expensive it is to fix. why?
The fault has been built into more documentation,code,tests, etc

What is Coverage measurement?
It is a partial measure of test thoroughness.

What is Boundary value testing?
Test boundary conditions on, below and above the edges of input and output equivalence classes.

What is Fault Masking ?
Error condition hiding another error condition.

What does COTS represent?
Commercial Off The Shelf.

The purpose of wich is allow specific tests to be carried out on a system or network that resembles as closely as possible the environment where the item under test will be used upon release?
Test Environment

What can be though of as being based on the project plan, but with greater amounts of detail?
Phase Test Plan

What is exploratory testing?
Exploratory testing is a hands-on approach in which testers are involved in minimum planning and maximum test execution. The planning involves the cre-ation of a test charter, a short declaration of the scope of a short (1 to 2 hour) time-boxed test effort, the objectives and possible approaches to be used. The test design and test execution activities are performed in parallel typi-cally without formally documenting the test conditions, test cases or test scripts. This does not mean that other, more formal testing techniques will not be used. For example, the tester may decide to use boundary value analysis but will think through and test the most important boundary values without necessarily writing them down. Some notes will be written during the exploratory-testing session, so that a report can be produced afterwards.

What is failure?
Deviation from expected result to actual result


SOFTWARE TESTING INTERVIEW QUESTIONS-09

Which of the following is the main purpose of the integration strategy for integration testing in the small?
To specify which modules to combine when, and how many at once.

What is the purpose of a test completion criterion?
To determine when to stop testing

Given the following code, which statement is true about the minimum number of test cases required for full statement and branch coverage?
     Read p
     Read q
     IF p+q> 100
          THEN Print "Large"
    ENDIF
    IF p > 50
          THEN Print "p Large"
    ENDIF
  1 test for statement coverage, 2 for branch coverage

What is the difference between re-testing and regression testing?
  Re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects.
Which review is normally used to evaluate a product to determine its suitability for intended use and to identify discrepancies?
Technical Review.

Why we use decision tables?.
The techniques of equivalence partitioning and boundary value analysis are often applied to specific situations or inputs. However, if different combinations of inputs result in different actions being taken, this can be more difficult to show using equivalence partitioning and boundary value analysis, which tend to be more focused on the user interface. The other two specification-based tech-niques, decision tables and state transition testing are more focused on business logic or business rules. A decision table is a good way to deal with combinations of things (e.g. inputs). This technique is sometimes also referred to as a 'cause-effect' table. The reason for this is that there is an associated logic diagramming technique called 'cause-effect graphing' which was sometimes used to help derive the decision table

Faults found should be originally documented by who?
By testers.

Which is the current formal world-wide recognized documentation standard?
There isn't one.

Which of the following is the review participant who has created the item to be reviewed?
Author

A number of critical bugs are fixed in software. All the bugs are in one module, related to reports. The test manager decides to do regression testing only on the reports module.
Regression testing should be done on other modules as well because fixing one module may affect other modules.

Why does the boundary value analysis provide good test cases?
Because errors are frequently made during programming of the different cases near the ‘edges’ of the range of values.

What makes an inspection different from other review types?
It is led by a trained leader, uses formal entry and exit criteria and checklists.

Why can be tester dependent on configuration management?
Because configuration management assures that we know the exact version of the testware and the test object.

What is a V-Model ?
A software development model that illustrates how testing activities integrate with software development phases

What is maintenance testing?
Triggered by modifications, migration or retirement of existing software

What is test coverage?
Test coverage measures in some specific way the amount of testing performed by a set of tests (derived in some other way, e.g. using specification-based techniques). Wherever we can count things and can tell whether or not each of those things has been tested by some test, then we can measure coverage.

Why is incremental integration preferred over “big bang” integration?
Because incremental integration has better early defects screening and isolation ability

When do we prepare RTM (Requirement tractability matrix), is it before test case designing or after test case designing?
The would be before. Requirements should already be traceable from Review activities since you should have tractability in the Test Plan already. This question also would depend on the organisation. If the organisation do test after development started then requirements must be already traceable to their source. To make life simpler use a tool to manage requirements.

What is called the process starting with the terminal modules ?
Bottom-up integration


SOFTWARE TESTING INTERVIEW QUESTIONS-07

What is the role of moderator in review process?
The moderator (or review leader) leads the review process. He or she deter-mines, in co-operation with the author, the type of review, approach and the composition of the review team. The moderator performs the entry check and the follow-up on the rework, in order to control the quality of the input and output of the review process. The moderator also schedules the meeting, disseminates documents before the meeting, coaches other team members, paces the meeting, leads possible discussions and stores the data that is collected.

  What is an equivalence partition (also known as an equivalence class)?
An input or output range of values such that only one value in the range becomes a test case.

When should configuration management procedures be implemented?
During test planning.

A Type of functional Testing, which investigates the functions relating to detection of threats, such as virus from malicious outsiders.
Security Testing

Testing where in we subject the target of the test , to varying workloads to measure and evaluate the performance behaviors and ability of the target and of the test to continue to function properly under these different workloads.
Load Testing

Testing activity which is performed to expose defects in the interfaces and in the interaction between integrated components is:
Integration Level Testing

What are the Structure-based (white-box) testing techniques ?
Structure-based testing techniques (which are also dynamic rather than static) use the internal structure of the software to derive test cases. They are com-monly called 'white-box' or 'glass-box' techniques (implying you can see into the system) since they require knowledge of how the software is implemented, that is, how it works. For example, a structural technique may be concerned with exercising loops in the software. Different test cases may be derived to exercise the loop once, twice, and many times. This may be done regardless of the func-tionality of the software.

When should be performed Regression testing ?
After the software has changed or when the environment has changed

When should testing be stopped?
It depends on the risks for the system being tested

What is the purpose of a test completion criterion?
To determine when to stop testing

What can static analysis NOT find?
For example memory leaks

What is the difference between re-testing and regression testing?
Re-testing ensures the original fault has been removed; regression testing looks for unexpected sideeffects

What are the Experience-based testing techniques ?
In experience-based techniques, people's knowledge, skills and background are a prime contributor to the test conditions and test cases. The experience of both technical and business people is important, as they bring different perspectives to the test analysis and design process. Due to previous experience with similar systems, they may have insights into what could go wrong, which is very useful for testing.

What type of review requires formal entry and exit criteria, including metrics?
Inspection

Could reviews or inspections be considered part of testing?
Yes, because both help detect faults and improve quality

An input field takes the year of birth between 1900 and 2004 What are the boundary values for testing this field ?
1899,1900,2004,2005

Which of the following tools would be involved in the automation of regression test?
a. Data tester
b. Boundary tester
c. Capture/Playback
d. Output comparator.
d. Output comparator

To test a function,what has to write a programmer, which calls the function to be tested and passes it test data.
  Driver

What is the one Key reason why developers have difficulty testing their own work?
Lack of Objectivity

How much testing is enough?”
The answer depends on the risk for your industry, contract and special requirements.

When should testing be stopped?
It depends on the risks for the system being tested.

SOFTWARE TESTING INTERVIEW QUESTIONS-06

What is the difference between Testing Techniques and Testing Tools?
Testing technique: – Is a process for ensuring that some aspects of the application system or unit functions properly there may be few techniques but many tools.
Testing Tools: – Is a vehicle for performing a test process. The tool is a resource to the tester, but itself is insufficient to conduct testing

We use the output of the requirement analysis, the requirement specification as the input for writing …
User Acceptance Test Cases

Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software component:
Regression Testing

What is component testing ?
Component testing, also known as unit, module and program testing, searches for defects in, and verifies the functioning of software (e.g. modules, programs, objects, classes, etc.) that are separately testable. Component testing may be done in isolation from the rest of the system depend-ing on the context of the development life cycle and the system. Most often stubs and drivers are used to replace the missing software and simulate the interface between the software components in a simple manner. A stub is called from the software component to be tested; a driver calls a component to be tested.

What is functional system testing ?
Testing the end to end functionality of the system as a whole.

What is the benefits of Independent Testing
Independent testers see other and different defects and are unbiased.

In a REACTIVE approach to testing when would you expect the bulk of the test design work to be begun?
After the software or system has been produced.

What are the different Methodologies in Agile Development Model?
There are currently seven different Agile methodologies that I am aware of:
 Extreme Programming (XP)
 Scrum
 Lean Software Development
 Feature-Driven Development
 Agile Unified Process
 Crystal
 Dynamic Systems Development Model (DSDM)

Which activity in the fundamental test process includes evaluation of the testability of the requirements and system?
A Test analysis and design.

What is typically the MOST important reason to use risk to drive testing efforts?
  Because testing everything is not feasible.

Which is the MOST important advantage of independence in testing?
An independent tester may be more effective at finding defects missed by the person who wrote the software.

Which of the following are valid objectives for incident reports?
i. Provide developers and other parties with feedback about the problem to enable identification, isolation and correction as necessary.
ii. Provide ideas for test process improvement.
iii. Provide a vehicle for assessing tester competence.
iv. Provide testers with a means of tracking the quality of the system under test.
i. Provide developers and other parties with feedback about the problem to enable identification, isolation and correction as necessary,
ii.Provide ideas for test process improvement,
iv.Provide testers with a means of tracking the quality of the system under test



Consider the following techniques. Which are static and which are dynamic techniques?
i. Equivalence Partitioning.
ii. Use Case Testing.
iii.Data Flow Analysis.
iv.Exploratory Testing.
v. Decision Testing.
vi. Inspections.
Data Flow Analysis and Inspections are static
Equivalence Partitioning, Use Case Testing, Exploratory Testing and Decision Testing are dynamic.

Why are static testing and dynamic testing described as complementary?
Because they share the aim of identifying defects but differ in the types of defect they find.

What are the phases of a formal review ?
In contrast to informal reviews, formal reviews follow a formal process. A typical formal review process consists of six main steps:
 Planning
 Kick-off
 Preparation
 Review meeting
 Rework
 Follow-up.  

SOFTWARE TESTING INTERVIEW QUESTIONS-05

What is the MAIN benefit of designing tests early in the life cycle? 
It helps prevent defects from being introduced into the code.

What is risk-based testing?
Risk-based testing is the term used for an approach to creating a test strategy that is based on prioritizing tests by risk. The basis of the approach is a detailed risk analysis and prioritizing of risks by risk level. Tests to address each risk are then specified, starting with the highest risk first.

A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using Boundary Value Analysis?
4, 5, 99

What is the KEY difference between preventative and reactive approaches to testing? 
Preventative tests are designed early; reactive tests are designed after the software has been produced.

What is the purpose of exit criteria? 
To define when a test level is complete.

What determines the level of risk? 
 The likelihood of an adverse event and the impact of the event

When is used Decision table testing? 
 Decision table testing is used for testing systems for which the specification takes the form of rules or cause-effect combinations. In a decision table the inputs are listed in a column, with the outputs in the same column but below the inputs. The remainder of the table explores combinations of inputs to define the outputs produced.

 What is the MAIN objective when reviewing a software deliverable?
To identify defects in any software work product.

Which of the following defines the expected results of a test? Test case specification or test design specification.
Test case specification.

Which is a benefit of test independence?
It avoids author bias in defining effective tests.

As part of which test process do you determine the exit criteria?
Test planning.

 What is beta testing?
Testing performed by potential customers at their own locations.

Given the following fragment of code, how many tests are required for 100% decision coverage?
if width > length
   then biggest_dimension = width
     if height > width
             then biggest_dimension = height
     end_if
else biggest_dimension = length  
            if height > length 
                then biggest_dimension = height
          end_if
end_if

4

Rapid Application Development ?
Rapid Application Development (RAD) is formally a parallel development of functions and subsequent integration. Components/functions are developed in parallel as if they were mini projects, the developments are time-boxed, delivered, and then assembled into a working prototype. This can very quickly give the customer something to see and use and to provide feedback regarding the delivery and their requirements. Rapid change and development of the product is possible using this methodology. However the product specification will need to be developed for the product at some point, and the project will need to be placed under more formal controls prior to going into production.

SOFTWARE TESTING INTERVIEW QUESTIONS-04

What is the difference between verification and validation?
Verification is a review without actually executing the process while validation is checking the product with actual execution. For instance, code review and syntax check is verification while actually running the product and checking the results is validation.

Can you explain requirement traceability and its importance?
In most organizations testing only starts after the execution/coding phase of the project. But if the organization wants to really benefit from testing, then testers should get involved right from the requirement phase.If the tester gets involved right from the requirement phase then requirement traceability is one of the important reports that can detail what kind of test coverage the test cases have.

What is a test log?
The IEEE Std. 829-1998 defines a test log as a chronological record of relevant details about the execution of test cases. It's a detailed view of activity and events given in chronological manner.

Explain Unit Testing, Integration Tests, System Testing and Acceptance Testing?
Unit testing - Testing performed on a single, stand-alone module or unit of code.
Integration Tests - Testing performed on groups of modules to ensure that data and control are passed properly between modules.
System testing - Testing a predetermined combination of tests that, when executed successfully meets requirements.
Acceptance testing - Testing to ensure that the system meets the needs of the organization and the end user or customer (i.e., validates that the right system was built).

What is a model?
A model is nothing but best practices followed in an industry to solve issues and problems. Models are not made in a day but are finalized and realized by years of experience and continuous improvements.Many companies reinvent the wheel rather than following time tested models in the industry.5. Can you explain process areas in CMMI?
A process area is the area of improvement defined by CMMI. Every maturity level consists of
 process areas. A process area is a group of practices or activities performed collectively
to achieve a specific objective. For instance, you can see from the following figure we have
process areas such as project planning, configuration management, and requirement gathering.

What is a maturity level?
A maturity level specifies the level of performance expected from an organization.

What is a software process?
A software process is a series of steps used to solve a problem. The following figure shows a pictorial view of how an organization has defined a way to solve risk problems. In the diagramwe have shown two branches: one is the process and the second branch shows a sample risk mitigation process for an organization. For instance, the risk mitigation process defines what step any department should follow to mitigate a risk

SOFTWARE TESTING INTERVIEW QUESTIONS-03

What's the difference between System testing and Acceptance testing?
Acceptance testing checks the system against the "Requirements." It is similar to System testing in that the whole system is checked but the important difference is the change in focus:
System testing checks that the system that was specified has been delivered. Acceptance testing checks that the system will deliver what was requested. The customer should always do Acceptance testing and not the developer.The customer knows what is required from the system to achieve value in the business and is the only person qualified to make that judgement. This testing is more about ensuring that the software is delivered as defined by the customer. It's like getting a green light from the customer that the software meets expectations and is ready to be used.

What kind of input do we need from the end user to begin proper testing?
The product has to be used by the user. He is the most important person as he has more interest than
anyone else in the project.
From the user we need the following data:
The first thing we need is the acceptance test plan from the end user. The acceptance test defines the
entire test which the product has to pass so that it can go into production.We also need the requirement document from the customer. In normal scenarios the customer never writes a formal document until he is really sure of his requirements. But at some point the customer should sign saying yes this is what he wants.
The customer should also define the risky sections of the project. For instance, in a normal accounting
project if a voucher entry screen does not work that will stop the accounting functionality completely.
But if reports are not derived the accounting department can use it for some time. The customer is the
right person to say which section will affect him the most. With this feedback the testers can prepare a
 proper test plan for those areas and test it thoroughly.The customer should also provide proper data for testing. Feeding proper data during testing is very important. In many scenarios testers key in wrong data and expect results which are of no interest to the customer.

Can you explain the workbench concept?
In order to understand testing methodology we need to understand the workbench concept. A Workbench is a way of documenting how a specific activity has to be performed.
There are five tasks for every workbench:
Input: Every task needs some defined input and entrance criteria. So for every workbench we need defined
inputs. Input forms the first steps of the workbench.
Execute: This is the main task of the workbench which will transform the input into the expected output.
Check: Check steps assure that the output after execution meets the desired result.
Production output: If the check is right the production output forms the exit criteria of the workbench.
Rework: During the check step if the output is not as desired then we need to again start from the execute step.

Can you explain the concept of defect cascading?
Defect cascading is a defect which is caused by another defect. One defect triggers the other defect. For
instance, in the accounting application shown here there is a defect which leads to negative taxation. So
the negative taxation defect affects the ledger which in turn affects four other modules.

Can you explain cohabiting software?
When we install the application at the end client it is very possible that on the same PC other applications
also exist. It is also very possible that those applications share common DLLs, resources etc., with your application. There is a huge chance in such situations that your changes can affect the cohabiting software. So the best practice is after you install your application or after any changes, tell other application owners to run a test cycle on their application.

What is the difference between pilot and beta testing?
The difference between pilot and beta testing is that pilot testing is nothing but actually using the product
(limited to some users) and in beta testing we do not input real data, but it's installed at the end customer
to validate if the product can be used in production.

What are the different strategies for roll out to end users?
There are four major ways of rolling out any project:
Pilot: The actual production system is installed at a single or limited number of users.
Pilot basically means that the product is actually rolled out to limited users for real work.
Gradual Implementation: In this implementation we ship the entire product to the limited users
 or all users at the customer end. Here, the developers get instant feedback from the recipients
 which allow them to make changes before the product is available. But the downside is that developers
and testers maintain more than one version at one time.
Phased Implementation: In this implementation the product is rolled out to all users in incrementally.
That means each successive rollout has some added functionality. So as new functionality comes in, new
installations occur and the customer tests them progressively. The benefit of this kind of rollout is
that customers can start using the functionality and provide valuable feedback progressively. The only
issue here is that with each rollout and added functionality the integration becomes more complicated.
Parallel Implementation: In these types of rollouts the existing application is run side by side with
the new application. If there are any issues with the new application we again move back to the old a
pplication. One of the biggest problems with parallel implementation is we need extra hardware, software,
and resources.

What is the difference between latent and masked defects?
A latent defect is an existing defect that has not yet caused a failure because the sets of conditions
were never met.
A masked defect is an existing defect that hasn't yet caused a failure just because another defect has
prevented that part of the code from being executed.

Can you explain calibration?
It includes tracing the accuracy of the devices used in the production, development and testing. Devices
used must be maintained and calibrated to ensure that it is working in good order.

What's the difference between alpha and beta testing?
Alpha and beta testing has different meanings to different people. Alpha testing is the acceptance testing
done at the development site. Some organizations have a different visualization of alpha testing. They consider alpha testing as testing which is conducted on early, unstable versions of software.
 On the contrary beta testing is acceptance testing conducted at the customer end.

How does testing affect risk?
A risk is a condition that can result in a loss. Risk can only be controlled in different scenarios but not
eliminated completely. A defect normally converts to a risk.

What is coverage and what are the different types of coverage techniques?
Coverage is a measurement used in software testing to describe the degree to which the source code is tested. There are three basic types of coverage techniques as
Statement coverage: This coverage ensures that each line of source code has been executed and tested.
Decision coverage: This coverage ensures that every decision (true/false) in the source code has been executed and tested.
Path coverage: In this coverage we ensure that every possible route through a given part of code is executed and tested.

 A defect which could have been removed during the initial stage is removed in a later stage. How does this affect cost?
If a defect is known at the initial stage then it should be removed during that stage/phase itself rather than at
some later stage. It's a recorded fact that if a defect is delayed for later phases it proves more costly  and design phase is the most cost effective, while a defect removed during maintenance is 20 times costlier than during the requirement and design phases.
For instance, if a defect is identified during requirement and design we only need to change the documentation, but if identified during the maintenance phase we not only need to fix the defect, but also change our test plans, do regression testing, and change all documentation. This is why a defect should be identified/removed in earlier phases and the testing department should be involved right from the requirement phase and not after the execution phase.

SOFTWARE TESTING INTERVIEW QUESTIONS-02

What is configuration management?
Configuration management is the detailed recording and updating of information for hardware and software components. When we say components we not only mean source code. It can be tracking of changes for software documents such as requirement, design, test cases, etc.When changes are done in adhoc and in an uncontrolled manner chaotic situations can arise and more defects injected. So whenever changes are done it should be done in a controlled fashion and with proper versioning. At any moment of time we should be able to revert back to the old version. The main intention of configuration management is to track our changes if we have issues with the current system. Configuration management is done using baselines.

How does a coverage tool work?
While doing testing on the actual product, the code coverage testing tool is run simultaneously. While the testing is going on, the code coverage tool monitors the executed statements of the source code. When the final testing is completed we get a complete report of the pending statements and also get the coverage percentage.


Which is the best testing model?
In real projects, tailored models are proven to be the best, because they share features from The Waterfall, Iterative,Evolutionary models, etc., and can fit into real life time projects. Tailored models are most productive and beneficial for many organizations. If it's a pure testing project, then the V model is the best.

What is the difference between a defect and a failure?
When a defect reaches the end customer it is called a failure and if the defect is detected internally and resolved it's called a defect.

Are there more defects in the design phase or in the coding phase?
The design phase is more error prone than the execution phase. One of the most frequent defects which occur during design is that the product does not cover the complete requirements of the customer. Second is wrong or bad architecture and technical decisions make the next phase, execution, more prone to defects. Because the design phase drives the execution phase it's the most critical phase to test. The testing of the design phase can be done by good review. On average, 60% of defects occur during design and 40% during the execution phase.

What group of teams can do software testing?
When it comes to testing everyone in the world can be involved right from the developer to the project manager to the customer. But below are different types of team groups which can be present in a project.
Isolated test teamOutsource - we can hire external testing resources and do testing for our project.
Inside test teamDevelopers as testers QA/QC team.

What impact ratings have you used in your projects?
Normally, the impact ratings for defects are classified into three types:
Minor: Very low impact but does not affect operations on a large scale.
Major: Affects operations on a very large scale.
Critical: Brings the system to a halt and stops the show.

Does an increase in testing always improve the project?
No an increase in testing does not always mean improvement of the product, company, or project. In real test scenarios only 20% of test plans are critical from a business angle. Running those critical test plans will assure that the testing is properly done. The following graph explains the impact of under testing and over testing. If you under test a system the number of defects will increase, but if you over test a system your cost of testing will increase. Even if your defects come down your cost of testing has gone up.

What's the relationship between environment reality and test phases?
Environment reality becomes more important as test phases start moving ahead. For instance, during unit testing you need the environment to be partly real, but at the acceptance phase you should have a 100% real environment, or we can say it should be the actual real environment. The following graph shows how with every phase the environment reality should also increase and finally during acceptance it should be 100% real.

What are different types of verifications?
Verification is static type of s/w testing. It means code is not executed. The product is evaluated by going through the code. Types of verification are:
Walkthrough: Walkthroughs are informal, initiated by the author of the s/w product to a colleague for assistance in locating defects or suggestions for improvements. They are usually unplanned. Author explains the product; colleague comes out with observations and author notes down relevant points and takes corrective actions.Inspection: Inspection is a thorough word-by-word checking of a software product with the intention of Locating defects, Confirming traceability of relevant requirements etc.

How do test documents in a project span across the software development lifecycle?
The following figure shows pictorially how test documents span across the software development lifecycle. The following discusses the specific testing documents in the lifecycle:
Central/Project test plan: This is the main test plan which outlines the complete test strategy of the software project. This document should be prepared before the start of the project and is used until the end of the software development lifecycle.
Acceptance test plan: This test plan is normally prepared with the end customer. This document commences during the requirement phase and is completed at final delivery.
System test plan: This test plan starts during the design phase and proceeds until the end of the project.
Integration and unit test plan: Both of these test plans start during the execution phase and continue until the final delivery.

SOFTWARE TESTING INTERVIEW QUESTIONS-01

Can you explain the PDCA cycle and where testing fits in?
Software testing is an important part of the software development process. In normal software development there are four important steps, also referred to, in short, as the PDCA (Plan, Do, Check, Act) cycle.Let's review the four steps in detail.Plan: Define the goal and the plan for achieving that goal.Do/Execute: Depending on the plan strategy decided during the plan stage we do execution accordingly in this phase.Check: Check/Test to ensure that we are moving according to plan and are getting the desired results.Act: During the check cycle, if any issues are there, then we take appropriate action accordingly and revise our plan again.So developers and other stakeholders of the project do the "planning and building," while testers do the check part of the cycle. Therefore, software testing is done in check part of the PDCA cyle.

What is the difference between white box, black box, and gray box testing?
Black box testing is a testing strategy based solely on requirements and specifications.
Black box testing requires no knowledge of internal paths, structures, or implementation of the software being tested.
White box testing is a testing strategy based on internal paths, code structures, and implementation of the software being tested. White box testing generally requires detailed programming skills.There is one more type of testing called gray box testing. In this we look into the "box" being tested just long enough to understand how it has been implemented. Then we close up the box and use our knowledge to choose more effective black box tests.The above figure shows how both types of testers view an accounting application
during testing. Black box testers view the basic accounting application. While during white box testing the tester knows the internal structure of the application. In most scenarios white box testing is done by developers as they know the internals of the application. In black box testing we check the overall functionality of the application while in white box testing we do code reviews, view the architecture, remove bad code practices, and do component level testing.

Can you explain usability testing?
Usability testing is a testing methodology where the end customer is asked to use the software to see if the product is easy to use, to see the customer's perception and task time. The best way to finalize the customer point of view for usability is by using prototype or mock-up software during the initial stages. By giving the customer the prototype before the development start-up we confirm that we are not missing anything from the user point of view.

What are the categories of defects?
There are three main categories of defects:
Wrong: The requirements have been implemented incorrectly. This defect is a variance from the
given specification.
Missing: There was a requirement given by the customer and it was not done. This is a variance
from the specifications, an indication that a specification was not implemented, or a requirement
of the customer was not noted properly.
Extra: A requirement incorporated into the product that was not given by the end customer. This
is always a variance from the specification, but may be an attribute desired by the user of the
product. However, it is considered a defect because it's a variance from the existing requirements.

READ MORE:-01 02 03 04 05 06 07 09 10 11 12