Manual Testing Interview Questions
Manual Testing Interview Questions
If you are a fresher in this field and this is supposedly going to be your first job, below-
mentioned are the questions you will be asked.
Ans : Software testing refers to the validation process that helps evaluate whether the
system is working according to the requirements of the business. This process helps
qualify software on varying aspects, like efficiency, completeness, accuracy, and
usability.
Ans: The testing activity stops once the team has completed the following objections:
Successful completion of the full test cycle once the final bug has been fixed
The end date of the validation stage if no high-priority or critical defects have been left
behind
In case the team has achieved the expected level of Code Coverage (CC) ratio
Ans: In software testing, verification is a process that helps confirm that the
development of a product is underway according to the specifications and the standard
procedures of development. In this process, inspection, reviews, walkthroughs, and
demos are a few stages.
On the other hand, validation is all about confirming that the developed product is
devoid of bugs and working as expected. In this process, functional testing and non-
functional testing are two stages.
4. Define static testing?
Ans: Static testing is the white-box testing technique that helps direct developers to
cross-check their code through a checklist to find errors.
Ans: Developers can effortlessly begin static testing without really finalizing the
program or application.
Ans: Black-box testing is a standard testing approach that needs testers to evaluate the
software’s functionality according to the business needs. The software gets tested as a
black box and gets the validation according to the end-user’s point of view.
Ans: A test plan is a plan that retains all of the potential testing activities to make sure
the product is qualitative. It accumulates data from use case documents, requirements,
and product descriptions.
Risk factors
Test scope
Deliverables
Environment
Ans: Test coverage is referred to as the quality metric that displays the amount of testing
that has been completed (in percentage). Test coverage is relevant for both non-
functional and functional testing activities. Also, it is used to add those test cases that
have been missing.
Ans: It is not possible to perform 100% testing of any software or product. However, can
do the following steps to come closer:
Ans: Integration testing helps validate how well two or more software units will be
interacting with one another. There are three different ways to validate the integration:
the big bang approach, bottom-up approach, and top-down approach.
Ans: No, it is not possible. System testing should begin only once all of the modules are in
place and are working correctly. However, it is better if performed before User
Acceptance Testing (UAT).
14. What is the difference between a test stub and a test driver?
Ans: The test stub is referred to as a dummy program that helps integrate with an
application to complete the functionality. It is relevant for such testing types that use a
top-down approach. And, the test driver is a code section that calls a software
component under the test. It is effective in testing that follows a bottom-up approach.
Unit testing
Functional testing
Integration testing
Smoke testing
Regression testing
Shakeout testing
System testing
Performance testing
Load testing
Stress testing
Endurance testing
If you are planning to appear for a software testing interview, here are a few questions
you should vary of:
Ans: In a normal software development process, there are four varying steps, referred to
as PDCA. It stands for Plan, Do Check, Act.
The plan defines the objectives and a comprehensive strategy to achieve that objective.
The act is a step that is used to solve any issue arising during the checking cycle.
While the developers take responsibility for planning and building the project, testers
handle the check part of it.
17. What are the benefits of designing tests early in the life cycle?
Ans: By designing tests early in the life cycle, we can effortlessly avert defects from being
available in the main code.
Ans: Exploratory testing is referred to when design and execution take place
simultaneously against an application. In this testing type, the tester uses domain
knowledge and the testing experience to forecast under what conditions and where the
system may behave in an unanticipated way.
19. How can you explain risk-based testing?
Ans: Risk-based testing is one such testing strategy that is based upon prioritizing tests
by keeping risks in mind. It is based on a comprehensive risk analysis approach that
further categorizes the risk by their priority. Those with the highest priority get
resolved first.
Ans: Accessibility testing comes into the picture when there is a need to verify whether
the software is accessible to everybody, including those with disabilities, such as blind,
deaf, mentally disabled, and more.
Ans: Agile testing is one such practice that uses agile methodologies and follows the
paradigm of test-first design.
Ans: When done by software tools and executed without any manual intervention,
testing is referred to as automated testing. This type of testing can be used in API,
performance, GUI, and more.
Ans: In baseline testing, a specific set of tests is run to gain information regarding the
performance. Baseline testing enhances the capabilities and performance of the
application with the help of collected information to make changes in the application.
The baseline helps compare the application’s present performance with the previous
performance.
24. What are the important testing types for web testing?
Ans: Two major types of testing are important for web testing, such as:
Security Testing: This one is a testing technique that comprehends the resources and
data that must be saved from hackers or intruders.
Ans:
Validation Verification
Validation takes place after verification Verification takes place before validation
Ans: The reactive tests are designed once the software is developed, while the
preventative tests are designed earlier than that.
Ans: A decision table comprises inputs and outputs in the same column, only that the
outputs come above and inputs are placed below them. Also, decision table testing is
used for the testing systems for which the specification takes the cause-effect
combination or rules.
Ans: Positive testing is when you put valid input and anticipate to expect certain actions
that are completed as per the specifications. On the other hand, negative testing is when
you put an invalid input and get an error.
Ans: In boundary value analysis, we test precise boundaries. For instance, suppose there
is a bank application where you can withdraw a minimum of 100 and a maximum of
25000. Thus, we will test the above and below the maximum scenarios in boundary
value analysis.
For example, if there is a bank application, you can withdraw a maximum of 25000 and a
minimum of 100. So in boundary value testing, we only test above the max and below the
max. This covers all scenarios.
Ans: Performance testing is a technique that helps determine the system’s performance,
such as stability, scalability, and speed. There are different types of software testing,
such as:
Load Testing: A technique wherein a system is tested with an increasing load until it
attains the threshold value
Stress Testing: This one is a technique that helps check the system when hardware
resources are not sufficient, such as disk space, memory, CPU, and more
Spike Testing: Spike Testing is a subset of load testing that checks the application’s
instability when the load is varying
Endurance Testing: This is the subset of load testing and checks the system’s behavior
Volume Testing: This is a technique wherein the system gets tested when the data
volume is increased
Scalability Testing: It is referred to as a technique that makes sure the system is working
well in proportion to the increasing demands of the users.
Functional Testing has various phases that must be considered while testing. We'll look
at a variety of interview questions and answers in this section to help you prepare for
your interview.
Writing the test cases in regards to the requirement specifications by keeping every
scenario in mind
Discovering the test inputs along with requesting the test data needed to execute the test
cases and check the application’s functionality
Executing the test cases that understand whether the behavior of the application is as
per the expectation or if any defects are there
It is performed to comprehend the behavior of the It is the process that helps comprehend whethe
system according to the client's functional needs and performance of the system is according to the c
requirements requirements
Manual and automation testing tools are used to Effective tools are used to perform it after func
perform it testing
Integration testing
34. What is the difference between build and release?
Ans: The build is one executable file that is regarding the application’s part handed over
to the tester to test the functionalities and fix bugs. The build can also reject the testing
team if it doesn’t have anything critical or major. The release is a software application
that doesn’t exist in the testing phase anymore. It has been handed over to the client.
Ans: A bug refers to an unwanted flaw, mistake, or error occurring in the application and
preventing it from generating the needed result. When any bug is discovered when
testing the application, it goes through a definite cycle, from logging to resolving, known
as the bug life cycle.
Assigned: It is once a bug is logged, it will be reviewed by the team lead and assigned to
the developer team
Open: It is when the tester has logged the bug in the Open state, and it remains so until
the developed has worked on it
Fixed / Resolved: This status comes up when the developer has resolved the bug
Reopen: This status comes if the tester has detected the bug again
Invalid / Not a Bug: It can be marked invalid when the developer reports an issue
according to the functionality but logged because of the misinterpretation
38. What essential points should be considered when writing test cases?
Ans: Writing a test case is meant to be an essential activity for the test execution process,
requiring writing skills and profound knowledge of the application to make reusable
and effective test cases. Some of the essential points to be kept in mind include:
There should be a precise understanding of the requirements before writing the test
cases. There should be no assumptions or doubts.
Every requirement should be in the form of test cases. Generally, a traceability matrix is
maintained to keep track of every requirement integrated and testing completed.
Ans: Automation testing is one such method that uses an automation tool to execute test
cases suite to improve test coverage and speed to test execution. Automation testing
doesn’t need any human intervention as it executes pre-scripted tests and can compare
and report results with previous test runs.
Ans: Stress testing is a performance testing type where the application goes through
stress or exertion, meaning the application is executed above the break threshold to
comprehend the point where it will crash. Usually, this condition comes when there is
too much data or too many users.
Loading testing is a performance testing type where the application gets executed above
a variety of load levels to monitor the server’s peak performance, server throughput,
response time, and more.
Ans: Volume testing is a performance testing type that comprehends the response time
and server throughput level when concurrent users and large data loads from the
databases are put into the application or system under test.
Ans: There are two different types of test techniques, such as:
Business Process-Based Testing: This functional testing form is performed from the
perspective of the business process. The scenarios included in this are business
processes' knowledge.
Ans: Exploratory testing means exploring or testing the application without following
any procedures or schedules. When performing this testing type, testers don’t track any
set patterns but use out-of-the-box thinking and varying ideas to see how the application
will perform.
44. What are the potential login features to be tested for any web
application?
Ans: The potential scenarios to perform so as to test the login feature of an application
fully include:
Checking the fields of inputs, such as username and password, for both invalid and valid
values
Entering a valid email ID with an incorrect password and an invalid email ID with a valid
password
Entering the application after logging in and navigating back to the login page to check if
the user is asked to log in again or not
Sign in from a browser and open the application from another browser to check if you
are still logged in
Changing the password after logging in and then trying to log in with the old password
Ans: In the present scenario, the web is dominating our lives through varying forms,
including online payments, online learning, shopping, and more. Hence, to grow better,
everybody should be a part of technology. With accessibility testing, disabled people can
use the internet with much ease through:
Special keyboard
46. What will be your strategy if you find a bug during testing?
Run tests to make sure a similar problem does not exist with other inputs
Once the certainty is established, can add more details and then report the bug.
47. How will you test if the requirements have to be frozen yet?
Ans: If the specifications haven’t been frozen for a product, can curate the test plan
based on assumptions regarding the product. However, these assumptions should be
well-documented in the plan.
48. How will you conquer the challenges that occurred because of the
unavailability of documents during the testing?
Ans: In case the standard documents, such as Feature Description Document or System
Requirement Specification are missing, then quality assurance will be based upon the
following references, such as:
Screenshots
Wireframes
49. Can you spot the difference between regression testing and retesting?
Ans: Possible differences that we can spot between regression testing and retesting are:
Regression testing ensures the fixed bug doesn’t break other application components,
while the retesting is performed to verify that the defect has been fixed.
With regression test cases, the functionality of all or some modules is verified.
Ans: As per my understanding, the following are some of the key challenges of manual
testing:
Testing the application entirely with the help of optimized test cases
Ans: STLC is referred to as Software Testing Life Cycle. It proposes the execution of tests
in a systematic and planner manner. In this model, a lot of activities take place intending
to enhance the product’s quality. This method covers requirement analysis, test
planning, test case development, environment setup, test execution, and test cycle
closure.
Ans: A fault is a condition that leads to the failure of software execution when
performing a regarded function.
Ans: An error occurs when there is a slip in coding. This can be discovered by a manual
tester when it becomes a defect. If the development team admits the defect, it becomes a
bug. In case a built code misses the requirements, it turns out to be a functional failure.
Ans: Severity signifies the depth or gravity of a bug. It helps describe the application’s
perspective. On the other hand, priority talks about the bug that must be fixed on a
priority basis. It also defines the point of view of users.
Ans: The criticality or the severity of a bug can be high, medium, or low, depending on its
context, such as:
User interface defects come under low severity
Boundary-related defects and error handling defects come under medium severity
Ans: Defect Removal Efficiency (DRE) is a testing metric that indicates the development
team’s efficiency in fixing errors and issues before releasing the software. It is measured
as the ratio of fixed defects to the total number of discovered issues. For instance, if
there were 80 discovered defects during the testing and 60 were fixed, the DRE will be
80/60 = 1.3%.
Ans: Automation testing is one such process that helps execute the tests automatically. It
decreases the need for human intervention significantly. Various tools can be used for it,
such as WinRunner, Selenium, and QTP. With the help of testing tools, we can speed up
the testing tasks. Also, these tools help us create test scripts to verify the application and
generate test reports automatically.
59. What is the difference between software testing, quality control, and
quality assurance?
Ans: Software testing is one process that ensures that the product meets the
requirements of users. The objective of performing this test is to discover bugs and fix
them. Hence, it helps maintain the product’s quality so that it can be delivered to the
customer.
Quality Control (QC) is related to the product’s quality. It not just discovers the defects
but also suggests improvements as well. Hence, the testing team is liable for QC.
Quality Assurance (QA) is a systematic and planned way of monitoring the quality of the
entire process, meant to come up with a quality product. It helps track the test reports
and modify the process to fulfill expectations.
60. State the difference between bug release and bug leakage?
Ans: Bug release is when a specific software version is released with known bugs.
Generally, these bugs are of low priority or severity.
Bug leakage happens when a bug is identified by the end customer and missed by the
testing team when testing the software.
Conclusion
Now that you have a comprehensive, in-depth list of manual testing interview questions,
you can definitely prepare well. So, go through these questions repeatedly until you are
ready to give correct answers without pausing in between.
A test scripting language specially used by Selenium for creating test cases is called
Selenese. It's a cross-platform language used for representing Selenium commands. By
using Selenese, we can perform various actions like checking links, different UI
elements, dropdown lists, etc. Besides we can also perform actions like testing Ajax
functionality, scrolling through a page, and a lot more web application features.
Unavailability of reliable tech support, as Selenium requires a high level of expertise and
resources to manage.
Need to rely on third-party tools for testing mobile and desktop applications.
Acceptance testing: Determines the feature or system that meets customer expectations
and requirements.
Regression testing: Generally, this test is done after a fix, change, or feature is added.
Selenium's latest version is Selenium 4.0.0 Alpha 5, which is released in March 2020.
Selenium 4.0 comes with new standardization and offers a seamless experience.
Improved docker support using domain sockets and the DOCKER_HOST env variable
Instead of creating a client per session, reuses the same HTTP client.
If you want to become a Selenium Certified Specialist, then visit Mindmajix - A Global online
training platform: “Selenium Training”. This course will help you to achieve excellence in this domain
5. What's new in Selenium 4.0?
Refreshed Documentation
Relative locators
The below command finds the element using link text and then clicks on that element,
then after the user will be redirected to a corresponding page.
driver.findElement(By.linkText("Today's deals")).click();
The below command finds the element based on the substring of the link in the
parenthesis and partial link text() finds the web element.
driver.findElement(By.partialLinkText("Service")).click();
7. How to add text in the text box without using sendkeys()?
jse.executeScript("document.getElementById('email').value="123.ab@xyz.com
");
Stale means old and no longer new. A stale element means an old element. Any element
present on the webpage is considered as a web element in Web Driver. If the document
object model (DOM) changes, then the web element goes stale. If we try to connect with
any element that is staled, then StaleElementReferenceException is thrown.
Solution 1: Refresh the page and try again for the same element
driver.navigate().refresh();
driver.findElement(By.xpath("xpath here")).click();
Solution 2: Use try-catch block within for loop, if the element is not found in DOM.
try{
driver.findElement(By.xpath("xpath here")).click();
break;
catch(Exception e){
Sysout(e.getMessage());
wait.until(ExpectedConditions.presenceOfElementLocated(By.id("table")));
wait.until(ExpectedConditions.refreshed(ExpectedConditions.stalenessOf("table")));
9. What is the same-origin policy? And how can you avoid it?
The same-origin policy is a critical security mechanism that defines how the script or
document loaded from one origin can associate with a resource from another origin. It
helps to isolate potential malicious documents and rescues from attack vectors.
Locator in Selenium is a command that tells Selenium IDE about which GUI elements
need to operate. There are various types of locators available in Selenium WebDriver,
and its choice depends largely on the application under test.
Locating by ID: It takes a string parameter which is an ID attribute value and returns the
object to the findElement() method.
driver.findElement(By.id("user"));
driver.findElement(By.tagName("button").click());
Locating by Link: The target link can be located using a by.link text locator.
driver.findElement(By.linkText("Today's deals")).click();
Locating by Name: The first element with the name attribute value will return the
location matched.
driver.findElement(By.name("books").click());
driver.findElement(By.xpath("//span[contains(text(),'an account')]")).getText();
driver.findElement(By.className("inputtext"));
Locating by CSS selector: It locates elements based on the drivers underlying the CSS
selector engine.
driver.findElement(By.cssSelector("input#email")).sendKeys("myemail@email.com");
Waits are commands in Selenium that are important for executing test scripts.
Implicit Wait Type: Implicit wait commands direct Selenium WebDriver to wait for a
certain measure of time before throwing a "no such element" exception.
Syntax:
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
Explicit Wait Type: Explicit wait command directs WebDriver to wait until a certain
condition occurs before proceeding with executing the code.
Syntax:
Fluent Wait Type: Fluent wait command defines Selenium WebDriver to wait for a
specific condition to appear. And, also determines the frequency with which Selenium
Webdriver checks the state that appeared before by throwing
"ElementNotVisibleException".
Syntax:
.withTimeout(timeout, SECONDS)
.pollingEvery(timeout, SECONDS)
.ignoring(Exception.class);
12. What are the most commonly used Browser navigation commands for
Selenium WebDriver?
Navigate To Command: This method loads a new web page in the current browser
window and returns a string as a parameter.
driver.navigate().to(appUrl);
Forward Command: This method does the same operation as the forward button of any
browser. It neither returns nor accepts anything
driver.navigate().forward();
Back Command: This method does the same operation like the back button of any
browser. Neither returns nor accepts anything.
driver.navigate().back();
Refresh Command: This method is used for refreshing the current page.
driver.navigate().refresh();
13. How is the Page Object Model(POM) different from Page Factory?
Page Object Model is a class that represents a web page and its functionality and
members. Page Factory is a way of initializing web elements you want to interact with
the page object while creating an instance of it.
The robot class in Selenium is used to handle mouse and keyboard functions. It closes
the pop windows. Using the WindowHandle() function, we can handle the pop-up
window. By using third-party tools also we can handle pop-ups and other window-based
features.
switchTo() Command is used to switch the focus to a new window browser, by supplying
the Window Handle or Window Name as an argument to the Command.
driver.SwitchTo().Window(WindowHandle);
driver.SwitchTo().Window(WindowName);
Syntax:
driver.findElement(By.xpath("Value of Xpath"));
findElements() returns the list of all the matching elements. findElements method
returns an empty list when an +element is not available or doesn't exist on the page.
Syntax:
17. What is the major difference between "/" and "//" in Xpath?
Single Slash “/”: It is used to create Xpath with an absolute path that is Xpath would be
created to start selection from document node/start node.
/html/body/div[2]/div[1]/div[1]/a
Double Slash "//": It is used to create Xpath with a relative path that is Xpath would be
created to create start selection from anywhere within the document
//div[class="qa-logo"]/a
To verify the visibility of web elements like checkbox, edit box, radio button, etc., use the
following methods:
Syntax:
isSelected(): Checks the status of the check box, radio button, and options in the static
dropdown.
Syntax:
Syntax:
The value in the dropdown can be selected using WebDriver's Select class.
Syntax:
select By VisibleText:
selectByVisibleText.selectByVisibleText("Lime");
select By Value:
selectByValue.selectByValue("greenvalue");
select By Index:
selectByIndex.selectByIndex(2);
The iFrame is an inline frame or web page used for inserting another document within
the current HTML document. It is often used to add content from other sources like an
advertisement on a web page. It is defined with the "iframe" tag.
Select iframe by id
driver.switchTo().frame(driver.findElements(By.tagName("iframe").get(0));
Locating iframe using index
frame(index)
driver.switchTo().frame(0);
frame(WebElement element)
driver. quit() is used for exiting the browser, tabs, pop-ups, session, etc., whereas the
driver.close() is used to close the web browser window that the user is currently
working on.
WebDriver offers a wide range of utilities that users can exploit to automate mouse and
keyboard events. Action interface is one such utility that simulates single user
interactions.
Here are the methods Actions class has provided for Mouse Hover action:
moveToElement(WebElement target)
@BeforeClass
@Before
@Test
@After
@AfterClass
@Ignore
3. What is the difference between the STLC (Software Testing Life Cycle)
and SDLC (Software Development Life Cycle)?
SDLC deals with development/coding of the software while STLC deals with
validation and verification of the software
6. What is white box testing and list the types of white box testing?
Statement Coverage
Decision Coverage
Verify all conditional loops in the code to check the complete functionality
of the application
8. What is black box testing? What are the different black box testing
techniques?
Black box testing is the software testing method which is used to test the
software without knowing the internal structure of code or program. This
testing is usually done to check the functionality of an application. The
different black box testing techniques are
Equivalence Partitioning
Cause-effect graphing
9. What is the difference between static and dynamic testing?
Static testing: During Static testing method, the code is not executed, and it
is performed using the software documentation.
Unit/component/program/module testing
Integration testing
System testing
Acceptance testing
12. What is Integration testing?
Test design, scope, test strategies, approach are various details that Test
plan document consists of.
Scope
Features to be tested
Test deliverables
Responsibilities
14. What is the difference between UAT (User Acceptance Testing) and
System testing?
15. Mention the difference between Data Driven Testing and Retesting?
Data Driven Testing (DDT): In data driven testing process, the application
is tested with multiple test data. The application is tested with a different
set of values.
17. What is the difference between test scenarios, test cases, and test
script?
Latent defect: This defect is an existing defect in the system which does not
cause any failure as the exact set of conditions has never been met
19. What are the two parameters which can be useful to know the quality
of test execution?
Test Deliverables are a set of documents, tools and other components that
have to be developed and maintained in support of testing.
Before Testing
During Testing
Technical Feasibility
Complexity level
Application stability
Test data
Application size
Backtracking
Cause elimination
Program Slicing
When the presence of one defect hides the presence of another defect in the
system, it is known as fault masking.
Test Strategy
Test Objective
Exit/Suspension Criteria
Resource Planning
Test Deliverables
28. How can you eliminate the product risk in your project?
It helps you to eliminate product risk in your project, and there is a simple
yet crucial step that can reduce the product risk in your project.
Have discussions about the project with all stakeholders including the
developer
Limited Budget
Time Limitations
30. On what basis you can arrive at an estimation for your project?
Task Member
33. While monitoring your project what all things you have to consider?
Poor Scheduling
Underestimating
Project Information
Test Objective
Test Summary
Defect
A final document helps to decide whether the product is ready for release
Continuous Improvement
Documentation
Tool Usage
Metrics
39. What is the difference between Test matrix and Traceability matrix?
Test Matrix: Test matrix is used to capture actual quality, effort, the plan,
resources and time required to capture all phases of software testing
Traceability Matrix: Mapping between test cases and customer
requirements is known as Traceability Matrix
41. What is the step you would follow once you find the defect?
42. Explain what is “Test Plan Driven” or “Key Word Driven” method of
testing?
This technique uses the actual test case document developed by testers
using a spreadsheet containing special “key Words”. The key words control
the processing.
LCSAJ stands for ‘linear code sequence and jump.’ It consists of the
following three items
c) The target line to which control flow is transferred at the end of the
linear sequence
a) It does not require processing source code and can be applied directly to
object code
b) Bugs are distributed evenly through the code, due to which percentage
of executable statements covered reflects the percentage of faults
discovered
d) String should be replaced only for the first occurrence of the string
49. How will you handle a conflict amongst your team members?
I will hold a team meeting, reveal the solution and ask people to co-operate
The code coverage testing tool runs parallel while performing testing on
the actual product. The code coverage tool monitors the executed
statements of the source code. When the final testing is done, we get a
complete report of the pending statements and also get the coverage
percentage.
53. Explain how to test documents in a project that span across the
software development lifecycle?
The project span across the software development lifecycle in the following
manner
Central/Project test plan: It is the main test plan that outlines the complete
test strategy of the project. This plan is used till the end of the software
development lifecycle
System test plan: This plan starts during the design plan and proceeds until
the end of the project
Integration and Unit test plan: Both these test plans start during the
execution phase and last until the final delivery
54. Explain which test cases are written first black boxes or white boxes?
Black box test cases are written first as to write black box test cases; it
requires project plan and requirement document all these documents are
easily available at the beginning of the project. While writing white box test
cases requires more architectural understanding and is not available at the
start of the project.
55. Explain what the difference between latent and masked defects is?
Latent defect: A latent defect is an existing defect that has not caused a
failure because the sets of conditions were never met
Masked defect: It is an existing defect that has not caused a failure because
another defect has prevented that part of the code from being executed
56. Mention what bottom-up testing is?
57. Mention what the different types of test coverage techniques are?
Statement Coverage: It verifies that each line of source code has been
executed and tested
Path Coverage: It ensures that every possible route through a given part of
the code is executed and tested
Breath testing is a test suite that exercises the full functionality of a product
but does not test features in detail
59. Explain what the meaning of Code Walk Through is?
Code Walk Through is the informal analysis of the program source code to
find defects and verify coding techniques
60. Mention what the basic components of defect report format are?
Project Name
Module Name
Defect detected on
Defect detected by
Defect resolved by
Defect resolved on
61. Mention what the purpose behind doing end-to-end testing is?
64. What is the MAIN benefit of designing tests early in the life cycle?
Preventative tests are designed early; reactive tests are designed after the
software has been produced.
67. What is the purpose of exit criteria?
The likelihood of an adverse event and the impact of the event determine
the level of risk.
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.
72. Which of the following defines the expected results of a test? Test
case specification or test design specification.
77. Mention what the difference between Pilot and Beta testing is?
The difference between a pilot and beta testing is that pilot testing is
actually done using the product by the group of users before the final
deployment, and in beta testing, we do not input real data, but it is installed
at the end customer to validate if the product can be used in production.
78. Given the following fragment of code, how many tests are required
for 100% decision coverage?
if width > length
thenbiggest_dimension = width
thenbiggest_dimension = height
end_if
elsebiggest_dimension = length
thenbiggest_dimension = height
end_if
end_if
79. You have designed test cases to provide 100% statement and 100%
decision coverage for the following fragment of code. if width > length
then biggest_dimension = width else biggest_dimension = length end_if
The following has been added to the bottom of the code fragment above.
print “Biggest dimension is ” &biggest_dimensionprint “Width: ” & width
print “Length: ” & length How many more test cases are required?
None, existing test cases can be used.
Regression Testing
83. 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
Independent testers are unbiased and identify different defects at the same
time.
87. In a REACTIVE approach to testing when would you expect the bulk
of the test design work to be begun?
The bulk of the test design work begun after the software or system has
been produced.
There are currently seven different agile methodologies that I am aware of:
Scrum
Feature-Driven Development
90. What is typically the MOST important reason to use risk to drive
testing efforts?
Provide developers and other parties with feedback about the problem to
enable identification, isolation, and correction as necessary.
Provide testers with a means of tracking the quality of the system under
test.
93. Consider the following techniques. Which are static and which are
dynamic techniques?
Equivalence Partitioning.
Exploratory Testing.
Decision Testing.
Inspections.
Data Flow Analysis and Inspections are static; Equivalence Partitioning, Use
Case Testing, Exploratory Testing and Decision Testing are dynamic.
94. 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.
Planning
Kick-off
Preparation
Review meeting
Rework
Follow-up.
An input or output ranges of values such that only one value in the range
becomes a test case.
Load Testing
A negative test is when you put in an invalid input and receives errors.
While positive testing is when you put in a valid input and expect some
action to be completed in accordance with the specification.
109. What type of review requires formal entry and exit criteria,
including metrics?
Inspection
111. An input field takes the year of birth between 1900 and 2004 what
the boundary values for testing this field are?
1899,1900,2004,2005
d. Output comparator
113. To test a function, what has to write a programmer, which calls the
function to be tested and pass test data.
Driver
114. What is the one Key reason why developers have difficulty testing
their own work?
Lack of Objectivity
The answer depends on the risk for your industry, contract and special
requirements.
116. When should testing be stopped?
It depends on the risks for the system being tested. There are some criteria
based on which you can stop testing.
119. 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
ENDIF
IF p > 50
ENDIF
Technical Review.
By testers.
123. Which of the following is the review participant who has created the
item to be reviewed?
Author
124. 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.
125. Why does the boundary value analysis provide good test cases?
It is led by a trained leader, uses formal entry and exit criteria and
checklists.
132. What is called the process starting with the terminal modules?
Bottom-up integration
133. During which test activity could fault be found most cost-
effectively?
137. 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
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, and we must compare what the software produces to what it
should produce. A test comparator helps to automate aspects of that
comparison.
142. Who is responsible for document all the issues, problems and open
point that were identified during the review meeting
Scribe
Equivalence partitioning
146. A test manager wants to use the resources available for the
automated testing of a web application. The best choice is
147. During the testing of a module tester, ‘X’ found a bug and assigned it
to a developer. But developer rejects the same, saying that it’s not a bug.
What ‘X’ should do?
Send the detailed information of the bug encountered and check the
reproducibility
149. 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
150. 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
151. “This life cycle model is driven by schedule and budget risks” This
statement is best suited for.
V-Model
153. 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
Test boundary conditions on, below and above the edges of input and
output equivalence classes. For instance, let say a bank application where
you can withdraw maximum Rs.20,000 and a minimum of Rs.100, so in
boundary value testing we test only the exact boundaries, rather than
hitting in the middle. That means we test above the maximum limit and
below the minimum limit.
Test Environment
158. What can be thought of as being based on the project plan, but with
greater amounts of detail?