Software testing interview question answer

Software testing excellent Question Answer

•  What is Software Testing?

Software testing is a process of executing a program or application with the intent of finding the software bugs.                                                      Match the system as well as business requirements with the software or not?

•  What are Phases of STLC (Software Testing Life Cycle)?

  • Requirement analysis: – Gather details about testing priorities and focus.
  • Test Planning: – Preparation of test plan/strategy document for various types of testing.
  • Test case development: – This phase involves creation, verification and rework of test cases & test scripts.
  • Environment Setup: – Test environment decides the software and hardware conditions under which a work product is tested.
  • Test Execution: – During this phase test team will carry out the testing based on the test plans and the test cases prepared. Bugs will be reported back to the development team for correction and retesting will be performed.
  • Test Cycle Closure: – Testing team will meet, discuss and analyze testing artifacts to identify strategies that have to be implemented in future, taking lessons from the current test cycle.

• What are Phases of SDLC (Software Development LifeCycle)?

  • Requirement analysis: – Gather details about testing priorities and focus.
  • Test Planning: – Preparation of test plan/strategy document for various types of testing.
  • Test case development: – This phase involves creation, verification and rework of test cases & test scripts.
  • Environment Setup: – Test environment decides the software and hardware conditions under which a work product is tested.
  • Test Execution: – During this phase test team will carry out the testing based on the test plans and the test cases prepared. Bugs will be reported back to the development team for correction and retesting will be performed.
  •  Test Cycle Closure: – Testing team will meet, discuss and analyze testing artifacts to identify strategies that have to be implemented in future, taking lessons from the current test cycle

•  What are Phases of SDLC (Software Development Life Cycle)?

• Requirement gathering and analysis.
• Design.
• Implementation or coding.
• Testing.
• Deployment.
• Maintenance.

•   What is Agile Methodology?

  • In the Agile methodology, each project is broken up into several ‘Iterations’.
  • AGILE is a methodology that promotes continuous iteration of development and testing throughout the software development life cycle of the project. Both development and testing activities are concurrent unlike the Waterfall model.
  • All Iterations should be of the same time duration (between 2 to 8 weeks).
  • At the end of each iteration, a working product should be delivered.
  • Any remaining features that cannot be delivered in the first iteration will be taken up in the next iteration or subsequent iterations, based on priority.

•   What is eXtreme Programming (XP) Agile Methodology?

          eXtreme Programming (XP): – Extreme Programming technique is very helpful when there is constantly changing demands or                 requirements from the customers or when they are not sure about the functionality of the system. It advocates frequent “releases” of               the product in short development cycles, which inherently improves the productivity of the system and also introduces a checkpoint               where any customer requirements can be easily implemented. The XP develops software keeping customer in the target.

 

•    Levels in Software Testing?

  1. Unit Testing.
  2. Integration Testing.
  3. System Testing.
  4. Regression testing.
  5. User Acceptance Testing.
  6. Pilot/Field Testing.
  7. Installation or Production Testing.

 Level Of TESTING?
UNIT TESTING
i) Unit testing is a type of software testing where individual units of a software are tested.
ii) The purpose is to validate that each unit of the software code performs as expected.
iii) Unit Testing is done during the development (coding phase) of an application by the
developers.
iv) Unit testing is typically done by the programmer/developer.

 INTEGRATION TESTING
i) Integration testing is performed to determine that every single piece of an application such as
back-end data, front-end operating system, hardware, software, networking connectivity and
all sub systems are interacting with each other as per requirement.

SYSTEM TESTING
i) System Testing ensures the entire operation of an application which includes the internal and
external functionalities, Operating System, front-end, back-end, database, networking, and
integrations are working as per requirements. System Testing is usually performed after all the
modules are developed and connected to each other. How much CPU, hardware capacity you
have?

UAT (USER ACCEPTANCE TESTING)
i) UAT also known as beta or end user testing. UAT is done in the staging environment of testing.
ii) It defined as testing the software by the user or client to determine whether it can be acceptedor not.

FUNCTIONAL TESTING
i) Functional testing is a type of software testing and a type of black box testing whereby the
system is tested against the functional requirements/specifications.
ii) It is detail steps and required to verify the each and every module, every box, buttons and
their properties are behaving as expected by the specifications.

iii) The purpose of Functional tests is to test each function of the software application, by
providing appropriate input, verifying the output against the Functional requirements.
iv) Example of functional testing types are unit testing, regression testing, Integration testing.

NO-FUNCTIONAL TESTING
i) Non-functional testing is defined as a type of software testing to check non-functional
aspects/features of an application
ii) Example of non-functional testing type are load/performance testing, usability testing and
security testing.
iii) An example of non-functional testing would be to check how many people can login into a
software at the same time.

DATABASE TESTING
i) Database testing includes the testing of actual data and database reliability. SQL scripting is
generally used to test database.

 PERFORMANCE TESTING
i) Performance testing is a type of testing where we check the system response time.
ii) We use JMeter do performance testing. We can also do inside selenium project.

LOAD TESTING
(1) Testing an application under heavy loads.
(2) How many people can be in the application at same time.

STRESS TESTING
(1) Stress Testing is measured to check the extra load for extended period of time.
(2) How many people can be in the application same time for how long.

USABILITY TESTING
i) This testing is to determine the end user interaction to an application contains the user-
friendly functionalities that serve the software operation easy and simple. Programmers and
Testers are not usually appropriate for Usability Testing.

COMPATIBILITY TESTING
i) Compatibility testing is done to ensure the application is works properly with different
platform and browser.
(1) Platform compatibility – for different operating system
(2) Browser compatibility – for different web browser

USER INTERFACE TESTING
i) User interface Testing is to check a user’s interaction with the software.
ii) The goal of UI testing is to ensure that the objects within the UI function as expected and
conform to industry standards

END-TO-END TESTING
i) End-to-End testing is testing a complete application environment in a situation that mimics
real-world use such as:
(1) Using Selenium Java to do Front End testing.
(2) Using API and RestAssure to do Middle End testing.
(3) Using SQL to do Backend testing.
ii) And network communications, or interacting with other hardware, applications, or systems

REGRESSION TESTING
i) Regression testing is a type of testing that is done to verify that a code change in the software
doesn’t impact the existing functionality of the product.
ii) This is to make sure the product works fine with the new functionality, bug fixes or any change
in the existing feature.
iii) We executed the test cases over and over to verify.

Scroll to Top