Interview Q&A Flashcards

0
Q

What is a Test Plan?

A

A Test Plan is a document describing the scope, approach, resources, and schedule of intended testing activities.
It identifies test items, the features to be tested.

It includes:

  • Heading
  • Revision History
  • Table of Contents
  • Introduction
  • Scope
  • Approach
  • Overview
  • Types of testing
  • Types of software and hardware
  • Roles
  • Issues
  • Risks
  • Assumptions
  • Sign off section
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

What document did you refer to write the Test Cases?

A

Requirement document. (NOTE: It can also be Use Cases, or Design Document)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What would you do in a situation where you did not have any documents (no requirement document, no Use Cases, or no Design Document) and you had to write the Test Cases?

A

In that situation, I would discuss the application scenario and functionalities with the Business Analysts or developer. Prepare a document based on their feedback, review it with them then start writing the Test Cases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Use Case and what does it include?

A

A Use Case is a document that describes the user’s action and the system’s response to that particular functionality.

It includes:

  • Cover page
  • Revision History
  • Table of Contents
  • Flow of Events (normal flow and alternative flow)
  • Exceptions
  • Special Requirements
  • Pre-conditions
  • Post-conditions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Software Development Life Cycle?

A

The Software Development Life Cycle is a process that ensures good software is built. It is a conceptual model used in project management that describes the stages involved in an information system development project, from an initial feasibility study through maintenance of the completed application.

Each phase in the life cycle has its own process and deliverables that feed into the next phase. There are typically 5 phases starting with the analysis and requirements gathering and ending with the implementation.

It includes the following different stages:

  1. Requirement phase
  2. Design phase
  3. Coding (programming)
  4. Testing
  5. Release (Production)
  6. Maintenance (Support)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Business Requirement Document (BRD)?

A

It is a document that describes in detail the functionalities that the user requires in the application. This document is written by the Business Analysts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Business Design Document?

A

It is the document which describes the application functionalities of the user in detail. This document is the further details of the Business Requirement Document. This is a very crucial step in the SDLC. Sometimes the Business Requirement Document and Business Design Document can be lumped together to make only one Business Requirement Document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Software Testing Life Cycle (STLC)?

A

Software Testing Life Cycle (STLC) is a sequence of steps that are carried out in order to validate the software:

  1. Requirement Analysis
  2. Test Planning
  3. Test Case Development
  4. Review the Test Cases
  5. Test Execution
  6. Bug logging and tracking
  7. Close or Reopen bugs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Code Generation or Program?

A

It’s the process of translating the Business Design Document into it’s machine readable form via coding. Programming tools like Compilers, Interpreters and Debuggers are used to generate the code thru different high level language like JavaScript, C++, Pascal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Module?

A

A ‘Module’ is a software component that has a specific task. It can be a ‘link’ which can go inside to its component detail.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is meant by Walk-thru meeting?

A

Before start working in a module and/or after accomplishing the testing of a module, the tester calls a meeting to disseminate his findings or to share his queries to other tester or leads of the company working on the same application that is called the Walk-thru meeting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Build?

A

A build is only a portion of the software that is collection of different modules in a single folder.

In other word, the developers put their code in the shared location (folder) and all those code (modules) are combined together so that it is a complete application that works.

This is put together by the Configuration Management Team (CMT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is meant by the Build Deployment?

A

When the Build so prepared by the CMT is sent to different Test Environments, it is called the Build Deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Test Strategy?

A

A test strategy is an outline that describes the testing portion of the software development cycle. It is created to inform project managers, testers, and developers about some key issues of the testing process. This includes the testing objective, methods of testing new functions, total time and resources required for the project, and the testing environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the test strategy describes?

A

The test strategy describes how the product risks of the stakeholders are mitigated at the test-level, which types of test are to be performed, and which entry and exit criteria apply. (source: Wikipedia)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Who creates the test strategy?

A

It is written by the Test Manager or Lead. It is created based on development design document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The following are some of the components that the Test Strategy includes:

A

It includes introduction, scope, resource and schedule for test activities, acceptance criteria, test environment, test tools, test priorities, test planning, executing a test pass and types of test to be performed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Are Test Plan and Test Strategy same type of document?

A

No. They are different documents.

Test Plan is a document that collects and organizes test cases by functional areas and/or types of testing in a form that can be presented to the other teams and/or customer where as the

Test Strategy is the documented approach to testing. Test Plan is prepared by the tester whereas the Test Strategy is prepared by the QA Manager or QA lead.

Both are important pieces of Quality Assurance processes since they help communicate the test approach scope and ensure test coverage while improving the efficiency of the testing effort.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Unit testing?

A

It is a test to check the code whether it is properly working or not as per the requirement. It is done by the developers (Not testers).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Shakeout testing?

A

This test is basically carried out to check the networking facility, database connectivity and the integration of modules. (It is done by the Configuration Team, Not testers).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Smoke testing?

A

It is an initial set of test to check whether the major functionalities are working or not and also to check the major breakdowns in the application. It is the preliminary test carried out by the SQA tester.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Functional testing?

A

It is a test to check whether each and every functionality of that application is working as per the requirement. It is major test where 80% of the tests are done. In this test, the Test Cases are ‘executed’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Integration testing?

A

It is a test to check whether all the modules are combined together or not and working successfully as specified in the requirement document.

23
Q

Regression testing?

A

When a functionality is added to an application, we need to make sure that the newly added functionality does not break the application. In order to make it sure, we perform a repeated testing which is called Regression Testing. We also do regression testing after the developers fix the bugs. See the video below for more understanding. (Courtesy of guru99.com).

24
Q

System testing?

A

Testing which is based on overall requirements specification and it covers all combined parts of a system. It is also a black box type of testing.

25
Q

Load testing?

A

It is a test to check the user’s response time of number of users using any one scenario (single business process) of the same application at the same time.

26
Q

Stress testing?

A

In this type of testing the application is tested against heavy load such as complex numerical values, large number of inputs, large number of queries etc. which checks for the stress/load the applications can withstand.

27
Q

Performance testing?

A

It is a test to check the user’s response time of number of users using multiple scenarios (multiple business process) of the same application at the same time.

28
Q

User acceptance testing?

A

In this type of testing, the software is handed over to the user in order to find out if the software meets the user expectations and works as it is expected to.

29
Q

Black box testing?

A

It is test where a tester performs testing without looking into the code. OR A testing method where the application under test is viewed as a black box and the internal behavior of the program is completely ignored. Testing occurs based upon the external specifications. Also known as behavioral testing, since only the external behavior of the program is evaluated and analyzed.

30
Q

White box testing?

A

It is a test where a tester looks into the code and performs the testing.

31
Q

Alpha testing?

A

In this type of testing, the users are invited at the development center where they use the application and the developers note every particular input or action carried out by the user. Any type of abnormal behavior of the system is noted and rectified by the developers.

32
Q

What is Negative Testing?

A

When we test an application by putting negative values (instead of actual values), then the system should not allow the other values rather than the actual value. The system should give an message that the value is not correct.

33
Q

Beta testing?

A

In this type of testing, the software is distributed as a beta version to the users and users test the application at their sites. As the users explore the software, in case if any exception/defect occurs that is reported to the developers.

34
Q

What is Change Control (OR Change Request)?

A

It is a document that describes the additional functionalities that are added after the Business Requirement Document is signed off. It can be updated in the old business requirement document or it can be a separate document.

35
Q

Backend Testing?

A

It is a test to check whether the data displayed in the GUI front end report format matches with the particular data in the original database.

36
Q

What do you do on your first day of the work?

A

On the first day, normally, we will be given a computer and support people will set up the User Name and Password for the computer. If that is done already, then the QA Lead or QA Manager will give me a brief walk through of the documents (which documents are where), introduce to different team members (normally to the ones you will be working with). Then your boss will ask you to step into work what needs to be done. However, the first thing normally is, they will ask you to read the documents available for that project.

37
Q

Are you better working in a team or working alone?

A

I am a team player. I get along with team members very well. As far as the working is concerned, I can be equally productive in team or working alone.

38
Q

Where do you see yourself in another 5 years?

A

I see myself a QA Lead in another 5 years.

39
Q

How do you determine what to test in an application?

A

First of all we have the test cases (or test scripts) that are written based on the requirement document. This pretty much covers what functionalities to test. Therefore, looking at the test cases tells us what to test in the application.

40
Q

What do you do once you find a defect?

A

Look in notebook.

41
Q
  1. What are the basic elements you put in a defect?
A

Basic elements we put in a defect are: SEVERITY, PRIORITY, CREATED BY, VERSION NO, HEADER, DESCRIPTION OF THE DEFECT where we write how to recreate a defect, in what module the defect is found, Status, and so on.

42
Q

When should testing start in a project? Why?

A
We should start testing as soon as the following things are ready:
-Test Data are ready
-Build (all the developers have
  coded their code and merged
  them together)
-Test Environment (servers, network
  etc) is set up and ready
-When the manager asks us to go
  ahead and start testing.
43
Q

What are all the basic elements in a defect report?

A

The basic elements in a defect report are: Defect ID, Header, Description, Defect Reported by, Date, Status, Version, Assigned to, Approved by, Module where the defect was found and so on.

44
Q

What are the types of test cases that you write?

A

We write test cases for smoke testing, integration testing, functional testing, regression testing, load testing, stress testing, system testing and so on.

45
Q

How to write Regression test cases? What are the criteria?

A

Regression test cases are also based on the requirement documents. They are written more into detail and with every release (build), the testers need to do regression testing.

The criteria for regression testing are; there should be no major defects while we do our smoke test and functional testing.

46
Q

What is Test Harness?

A

“In software testing, a test harness or automated test framework is a collection of software and test data configured to test a program unit by running it under varying conditions and monitor its behavior and outputs. It has two main parts: the test execution engine and the test script repository.” (Definition from www.wikipedia.org)

47
Q

How to write User Acceptance Test plan?

A

The way of writing Test Plan and Test Cases is the same in all the test phases. However, specifically for User Acceptance Testing, the testers use data nearly real data (meaning that the data is very much similar to the production data or real data). (qaquestions.com)

48
Q

What is the Waterfall methodology?

A

It is sequential design process. Where Development flows sequentially from start point to end point, with several different stages: Conception, Initiation, Analysis, Design, Construction, Testing, Implementation, and Maintenance.

49
Q

What is a Test Case

A

In it’s simplest definition a test case as a set of step-by-step instructions to verify something behaves as it is required to behave.

It often contains:

  • Title
  • Description
  • Test steps
  • Expected result
  • Actual result (Once tested)

Atest case is a set of conditions or variables under which a tester determines whether the software satisfies requirements and functions properly.

A test case is a single executable test which a tester carries out. It guides them through the steps of the test.

50
Q

What is the Agile methodology?

A

It is based on an incremental and iterative approach to software design. Allowing developers freedom to respond to changes in requirements as they arise. It is made up of scrum teams ; it’s carried out in sprints.

51
Q

What’s the difference between a Test Case and a Test Scenario?

A

Test Scenario
The purpose of scenario testing is to test the end-to-end functionality of a software application and ensure the business processes and flows are functioning as needed. In scenario testing, the tester puts themselves in the users shoes and determines real world scenarios (use-cases) that can be performed. Once these test scenarios are determined, test cases can be written for each scenario. Test scenarios are the high level concept of what to test.

Test Case
A test case is a set of steps to be executed by the tester in order to validate the scenario. Whereas test scenarios are derived from use-cases, test cases are derived and written from the test scenarios. A test scenario usually has multiple test cases associated with it, as test cases layout out the low-level details on how to test the scenario.

Example
Test Scenario: Validate the login page
Test Case 1: Enter a valid username and password
Test Case 2: Reset your password
Test Case 3: Enter invalid credentials

52
Q

User Story

A

User storiesare short descriptions of functionality told from the user’s perspective. Thefocus is on why and how the user interacts with the software. A user story is essentially a high-level definition of what the software should be capable of doing. Typically, any feedback or request that comes from the business or end-user can be written as a user story.

A good userstoryis written in simple language and speaks to the reason and anticipated benefits of a specific areaof the software. They usually follow a template like this:
As a , I want so that .
Here’s an example of a user story for a basic e-commerce site:
As a customer, I want to be able to view the items in my cart so that I know for sure what I’m purchasing.

Acceptance criteria often accompanies the user story. Thesecriteria are the boundaries of the user story (feature) and they essentially determine when the user story is competed. Acceptance criteria is also what the tester will write/conduct their tests against. You can think of acceptance criteria as the functional requirements that support a user story.

53
Q

What Is A Requirement?

A

Traditional requirements describehow the software should act. The intent of the system is the main focus.Requirements documents go into great detail on how an area of software should work. They typically serve the purpose of guiding how the software team will build something.
While user stories are plain and simple, requirements documents go into a lot of detail and take a good amount of time to write. Requirements documents often contain things like executive summaries, scope, risks, and more. Theyset the level of quality forfunctionality, performance, and user experience.
Here’s an example of a few requirements for a basic e-commerce site:
Display the name of each item in the shopping cart.
Display the quantity of each item in the shopping cart.
Allow the user to remove any items in the shopping cart.

54
Q

Difference between User Story & Requirement

A

In general, user stories are morecommonly used within agile methodology,whilerequirements documents aremore commonly associated with the traditional waterfallmethodology.
Due to the light nature of user stories, they promote more discussionand collaboration than requirements documents. As you can see in the above examples, requirements lay out specific detail while the user story example leaves room for discussion. These discussions may take place prior to or within the planning session. As we discussed in a previous post,the entire team (including QA) should be involved in this discussion.
With requirements docs, the greater details are already fleshed out. It’s pretty rare for a developer to append or modifyrequirements documents.
By the timesoftwareis implemented per a formal requirements document, the actual requirements may have changed. With user stories, anyone should be able to contribute to the user story backlog at any time. This couldbe a developer raising issues on technical debt, the client requestinga new feature, or a tester who has noticed a UX issue. The backlog isa collaborative effort and therefore ensures the work being done aligns with the customers needs.