SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Agenda
Software Testing & Its
Market Trends
Software Testing
Types
Top 50 Software Testing
Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Introduction To Software Testing
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Introduction To Software Testing
Software testing is defined as an activity to
check whether the actual results match the
expected results and to ensure that
the software system is Defect free.
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Digital Transformation with Agile
1
Machine Learning in Testing
2
Increase Adoption of DevOps
3
Big Data Testing
4
IoT Testing
5
Performance Engineering
6
Test Automation
7
Combining Manual & Automation Testing
8
Shortening Delivery Cycles
9
Integration
10
Market Trends
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Market Trends
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Types of Software Testing
Testing of software is done manually, without
the use of automated tool or applications
available in the market.
Automation testing is an Automatic technique
where the tester writes scripts by own and uses
suitable software to test the software.
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
Companies using Software Testing
Copyright © 2019, edureka and/or its affiliates. All rights reserved.
03
02
01 Beginner level
Intermediate level
Advance level
Copyright © 2019, edureka and/or its affiliates. All rights reserved.
03
02
01 Beginner level
Intermediate level
Advance level
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
01 What are the phases involved in Software Testing Life Cycle?
Requirements
Analysis1
Test Planning2
Test Case
Development3
Environment Setup4
Test Execution5
Test Cycle Closure6
Software Testing Life Cycle (STLC) identifies
what test activities to carry out and when to
accomplish those test activities.
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
02 What is the difference between Black box, White box and Gray Box Testing?
Black – Box
Testing
TEST CASE - INPUT TEST CASE - OUTPUT
In black box, internal
structure/design/implementation of
the item being tested is not known to
the tester.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
TEST CASE - INPUT TEST CASE - OUTPUT
In white box, internal
structure/design/implementation of
the item being tested is known to the
tester.
White – Box
Testing
02 What is the difference between Black box, White box and Gray Box Testing?
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
02 What is the difference between Black box, White box and Grey Box Testing?
TEST CASE - INPUT TEST CASE - OUTPUT
In grey box, internal
structure/design/implementation of
the item being tested is partly known
to the tester.
A
Grey – Box
Testing
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
03 What are the different levels of Testing?
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
04 Explain Defect/Bug Life Cycle
Defect life cycle is a cycle which a
defect goes through during its
lifetime. It starts when defect is found
and ends when a defect is closed,
after ensuring it’s not reproduced.
A
Active
Assign
Closed
Deferred
Rejected
New
Reopened
Verified
Test
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
05 What is a Test Case?
Test cases engage in collected steps and conditions
with inputs which can be implemented at the time
of testing. This activity focuses on making sure
whether a product went through a set of tests or
fails by any means such as functionality or other
aspects.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
06 What is the difference between functional and non functional testing?
Functional
Operation
Non-
Functional
▪ Performed before non-functional testing ▪ Performed after functional testing
▪ Describes what the product does ▪ Describes how the product works
▪ Based on customer requirements ▪ Based on customers expectations
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
07 What is Verification & Validation in Software Testing?
A
Software Testing Interview Questions
Verification
In this technique, testing
is done without the
execution of the code
Validation
Validation is a dynamic
analysis technique where
testing is done by
executing the code.
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
08 What is 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
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
09 What are the categories of Defect?
Software Testing Interview Questions
Defect
Wrong
Missing
Extra
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
10 On what basis acceptance plan is prepared?
Software Testing Interview Questions
Requirement
Document
Customer
Input
Project
Plan
User
Manual
Acceptance Plan
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
11 What is Coverage and what are different types of Coverage
techniques?
Coverage is a measurement
used in software testing to
describe the degree to which
the source code is tested.
A Coverage
Techniques
Statement
Coverage
Decision
Coverage
Path
Coverage
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
12 What are the benefits of Automation Testing?
• Supports execution of repeated tasks
• Enables parallel execution
• Aids in testing large test matrix
• Improves accuracy
• Saves time and money
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
13 Why Selenium is a preferred tool for Automation Testing?
Software Testing Interview Questions
Test Scripts OS Platform Browsers
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
14 What are different Selenium Components?
Selenium is one of the
most popular automated
testing suites.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
15 What are different types of locators in Selenium?
Software Testing Interview Questions
32 41
ID
Name
Link Text Partial link text
CSS Selector
5 6
Xpath
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
16 What is XPath?
Software Testing Interview Questions
XPath can be also defined as XML path
It consists of a path expression along with some conditions
XPath is a language to query XML documents
Important strategy to locate elements in Selenium
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
17 What is the difference between Absolute & Relative XPath?
Software Testing Interview Questions
Absolute XPath
It is the direct way to find
the element from the
start of the node
Relative XPath
The path starts from the
middle of the HTML DOM
structure
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
18 What are the different Exceptions in Selenium Webdriver?
▪ Timeout Exception
▪ NoSuchElement Exception
▪ ElementNotVisible Exception
▪ StateElement Exception
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
19 What is Selenium Grid and when should we use it?
A
Software Testing Interview Questions
Selenium Grid can be used to execute same or different test scripts on
multiple platforms and browsers concurrently to achieve distributed test
execution, testing under different environments and saving execution time
remarkably.
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
20 How to launch browser using WebDriver?
➢ WebDriver driver = new FirefoxDriver();
➢ WebDriver driver = new ChromeDriver();
A
Software Testing Interview Questions
Copyright © 2019, edureka and/or its affiliates. All rights reserved.
03
02
01 Beginner level
Intermediate level
Advance level
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
21 Should testing be done only after the build & execution phases are complete?
In real-time, testing is always done only after the build and execution phases.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
22 What is the relationship between Environmental Reality & Test Phases?
Software Testing Interview Questions
Environment reality
becomes more
important as test
phases start moving
ahead.
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
23 A defect which could have been removed during the initial stage is removed in
a later stage. How does this affect cost?
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
24 What do you mean by Regression and Confirmation Testing?
A
Software Testing Interview Questions
Regression testing ensures that
defect is not introduced
Confirmation testing ensures
that defect is fixed
Confirmation Testing
Change or fix a DEFECT
Regression Testing
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
25 Explain Boundary Value Analysis
Boundary Value Analysis (BVA) is a black box
test design technique based on test cases. This
technique is applied to see if there are
any bugs at the boundary of the input
domain.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
26 What is Random/Monkey Testing?
Random testing is sometimes
called monkey testing. In Random
testing, data is generated randomly
often using a tool.
A
Software Testing Interview Questions
System Test ResultsJunk Characters
as Input
Random Testing
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
27 On what basis you can arrive to an estimation for your project?
1. Divide the whole project into a smallest tasks
2. Allocate each task to team members
3. Estimate the effort required to complete each task
4. Validate the estimation
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
28 Which test cases are written first: white boxes or black boxes?
Normally Black box test cases are written first and white box test
cases later.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
29 Mention what are the basic components of defect report format?
▪ Project Name
▪ Module Name
▪ Defect detected on
▪ Defect detected by
▪ Defect ID and Name
▪ Snapshot of the defect
▪ Priority and Severity status
▪ Defect resolved by
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
30 Is Automation testing in agile Methodology useful or not?
Automation testing in agile methodology is very useful and helps in
achieving maximum test coverage in a lesser time of the sprint.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
31 Which Test Cases can be automated?
▪ Smoke test cases
▪ Regression Test Cases
▪ Complex Calculation test cases
▪ Data-driven test cases
▪ Non-functional test cases
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
32 On what basis you can map the success of automation testing?
Software Testing Interview Questions
✓ Defect Detection Ratio
✓ Automation execution time and time
savings to release the product
✓ Reduction in Labour & other costs
A
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
33 Explain Load Testing On Websites?
Software Testing Interview Questions
To load test a website, quality assurance
engineers and automation engineers
just need to multiply the number of
responses sent to simulate different
traffic loads.
A
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
34 What is the difference between Selenium and Sikuli?
▪ It cannot automate flash objects like video player,
audio player,
▪ It has got complicated API
▪ It does not have visual match
▪ It can automate only web applications
Selenium
A
Software Testing Interview Questions
▪ It provides extensive support to automate flash objects
▪ It has simple API
▪ It uses a visual match to find elements on the screen.
So, we can automate anything we see on the screen
▪ It ca n automate the web as well as windows
application.
Sikuli
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
35 How to click on a hyper link using linkText?
driver.findElement(By.linkText(“Google”)).click();
driver.findElement(By.partialLinkText(“Goo”)).click();
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
36 What is TestNG?
TestNG is an advanced framework designed in a way
to leverage the benefits by both the developers and
testers.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
37 How to set test case priority in TestNG?
Software Testing Interview Questions
package TestNG;
import org.testng.annotations.*;
public class SettingPriority {
@Test(priority=0)
public void method1() {
}
@Test(priority=1)
public void method2() {
}
@Test(priority=2)
public void method3() {
}
}
A
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
38 What is the difference between Selenium and QTP?
Software Testing Interview Questions
Selenium
A
QTP
✓ Selenium supports almost all the popular
browsers like Firefox, Chrome, Safari, Internet
Explorer, Opera etc
✓ Selenium is distributed as an open source tool
and is freely available
✓ Selenium supports testing of only web based
applications
✓ QTP supports Internet Explorer, Firefox and
Chrome. QTP only supports Windows Operating
System
✓ QTP is distributed as a licensed tool and is
commercialized
✓ QTP supports testing of both the web based
application and windows based application
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
39 What is Object Repository? How can we create Object Repository in Selenium?
Object Repository is a term used to refer to the collection of web
elements belonging to Application Under Test (AUT) along with their
locator values. In Selenium, objects can be stored in an excel sheet
which can be populated inside the script whenever required.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
40 How to input text in the text box using Selenium WebDriver?
• By using sendKeys()method we can input the text in the text box using
Selenium WebDriver
A
Software Testing Interview Questions
Copyright © 2019, edureka and/or its affiliates. All rights reserved.
03
02
01 Beginner level
Intermediate level
Advance level
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
41 What kind of input do we need from the end user to begin proper testing?
Software Testing Interview Questions
Acceptance Test Plan
Requirement
Scenarios for Testing
Risk
Live Data
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
42 Can you explain Workbench concept?
Software Testing Interview Questions
Phases, steps and
tasks
Workbench
A
▪ Input
▪ Execute
▪ Check
▪ Production Output
▪ Rework
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
43 What is meant by Defect Cascading?
Defect cascading is a defect which is
caused by another defect. One defect
triggers the other defect.
Software Testing Interview Questions
A
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
44 What are the different strategies for rollout to end users?
Software Testing Interview Questions
▪ Pilot
▪ Gradual Implementation
▪ Phased Implementation
▪ Parallel Implementation
A
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
45 Explain how can you find broken links in a page using Selenium WebDriver?
You have to use the anchor tags <a> to determine the
different hyperlinks on the web page. For each <a> tag,
we can use the attribute ‘href’ value to obtain the
hyperlinks and then analyse the response received for
each hyperlink when used in driver.get() method.
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
46 Which technique should you consider using throughout the script “if there is neither frame id
nor frame name”?
If neither frame name nor frame id is available,
then we can use frame by index.
A
Software Testing Interview Questions
driver.switchTo().frame(int
arg0);
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
47 How to take screenshots in Selenium WebDriver?
Software Testing Interview Questions
You can take a screenshot by using
the TakeScreenshot function. By
using getScreenshotAs() method you can
save that screenshot. .
A
File scrFile =
((TakeScreenshot)driver).getScreen
shotAs(outputType.FILE);
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
48 Explain how you will login into any site if it is showing any authentication popup for
username and password?
Software Testing Interview Questions
A
WebDriverWait wait = new WebDriverWait(driver, 10);
Alert alert = wait.until(ExpectedConditions.alertIsPresent());
alert.authenticateUsing(new UserAndPassword(**username**,
**password**));
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
49 How to skip a method or a code block in TestNG?
If you want to skip a particular test method, then you can set the ‘enabled’ parameter in test
annotation to false.
@Test(enabled = false)
A
Software Testing Interview Questions
SOFTWARE TESTING CERTIFICATION COURSES www.edureka.co/software-testing-certification-courses
50 Briefly explain what the following snippet of Java code does
It defines a variable sample of type
WebElement, and uses an XPath search
to initialize it with a reference to an
element that contains the text value
“data”.
A
Software Testing Interview Questions
WebElement sample =
driver.findElement(By.xpath("//*[contains(text(),
'data')]"));
Software Testing Interview Questions & Answers | Edureka

Software Testing Interview Questions & Answers | Edureka

  • 1.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses
  • 2.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Agenda Software Testing & Its Market Trends Software Testing Types Top 50 Software Testing Interview Questions
  • 3.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Introduction To Software Testing
  • 4.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Introduction To Software Testing Software testing is defined as an activity to check whether the actual results match the expected results and to ensure that the software system is Defect free.
  • 5.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Digital Transformation with Agile 1 Machine Learning in Testing 2 Increase Adoption of DevOps 3 Big Data Testing 4 IoT Testing 5 Performance Engineering 6 Test Automation 7 Combining Manual & Automation Testing 8 Shortening Delivery Cycles 9 Integration 10 Market Trends
  • 6.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Market Trends
  • 7.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Types of Software Testing Testing of software is done manually, without the use of automated tool or applications available in the market. Automation testing is an Automatic technique where the tester writes scripts by own and uses suitable software to test the software.
  • 8.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses Companies using Software Testing
  • 9.
    Copyright © 2019,edureka and/or its affiliates. All rights reserved. 03 02 01 Beginner level Intermediate level Advance level
  • 10.
    Copyright © 2019,edureka and/or its affiliates. All rights reserved. 03 02 01 Beginner level Intermediate level Advance level
  • 11.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 01 What are the phases involved in Software Testing Life Cycle? Requirements Analysis1 Test Planning2 Test Case Development3 Environment Setup4 Test Execution5 Test Cycle Closure6 Software Testing Life Cycle (STLC) identifies what test activities to carry out and when to accomplish those test activities. Software Testing Interview Questions
  • 12.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 02 What is the difference between Black box, White box and Gray Box Testing? Black – Box Testing TEST CASE - INPUT TEST CASE - OUTPUT In black box, internal structure/design/implementation of the item being tested is not known to the tester. A Software Testing Interview Questions
  • 13.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses TEST CASE - INPUT TEST CASE - OUTPUT In white box, internal structure/design/implementation of the item being tested is known to the tester. White – Box Testing 02 What is the difference between Black box, White box and Gray Box Testing? Software Testing Interview Questions
  • 14.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 02 What is the difference between Black box, White box and Grey Box Testing? TEST CASE - INPUT TEST CASE - OUTPUT In grey box, internal structure/design/implementation of the item being tested is partly known to the tester. A Grey – Box Testing Software Testing Interview Questions
  • 15.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 03 What are the different levels of Testing? Unit Testing Integration Testing System Testing Acceptance Testing Software Testing Interview Questions
  • 16.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 04 Explain Defect/Bug Life Cycle Defect life cycle is a cycle which a defect goes through during its lifetime. It starts when defect is found and ends when a defect is closed, after ensuring it’s not reproduced. A Active Assign Closed Deferred Rejected New Reopened Verified Test Software Testing Interview Questions
  • 17.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 05 What is a Test Case? Test cases engage in collected steps and conditions with inputs which can be implemented at the time of testing. This activity focuses on making sure whether a product went through a set of tests or fails by any means such as functionality or other aspects. A Software Testing Interview Questions
  • 18.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 06 What is the difference between functional and non functional testing? Functional Operation Non- Functional ▪ Performed before non-functional testing ▪ Performed after functional testing ▪ Describes what the product does ▪ Describes how the product works ▪ Based on customer requirements ▪ Based on customers expectations Software Testing Interview Questions
  • 19.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 07 What is Verification & Validation in Software Testing? A Software Testing Interview Questions Verification In this technique, testing is done without the execution of the code Validation Validation is a dynamic analysis technique where testing is done by executing the code.
  • 20.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 08 What is 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 A Software Testing Interview Questions
  • 21.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 09 What are the categories of Defect? Software Testing Interview Questions Defect Wrong Missing Extra
  • 22.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 10 On what basis acceptance plan is prepared? Software Testing Interview Questions Requirement Document Customer Input Project Plan User Manual Acceptance Plan
  • 23.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 11 What is Coverage and what are different types of Coverage techniques? Coverage is a measurement used in software testing to describe the degree to which the source code is tested. A Coverage Techniques Statement Coverage Decision Coverage Path Coverage Software Testing Interview Questions
  • 24.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 12 What are the benefits of Automation Testing? • Supports execution of repeated tasks • Enables parallel execution • Aids in testing large test matrix • Improves accuracy • Saves time and money A Software Testing Interview Questions
  • 25.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 13 Why Selenium is a preferred tool for Automation Testing? Software Testing Interview Questions Test Scripts OS Platform Browsers
  • 26.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 14 What are different Selenium Components? Selenium is one of the most popular automated testing suites. A Software Testing Interview Questions
  • 27.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 15 What are different types of locators in Selenium? Software Testing Interview Questions 32 41 ID Name Link Text Partial link text CSS Selector 5 6 Xpath
  • 28.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 16 What is XPath? Software Testing Interview Questions XPath can be also defined as XML path It consists of a path expression along with some conditions XPath is a language to query XML documents Important strategy to locate elements in Selenium
  • 29.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 17 What is the difference between Absolute & Relative XPath? Software Testing Interview Questions Absolute XPath It is the direct way to find the element from the start of the node Relative XPath The path starts from the middle of the HTML DOM structure
  • 30.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 18 What are the different Exceptions in Selenium Webdriver? ▪ Timeout Exception ▪ NoSuchElement Exception ▪ ElementNotVisible Exception ▪ StateElement Exception A Software Testing Interview Questions
  • 31.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 19 What is Selenium Grid and when should we use it? A Software Testing Interview Questions Selenium Grid can be used to execute same or different test scripts on multiple platforms and browsers concurrently to achieve distributed test execution, testing under different environments and saving execution time remarkably.
  • 32.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 20 How to launch browser using WebDriver? ➢ WebDriver driver = new FirefoxDriver(); ➢ WebDriver driver = new ChromeDriver(); A Software Testing Interview Questions
  • 33.
    Copyright © 2019,edureka and/or its affiliates. All rights reserved. 03 02 01 Beginner level Intermediate level Advance level
  • 34.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 21 Should testing be done only after the build & execution phases are complete? In real-time, testing is always done only after the build and execution phases. A Software Testing Interview Questions
  • 35.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 22 What is the relationship between Environmental Reality & Test Phases? Software Testing Interview Questions Environment reality becomes more important as test phases start moving ahead.
  • 36.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 23 A defect which could have been removed during the initial stage is removed in a later stage. How does this affect cost? Software Testing Interview Questions
  • 37.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 24 What do you mean by Regression and Confirmation Testing? A Software Testing Interview Questions Regression testing ensures that defect is not introduced Confirmation testing ensures that defect is fixed Confirmation Testing Change or fix a DEFECT Regression Testing
  • 38.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 25 Explain Boundary Value Analysis Boundary Value Analysis (BVA) is a black box test design technique based on test cases. This technique is applied to see if there are any bugs at the boundary of the input domain. A Software Testing Interview Questions
  • 39.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 26 What is Random/Monkey Testing? Random testing is sometimes called monkey testing. In Random testing, data is generated randomly often using a tool. A Software Testing Interview Questions System Test ResultsJunk Characters as Input Random Testing
  • 40.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 27 On what basis you can arrive to an estimation for your project? 1. Divide the whole project into a smallest tasks 2. Allocate each task to team members 3. Estimate the effort required to complete each task 4. Validate the estimation A Software Testing Interview Questions
  • 41.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 28 Which test cases are written first: white boxes or black boxes? Normally Black box test cases are written first and white box test cases later. A Software Testing Interview Questions
  • 42.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 29 Mention what are the basic components of defect report format? ▪ Project Name ▪ Module Name ▪ Defect detected on ▪ Defect detected by ▪ Defect ID and Name ▪ Snapshot of the defect ▪ Priority and Severity status ▪ Defect resolved by A Software Testing Interview Questions
  • 43.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 30 Is Automation testing in agile Methodology useful or not? Automation testing in agile methodology is very useful and helps in achieving maximum test coverage in a lesser time of the sprint. A Software Testing Interview Questions
  • 44.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 31 Which Test Cases can be automated? ▪ Smoke test cases ▪ Regression Test Cases ▪ Complex Calculation test cases ▪ Data-driven test cases ▪ Non-functional test cases A Software Testing Interview Questions
  • 45.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 32 On what basis you can map the success of automation testing? Software Testing Interview Questions ✓ Defect Detection Ratio ✓ Automation execution time and time savings to release the product ✓ Reduction in Labour & other costs A
  • 46.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 33 Explain Load Testing On Websites? Software Testing Interview Questions To load test a website, quality assurance engineers and automation engineers just need to multiply the number of responses sent to simulate different traffic loads. A
  • 47.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 34 What is the difference between Selenium and Sikuli? ▪ It cannot automate flash objects like video player, audio player, ▪ It has got complicated API ▪ It does not have visual match ▪ It can automate only web applications Selenium A Software Testing Interview Questions ▪ It provides extensive support to automate flash objects ▪ It has simple API ▪ It uses a visual match to find elements on the screen. So, we can automate anything we see on the screen ▪ It ca n automate the web as well as windows application. Sikuli
  • 48.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 35 How to click on a hyper link using linkText? driver.findElement(By.linkText(“Google”)).click(); driver.findElement(By.partialLinkText(“Goo”)).click(); A Software Testing Interview Questions
  • 49.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 36 What is TestNG? TestNG is an advanced framework designed in a way to leverage the benefits by both the developers and testers. A Software Testing Interview Questions
  • 50.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 37 How to set test case priority in TestNG? Software Testing Interview Questions package TestNG; import org.testng.annotations.*; public class SettingPriority { @Test(priority=0) public void method1() { } @Test(priority=1) public void method2() { } @Test(priority=2) public void method3() { } } A
  • 51.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 38 What is the difference between Selenium and QTP? Software Testing Interview Questions Selenium A QTP ✓ Selenium supports almost all the popular browsers like Firefox, Chrome, Safari, Internet Explorer, Opera etc ✓ Selenium is distributed as an open source tool and is freely available ✓ Selenium supports testing of only web based applications ✓ QTP supports Internet Explorer, Firefox and Chrome. QTP only supports Windows Operating System ✓ QTP is distributed as a licensed tool and is commercialized ✓ QTP supports testing of both the web based application and windows based application
  • 52.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 39 What is Object Repository? How can we create Object Repository in Selenium? Object Repository is a term used to refer to the collection of web elements belonging to Application Under Test (AUT) along with their locator values. In Selenium, objects can be stored in an excel sheet which can be populated inside the script whenever required. A Software Testing Interview Questions
  • 53.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 40 How to input text in the text box using Selenium WebDriver? • By using sendKeys()method we can input the text in the text box using Selenium WebDriver A Software Testing Interview Questions
  • 54.
    Copyright © 2019,edureka and/or its affiliates. All rights reserved. 03 02 01 Beginner level Intermediate level Advance level
  • 55.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 41 What kind of input do we need from the end user to begin proper testing? Software Testing Interview Questions Acceptance Test Plan Requirement Scenarios for Testing Risk Live Data
  • 56.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 42 Can you explain Workbench concept? Software Testing Interview Questions Phases, steps and tasks Workbench A ▪ Input ▪ Execute ▪ Check ▪ Production Output ▪ Rework
  • 57.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 43 What is meant by Defect Cascading? Defect cascading is a defect which is caused by another defect. One defect triggers the other defect. Software Testing Interview Questions A
  • 58.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 44 What are the different strategies for rollout to end users? Software Testing Interview Questions ▪ Pilot ▪ Gradual Implementation ▪ Phased Implementation ▪ Parallel Implementation A
  • 59.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 45 Explain how can you find broken links in a page using Selenium WebDriver? You have to use the anchor tags <a> to determine the different hyperlinks on the web page. For each <a> tag, we can use the attribute ‘href’ value to obtain the hyperlinks and then analyse the response received for each hyperlink when used in driver.get() method. A Software Testing Interview Questions
  • 60.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 46 Which technique should you consider using throughout the script “if there is neither frame id nor frame name”? If neither frame name nor frame id is available, then we can use frame by index. A Software Testing Interview Questions driver.switchTo().frame(int arg0);
  • 61.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 47 How to take screenshots in Selenium WebDriver? Software Testing Interview Questions You can take a screenshot by using the TakeScreenshot function. By using getScreenshotAs() method you can save that screenshot. . A File scrFile = ((TakeScreenshot)driver).getScreen shotAs(outputType.FILE);
  • 62.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 48 Explain how you will login into any site if it is showing any authentication popup for username and password? Software Testing Interview Questions A WebDriverWait wait = new WebDriverWait(driver, 10); Alert alert = wait.until(ExpectedConditions.alertIsPresent()); alert.authenticateUsing(new UserAndPassword(**username**, **password**));
  • 63.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 49 How to skip a method or a code block in TestNG? If you want to skip a particular test method, then you can set the ‘enabled’ parameter in test annotation to false. @Test(enabled = false) A Software Testing Interview Questions
  • 64.
    SOFTWARE TESTING CERTIFICATIONCOURSES www.edureka.co/software-testing-certification-courses 50 Briefly explain what the following snippet of Java code does It defines a variable sample of type WebElement, and uses an XPath search to initialize it with a reference to an element that contains the text value “data”. A Software Testing Interview Questions WebElement sample = driver.findElement(By.xpath("//*[contains(text(), 'data')]"));