0% found this document useful (0 votes)
9K views304 pages

MCQ-1 (Manual Testing & ALM)

This document provides information about manual testing and Application Lifecycle Management (ALM). It discusses topics such as Agile methodology, verification vs validation, test techniques like decision tables and use cases, mapping requirements to tests in ALM, and roles in Scrum and DevOps. It also addresses ALM concepts like defects, requirements, tests, and integration between these entities. Common activities in ALM like creating defects and requirements are also covered.

Uploaded by

supraja yagna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9K views304 pages

MCQ-1 (Manual Testing & ALM)

This document provides information about manual testing and Application Lifecycle Management (ALM). It discusses topics such as Agile methodology, verification vs validation, test techniques like decision tables and use cases, mapping requirements to tests in ALM, and roles in Scrum and DevOps. It also addresses ALM concepts like defects, requirements, tests, and integration between these entities. Common activities in ALM like creating defects and requirements are also covered.

Uploaded by

supraja yagna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 304

1.

Which type of testing is intended to validate the system’s usability and operability and its
performed by clients?
Ans :- Application product test

2. Dev tested the login page of the XYZ application and found that the password is displayed
as entered instead of masked format hence; he logged the defect and sent it to the
development team. Surya another test team member found the same defect and logged it
now what should be the status of the defect when surya logs it ?
Ans :-Duplicate
3. In project, Devops is adopted by adhering to the below characteristics .choose the correct
characteristics offered by devops.?

1. Stable and operable software.


2. Consistent and optimized release process
3. High risk and low throughput of changes
4. Low available and dependable environment
Ans:- Statement 1 and 2 are correct

4. Which of the following techniques in implemented when the requirement in complex with
multiple condition and action?

Ans :- Decision table


5. Which of the following tab from ALM test plan section allows tester to map
requirement to tests from test plan?
Ans:- Requirement coverage

6. Algorithm-
Read X
Read Y
Read Z
If(X+Y)>=65 Then
Print “Excellent”
Else

If Z>75
Print “Good”
Else
Print “Average”
End if
End if

Determine the statement coverage of the above algorithm


Ans:-2
7. Which of the following input document is used to create tests scenarios and condition?
Ans:- User Cases
8. Sean, a Devops Engineer is planning to adopt continuous development in his project
for faster delivery of the product .which tool can be used to accomplish his goal?
Ans: - Jenkins

9.Samantha has new joiner in project team .she has been asked by her lead to
perform white box testing on the application code .please help her to understand the
different techniques to perform white box testing
Ans :- Statement coverage
Path coverage
Condition coverage
Branch coverage
10. James has executed the test and found a defect in one of the application modules
he raised the defect in the system .the development lead reviewed the defect and
found it to be not valid, Now what should be the status of the defect in the system?

Ans :- Rejected

11. Which of the following field is mandatory while creating requriment in ALM?
Ans :- Requirement type

11. Topic: Manual Testing, Sub Topic: SDLC

Which of the following best defines “verification“and “validation”?

ANS: Verification: Lalitha is updating the test script after the review.
Validation: Raju is updating the product requirements after BA’s confirmation.

12. Topic: Aglie and DevOps


Sub Topic: Aglie overview
In agile there are many roles among them who is responsible for prioritizing
the product backlog?
ANS: Product Owner
MANUAL TESTING AND ALM
1) Most popular and common examples of Agile methodology

A) Scrum , Feature Driven Development , Kanban

2 ) Verification: Lalitha is updating the test script after the review

Validation: Raju is updating the product requirements after BA’s confirmation

3) Which of the following technique is implemented when the requirement is


complex with multiple conditions and actions?

A) Decision Table

4) Which of the following input documents is used to create test scenarios


and conditions?

A) Use Cases

5) Which of the following styles of writing test scenario ids will represent
clearly the referenced test scenario and help the testing team for tracking
purposes?

A) UCA1.0.TS1.0 [Use Case ID.Test Scenario ID]

6) Suppose, we have an application page with a “role” text box.Users can


enter a role in the text box.The application will accept any one of the three
roles(Buyer,Seller,Broker).Which of the following options indicates a proper
collection of equivalence classes to design the test scenarios?

A) Buyer , Seller , Broker , Any other role , No role

7) Which of the following from ALM Test Plan section allows tester to map
requirements to tests from test plan?

A) Requirements Coverage
8) A DevOps engineer is planning to adopt continuous deployment in his
project for faster delivery of the product. Which tool can be used to
accomplish his goal?

A) Jenkins

9) Scrum is used for managing a product/application. One of the team


members, peter has the responsibility of delivering the overall project vision.
Which scrum role is played by peter?

A) Scrum Master

10) Sarah adopted Agile and DevOps methodologies in her project. What are
the benefits offered by Agile and DevOps practices?

A) Communication gap between teams , Faster Delivery , Failing Fast , Fast


Feedback

11) Which of the following options align with agile principles?

A) Welcome changing requirements , Requirements defined upfront , Ensure


customer satisfaction , Testing occurs at early phases of SDLC

12) Which of the following defect status is marked by the developer when he
is analyzing the defect description?

A) Open

13) Which type of testing is intended to validate the system’s usability and
operability and is performed by clients?

A) OAT

14) Which of the following testing activities determines if the QA team has
the necessary work products and is ready for the test execution phase?

A) Test Preparation Review


15) Same defect is logged by two testers.What is the status of the defect?

A) Duplicate

16) To successfully launch the ALM web application on the IE browser,


suggest recommended settings under internet options?

A) Add ALM URL to the trusted sites and ensure that Protected Mode is
checked for different zones

17) By default, what does Application Lifecycle Management (ALM) assign


when a new defect is created?

A) An unique defect ID

18) Which of the following defines ALM as an integrated repository?

A) Link between Requirements with Releases and Cycles

Link between Requirements with Tests

Link between Defects with Releases and Cycles

Link between Requirements with Defects

19) Which of the following fields/columns are mandatory to map the ALM
defects from the excel file for entity type as defects?

A) Summary, Detected By, Severity, Defected on Date

20) Characteristics offered by DevOps?

A) Stable and operable software , Consistent and optimized release process

21) Match the scrum roles

A) 1. Product Owner → Creates and maintains product backlog

2. Scrum Master → Conducts daily stand-up meetings

3. Scrum Team → Develops working software


22) Different techniques to perform white box testing

A) Statement Coverage

Path Coverage

Branch Coverage

Condition Coverage

23) Which section in ADM helps to access the deliverables?

A) Work Products

24) How many defects can be associated to a requirement?

A) Multiple Defects

25) Which is not a part of agile manifesto?

A) Comprehensive Documentation over working software

26) Which work product is continuously updated by the test team witht test
execution work allocation and status?

A) Requirement Traceability Matrix(RTM)

27) Sam has created a Test set and added tests into it. He wants to configure
the test run schedule in ALM Test Lab .Which test lab panel allows him to
configure the test run schedule?

A) Execution Flow

28) Which user group in ALM has full previliges to all modules in ALM?

A) TDAdmin

29) Sarah wants to create reusable tests, so that she can call the existing
tests from other tests. Appropriate option to achieve this is ALM is?

A) Mark as Template Tests


30) Which of the following fields in the Test Script template are filled during
the test preperation phase of STLC?

A) Expected Result , Test Condition ID

31) Who is responsible for prioritizing the product backlog?

A) Product Owner

32) Which of the following peer review technique indicates review


performed by individuals who are not directly involved in the application
development process?

A)

33) The development lead found the raised defect is not valid. What should
be the status of the defect?

A) Rejected

34) Which of the following options are specific to operations(Ops) in DevOps?

A) Deploy , Monitor

35) Which filed is mandatory while creating requirement in ALM?

A) Requirement Type

36) Which of the following fields provides traceability between the “Test
Script “ and “Test Scenarios and Conditions” Document?

A) Test Condition ID in test script

37) To check if the fix implemented is not introducing new defects on the
system, what type of testing is performed?

A) Regression Testing

38) Which of the following fields/columns are mandatory to map the ALM
test steps from the excel file for entity type as tests?

A) Path , Test Name


KNOWLEDGE CHECKS
Agile and DevOps:-
Manual Testing and ALM Knowledge Check 1
Manual Testing and ALM Knowledge Check 2
1) Which of the following field/column for requirements in excel format is used
to map the requirements folder in ALM?
Ans: Path
2) Which of the following best defines ALM as an integrated repository?
Ans: Link between requirements with releases & cycles
Link between defects with releases & cycles
3) By default, what does application life cycle management (ALM) assign when a
new defect is created?
Ans: A unique defect IO
4) Which of the following sections allows you to view coverage by cycle?
Ans: Requirement coverage
5) How many defects can be associated with a requirement?
Ans: Multiple defects
6) Which of the following elements of JMeter determines the order in which the
requests have to get processed?
Ans: Logic controllers
7) Which one of the following is not a controller in JMeter?
Ans: Condition controller
8) Which of the following represents a process where samplers are executes with
multiple sets of user input data?
Ans: Parameterization
9) Which of the following statements is true about pre-processors?
Ans: Pre-processors execute before the sampler requests are executed in the
test plan (only a)
10) Which assertion is used to test whether the API server response was
received within a given amount of time or not?
Ans: Duration
11) Which of the following defect states is marked by the developer when he is
analyzing the defect description?
Ans: Open
12) Which of the following test defines “Verification” & “Validation”?
Ans: Verification: Lalitha is reviewing the test script conduct by raju
Validation: Raju is updating the requirements traceability matrix for the
requirement coverage
13) John has raised a high priority defect in the morning and is waiting for the
fix to be completed. At 5pm he got a fix from the developer. Now he also need
to check the fix implemented does not introduce any new defects on the
system. What type of testing is he performing?
Ans: Regression testing
14) Consider the below html code snippet
Email:<label id=”Email” class=”Style1” name=”input”> Which of the best locator
to identify the Email web element?
Ans: By id (“Email”)
15) Which method in the web driver library is used to get the attribute value of
a web element?
Ans: getAttribute(“AttributeName”)
16) Sarah is coding an automation script, where she has to validate the price of
the holiday package based on the drag and drop of island only from the menu.
The price is fetched from the server and displays without reloading the
webpage. Which web driver library class has the pre defined conditions for
handling dynamic waits in selenium webdriver library?
Ans: WebDriver wait
17) Which of the following statement(s) is/are about the extent reports?
Ans: All of the above : Extent reports are customisable HTML Reports
Extent reports can be integrated with Selenium webdriver using TestNG/Junit
test frameworks
Extent reports can add events, screenshots, tags, devices, and any other related
information about test environment
18) Sean is coding an automation script for emulating user actions by mouse
using the webdriver library. Assist sean to choose the correct syntax to create
an object for actions class from the following
Ans: Actions act=new Actions(driver instance)
19) Which Java interface is used to capture screenshot of a webpage using
webdriver API?
Ans: TakeScreenshot
20) Sean wants to switch to multiple frames on a webpage when an operation
is completed on a frame an test flow needs to move to another frame, calling
the driver.SwitchTo().frame() immediately will not move the context to the
next frame which is at the same level in DCM. The test will first need to switch
to the main document and then activate the desired frame which method is
used to switch back to the main document from the frame?
Ans: driver.SwithTo().defaultContent()
21) Samatha wants to write an automation script that determines the count of
hobbies check boxes. These check boxes have a name attribute as ”hobbies”.
Assist Samatha by choosing the correct command
Ans: Driver.dindElements.By.name(“hobbies”).size()
22) Samatha is automating a test scenario. This scenario involves a pop up of a
confirmation window. She wants to interact with the pop up window and
decline the confirmation pop-up window that shows a message “Do you want
to cancel the payment?”. Choose correct code
Ans: Driver.SwithchTo().alert().dismiss()
23) Sarah is coding an automation script to switch to frame in a web
application. Help her to switch a particular frame on a web page using the
window library. She wants to interact with the pop up window and decline the
confirmation pop up window show a message “Do you want to cancel the
payment?”. Assist Samantha to interact with
Ans: Driver.SwitchTo().frame(int index)
Driver.SwitchTo().frame(String name or id)
24) Which of the following is correct about generating an XML Suite file is
TestNG for Test Suite execution?
Ans: Test NG XML suite file
Can be generated at the time of creating TestNG class
TestNG XML suite file can be generated using convert to TestNG option in Eclipse
after a java code
25) Sarah is designing an automation script using descriptive programming in
UFT for a web based Flight GUI application. Assist sarah with a tool to identify
the property of the test scripts
Ans: Object Spy
26) Sarah wants to slice a text to perform a test on a message. She used the
split function in VB Scripting to chop the strings. Predict the output for the
below code
Arr=Split(“this ”is ”VB”Scripting”,” ‘ ”)
Msgbox arr(2)
Ans: VB
27) In UFT which type of variable can be accessed by all actions, function
libraries and tests that have a global scope?
Ans: Environment variable
28) Which of the following types of applications can be tested using UFT?
Ans: Web app, SOAP and REST APIs
29) A retail application generates an order id on successful order placing. Order
id follows the pattern. Starts with TXN, followed by 3 digit number and ends
with any capital alphabet
Ans: ^TXNd[3]{A-Z}$
30) Jack wants to apply checkpoint in an existing test script. He decides to use
keyword view to insert checkpoint. Which all checkpoints can be inserted using
keyword view?
Ans: Only standard
31) What type of action can we create if others want to reuse that action, but
at the same time, it should be non-editable for others?
Ans: Reusable action
32) Chetan wants to add some additional information like the environment for
test execution, which method can be used to add the information in the test
method?
Ans: Add Run Information
33) Predict the output for the below code snippet Msgbox (“UFT” &
String(3,”T”))
Ans: 6
34) Many wants to add the HTML report snippet to have better clarity in the
test results. Which Reporter object method can be added to achieve the task?
Ans: ReportHTMLEvent
35) There are various elements in a SOAP message. Which element of the SOAP
message shows error message and status information?
Ans: Fault
36) Lisa is a new joiner to cucumber project assigned to execute the scenarios
marked as both OAT and UAT tags. Which of the following will assist Lisa to
execute the desired Scenario using tags from Cucumber option?
Ans: @CucumberOptions(tags=(“@OAT”,”@UAT”))
37) Henry wants to write some comments in the feature file. Which character
command is used to define comments in the feature file?
Ans: #
38) Kevin is creating a feature file with multiple scenarios. He wants to apply
multiple tags to a scenario. Which of the following best requirements the
technique to apply multiple tag names?
Ans: @Tag1,@Tag2
39) Which statements are true about feature file?
Ans: only 1, 2 & 3 : A feature file contains multiple scenarios
Feature Gherkin keyword is always written as first high level keyword in a feature
file
There can be multiple feature file in a project
40) No question
@when(“Kevin enters quantity as{int}item(3)”)
@Then(“Shopping cart icon shows {int}”)
41) Which of the following is not a valid element in the JMeter test plan?
Ans: Annotation
42) Which of the following is past processor in JMeter ?
Ans: Regular expression Evaluator
43) Which of the following parameters can be configured using a thread group?
Ans: Ramp-up period
Loop count
44) Which among the following is an invalid controller in JMeter?
Ans: State controller
45) Which of the following fields in the defect log helps the tester to prioritize
and fix the defect?
Ans: Severity
46) Sean is coding an automation script to test a web application. He has to
store the largest link in a java variable using a driver find element() method.
Suggest Sean with a compatible return type to store the logout test object?
Ans: WebElement
47) James want to automate the selection of ID proofs drop down box in the
web application . He has to verify the drop down box has a selection of more
than one option. Which of the following method is suggested to JMeter?
Ans: Ismultiple()
48) When verification fails in TestNG. What forces the test to stop execution
and mark as fail?
Ans: Assertion Fail
49) Kavin wants to generate extensive report for the test automation project.
He decides to use Extent reports library. Which class in this library is used to
create labels, code blocks and labels in the report?
Ans: Markup Helper
50) Sean configured this project for the test Suite execution using TestNG. He
wants to perform parallel execution using TestNG. Which attribute represents
the parallel execution of the test cases?
Ans: Parallel=”tests”
51. Kevin is using CSS selector as a locator strategy for the following element <h1
id =”msg1” name=”success”>Registration completed</h1>. He must identify the
element efficiently.
Ans: .By CSS Selector(“h1[id=’msg01’]”)
.By CSS Selector(“h1[id=’msg01’][name=’success’]”)
52. There is an element on the webpages when inspected on the browser it looks
like <div call=”errorMsg”>Error Message</div>. James wants to use selenium
locations to identify the element. Choose the correct set of commands to locate
the elements efficiently.
Ans: By CSS Selector(“div.errorMsg”)
53. Sarah wants to automate the selection of only one option from a dropdown
box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.
Ans: Select By Index()
54. Identify the valid statement from the below given options.
Ans: Browser(name i=Demowebshop).page(page i=”.*”).WebEdit(“Emailiq”) Set
Prince
55. Neha is an automation tester working for TestMe project. She wants to log
some information in the UFT tet result pane. Which reporter object method is
more relevant in the situation?
Ans: MicDone
56. UFT supports various debugging techniques that help us in finding the issues
in the automation script. Which technique allows us to change the value of local
variables at runtime to understand the behaviour?
Ans: Console
57. Which of the following statements regarding actions in UFT is incorrect?
Ans: In actions, parameters are passed by value and by
58. To execute a cucumber scenario, which file(s) are important and must be
created in the maven project?
Ans: .feature file, .step definition
59. Henry wants to generate JSON reports on the execution of Test Runner in
cucumber. Assert Henry with the right option to configure the JSON report
generation in @Cucumber options?
Ans: @Cucumber Options({plugin=pretty,”html:report.html”})
60. Henry has created a feature file with tagged scenarios. He wants to execute all
the scenarios excluding “SevereTag” scenarios. What command should he use in
cucumber options for TestRunner class?
Ans: tags=(“~@SevereTag”)
61. Which of the following will control the amount of time Jmeter will execute a
test plan?
Ans: Test duration
62. Which of the following types of applications can be tested using Jmeter?
Ans: All of these
63. Jude is testing the login page of an application that contains 10 fields. He has
analyzed the data dictionary to derive the test data for the login page. He has
tested the application with all the combinations as it was a mandatory task
required for the project. However, he is sure that 0% of defects do not guarantee
the process success from the customers perspective, please predict the testing
principle that he is referring to in the above statement?
Ans: Exhausting testing not possible
64. Which of the following styles of writing test scenario ids will represent clearly
the referenced test scenario and help the testing team for tracking purposes?
Ans:
65. Sean is coding to automate a test scenario in which he has to click on a
dynamic link to navigate to the shopping cart page.
The web element looks like <a href=”icart.jsp? params”>cart[19]</a>. Which
locator is most recommended for the scan to identify the cart web element for all
test iterations ?
Ans: By.partial link Text()
66. Kevin wants to fetch all the data from the country dropdown menu and verify
the data against data from the database. He is looking into the library for a
method to fetch all the data from the country dropdown box .Which method
helps Kevin?
Ans: get options()
67. What does double forward slash // represent in xpath selenium locations?
Ans: relative xpath
68. Kevin is planning to write automation script for below scenario.
Given the user is on the payment page. He views a textbox with attribute values .
“Enter Mobile Number” written in the box. The user must enter the mobile
number in the box to proceed. Please choose the correct command to help Kevin
in automating the scenario. Assume the textbox element is already identified and
stored in mobile txt box variable .
Ans: mobileTxtBox.sendKeys(“xxxxxxxxxx”)
69. Henry is designing a script and using CSS selector as the locator strategy. He
must locate the element efficiently. The element inspected looks like <input
id=”new password” type=”password”>.
Ans: By CSS Selector(“input[id=password]”)
70. Kevin is designing an automation test, where test data is specified in an
external excel file. Which command will be helpful to write the data into a cell of
the excel file? Assume c1 is the cell object.
Ans: c1.SetCellValue(‘data’)
71. <html>
<body>
<ul class = ”cities” >
<li>Bangalore</li>
<li>Chennai</li>
<li>Mumbai</li>
<li>Bangalore</li>
<li>Pune</li>
</ul>
</body>
</html>
Sarah wants to locate the 3rd child element i.e. Hyderabad.Suggest the
appropriate locator strategy by Sarah.
ANS- CSS=”ul.cities.li inth of type(“Hyderabad”)”
72. UFT supports various synchronization techniques that helps us to manage
web applications. Which technique is applied only to webpages and browsers ?
ANS- Sync.
73. Consider a test String to be “order 200 completed”. which of the below
regular expression(s) will not match the given string?
ANS- order [0-9]+Completed
74. Henry had bined a project team. The team is using the BDD framework for
effective testing . Henry must understand keywords in Cucumber. Which gherkin
keyword indicates the pre-conditions / pre- requests steps in a feature file?
ANS- Given
75. Samantha has created a feature file in a project. she wants to configure the
Test Runner class using feature files/glue tags. Which of the following is the
correct set annotations to be used in the test runner?
ANS- @Runwith ; @Cucumber options.
76. Write in corect order
a. Triggers the build
b. Open reports to see the latest test results
c. Jenkins checks the Git Repository periodically to detect changes in build
project.
d. The build is successful / Failure.
e. Testers/ Developers commits source code changes to the shared Git
Repository
ANS-
77. Which of the following elements of Jmeter executes after the sampler
requests are executed in the test plan?
ANS- Post Processors.
78. Sarah is coding in a test scenario, in which she must fetch the booking id as a
text message from the span element
The web element looks like <Space> order completed with Booking
id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans- get Text();
79. James is automating a script and using CSS Selector as a locator. What are the
primitive types for designing the CSS selector?
ANS- .id, . Attribute, .innerText()
80. Which expression is used in CSS Selectors to match the attribute value with a
prefix?
ANS- ^=
81. Sean is coding an automation Script to launch the web application on a
browser window. Which of the following listed option(s) will help Sean to launch
the designed application on a web browser in Selenium?
ANS- .driver.get(“URL”) , .driver.navigate().to(“URL”)
82. Which date format is used to customize the system date to Year-Month-day
format?
For example 2019-04-24
ANS- new Simple Date Format(“YYYY-MM-dd”).
83. Select the correct order of execution of annotations, as per the life cycle of
Test NG which can be applied for test methods along with before XXXX-after
XXXX methods
ANS- Before test, Before class, Before method , test , After method, After class ,
After test .
84. Sam has created a Test NG project with below specified Test class
Public class Test class
{
@Test (Priority = 1)
Public void method 1() (-----)
@Test
Public void method 3() (-----)
@Test
Public void method 2() (-----)
@Test
Public void method 4() (-----) }
ANS- Method 2 - Method - 3 Method - 1 Method – 4
85. What are the various status options available in the Extent Reports library?
ANS- PASS , FAIL , SKIP , FATAL , ERROR , Warning , INFO
86. Sarah wants to perform a few scenarios using a do-while loop in UFT. She has
written the below code. Predict the number of times the loop will be executed ?
i=10
Do while (i<5)
msg box i
i=i+1
loop
ANS- Does not execution in the condition
87. Predict the Output for the below code snippet
Dim Str
Str = Str Reverse (mid (“Unified functional testing”,4,9))
Print Str
ANS- couf deif
88. Predict the Output for the below code snippet
Dim a,b
a= ”vbscript”
b= Left (Right (a,3) 2)
print
ANS- ip
89. Which of the following reports can be generated using plugins from
Cucumber options?
ANS- All of the above
90. James wants to design a scenario in a feature file, in which the complete
scenario runs multiple times for different data sets . Suggest James with a Gherkin
keyword to activate drop-down testing in the feature file ?
ANS- Use Scenario outline.
91. Jack had created the feature file with the below mentioned scenarios as
shown below:
@smoke
Scenario: This is the first scenario
@crash
Scenario: This is the second scenario
In test runner class, Jack mentioned @cucumberoptions (tags=(“smoke”)) predict
which scenario is/are gets executed
Ans: Execute first scenario
92.Which of the following is the logical container that contains all the elements
which drive the performance test?
Ans: Load Testing
93. Which of the following assertions is not applied in Jmeter?
Ans: web
94. Which of the following is an invalid configuration element in Jmeter?
Ans: FTP cookie manager
95. Which of the following input documents is used to create test scenarios and
conditions?
Ans: Use cases
96. Which of the following Java classes are from the extent API library?
Ans: ExtentReports, Status
97. Sean is coding to automate a web application using the webDriver library. He
had set the implicit wait of 30 seconds. However, the webelement was found
within 10s . Will the webdriver wait for further 20 seconds before executing the
next line of code?
Ans: Yes, webDriver will wait 20 more seconds.
98. Which method is used in the Apache POI library to fetch the cell value from a
row? Identify the correct format of invoking the library functions to get the value
from the cell
Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()
99. Sarah is coding to automate script to switch to multiple windows in a web
application. She has to store all the window instances in a java variable which is
retrived by driver.getWindowHandles(). Suggest sarah with a compatable return
type to store the window references.
Ans: list <string>
100. Mary is struggling to find a suitable simple wild cart character that matches
any single character . Please suggest to her which of the following characters
many be relevant to her search
Ans: .(wildcard character)
101. Which Gherken keyword is used to create/execute as a common given step
for all the scenarios in the feature table?
Ans; Background
102. sarah has her code in git local repository, but her team lead had pushed the
new changes into the remote repository, Which git command would you
recommend Sarah with new changes into her working copy?
Ans: put
103.
104. Which parameter types in cucumber expressions matches text without white
space?
Ans:{ word}
105. Sean is automating a test scenario in which he has to fetch the URL of the
webpage using webDriver API. Suggest a method fo Sean to get the link address
Ans: getCurrentURL()
106. Ans: No such element Exception
107. Sean is performing verification using assert class functions from TestNG.
Suggest him the correct method to verify the reference/address of the two
objects to be identical?
Ans: assertSame(object1,object2)
108. Sam is designing an automation test where test data is specified in an
external excel file. Which command will be helpful to get access to the 2nd sheet
of the excel file. Assume web is the writebook object
Ans: who.getSheetA1(1)
110. Which of the following is a listener in JMeter?
Ans: All the above (Assertion results, Monitor results, Aggregate report)
111. Sarah is coding to automate a scenario for the selection of the “from Cities”
drop down box on the flight booking application web page, which class is used?
Ans: Select Class
112. Which of the following elements of JMeter helps to validate whether on
application is returning on excepted response or not?
Ans: Assertion
113. Which controller in JMeter you organize the samples & other logic
controllers?
Ans: Simple
114.
Ans: Once Only
115.
Ans: WebElement element 01 = driver.findelement(By.id(“Searchbox”));
116.
Ans: Test Driven Development
117. Trigger all scenarios
Ans: Feature file
118. BDD Process
Ans: 2-3-1-4-5
119. Selenium Grid (Multiple Box)
120. standard
Standard, Text and Bitmap (Active Screen)
Knowledge checks:
(Agile & DevOps)
1. ________________ model in which a service provider makes
resources and infrastructure management available as
needed, and charges them for specific usage rather than
a flat rate.

Ans. Utility Computing

2. A _____________________ is created during the first half of


the Sprint planning meeting and a_________________ is
created during the second half of the Sprint planning
meeting?

Ans. Sprint Goal, Sprint Backlog

3. ______________________ is an on-demand self-provisioned


platform with user selected tools and cartridges of his
choice from myWizard DevOps marketplace.

Ans. myWizard DevOps platform

4. Who will be responsible for adding new items in Product


Backlog?

Ans. Product Owner

5. Who will be facilitating the team on the sprint processes?

Ans. Scrum Master

6. ___________ is a Time-boxed iteration during which a


potentially releasable product Increment is created.
Ans. Sprint

7._______________ tool is used as build and release


orchestration tool.

Ans. Jenkins

8.The development practice that requires developers to


integrate code into a shared repository several times a day or
atleast once daily is _____________.

Ans. Continuous Integration

9. _________________ meeting with the Project Team reflects on


the experiences of the Sprint.

Ans. Sprint Retrospective

10. __________ activity during CI/CD pipeline is to ensure the


quality of the code written. It helps the developer to write the
clean code by notifying the developer with the possible Bugs,
Vulnerabilities and Maintainability Defects.

Ans. Code Review

11. What does the Sprint Backlog consist of?

Ans. Selected Backlog Items and Tasks

12. As per Accenture Definition, DevOps is defined as


_________________.

Ans. Engineering Discipline


(Manual Testing & ALM --KC-1)
1. kevin has been given a responsibility to create a Test
Strategy document.
He is slightly confused between the Test Strategy and Test
Plan.

Choose the most appropriate option(s)

Ans.

a)Test Strategy is a high-level document

which describes the way testing is carried out

b) Test Strategy is input to Test Plan

2. What is the frequency of performing regression testing in a project?

Ans. Whenever there is a change in the application

3. Kevin is trying to understand Requirement Traceability.

He seems to be confused between horizontal and vertical traceability.

Ans.a) Horizontal Traceability shows the relationship of related work

products to avoid potential conflicts

b) Vertical Traceability traces the sources of requirements typically from

requirements to design, to source code and to test cases


4. V model emphasizes on verification and validation. Match these 2 terms w

1. Ensuring that the software has been built correctly


2. Ensuring that the software meets the requirements

Ans. 1 - Verification, 2 – Validation

5. Which of the following SDLC models involve the division of tasks into time
release?

Ans. Agile

6. Use the equivalence partitioning technique and identify the values which

belong to the same class.


Scenario:

The AC is adjusted to turn off when the temperature falls below 18 and turns on when

the temperature is more than 21.

Ans. 22,23,24

(Manual Testing & ALM --KC-2)


1.James has executed the test cases on the Login User story
and raised a defect. The developer mentioned that this defect
is insignificant for the current release and can be moved to
the next release. What will be the status of the defect?

Ans. Deferred
2. Which steps are involved in the Test Plan stage, when
working with ALM?

1. Define Parameters
2. Requirements and Test Coverage
3. Create a Test folder
4. Specify the requirements
5. Define Test Types
6. Create Automated Tests

Ans. 1,2,3,5,6

3. James has created and logged all the requirements in the


Requirements module of ALM.
Samantha has to create tests based on the logged
requirements.

Can she create the tests directly from the logged


requirements?

Ans.YES

4. James has been given a responsibility to map the logged


defects. Which of the following components can be mapped
with the defects?

1. Requirements
2. Tests
3. Release Cycle

Ans. 1,2,3

5. James wants to export the data from excel into the ALM.
Which types of data can be imported into ALM from excel?

Choose the most appropriate option(s).


Ans.--Requirements

---Defects

---Test Cases

6. Sam is creating Releases and Cycles in the ALM project.


Which of the following statements is incorrect about releases
and cycles?

Ans.
The date range of a release must be within the date range of
the cycle to which the release belongs
TESTING QUESTION BANK

1) Which of the following option specifies the correct order during Test Execution :

a) Test Plan
b) Test Completion
c) Defect Management
d) Test Recording
e) Test Execution
f) Retest
g) Test Preparation

ANS : a,g,d,e,c,b,f.

2) Which of the following is the best source of input for User Acceptance Testing?

a) Program Specification.
b) User Requirement.
c) Client Requirement.
d) Expected Result.

3) Which of the following are testing criteria for Transition Assembly Tested
applications?

ANS: a) Code compliance with standard.


b) The Product/Performance test environments are fully installed and configured.

4) An Automated testing framework is a set of Automated guidelines which help in :

a) Less Test Structuring.

b) Extent of Reusability.

5) Choose the correct flow of Test Execution :


a) Orient team and review execution model.
b) Execute scripts and regression tests.
c) Access reports and manage execution results.
d) Perform setup for next execution day/cycle.
e) Confirm final metrics of exit criteria.
f) Close out test execution.
g) Sign off test execution results.

ANS: e,a,d,b,c,g,f. (COPEASC)

6) Capacity Planning is front end of Capacity Management.


Performed for long term (Annually, Monthly, Quarterly).
ANSWER:
Diagram Flow:

a) Estimate Services and Components.


b) Define Solution approaches.
c) Model Capacity.
d) Select solution.
e) Define buffer and replenish level.
f) Define monitoring parameters and threshold limits.
g) Evaluate the ability to meet SLAs.
h) Identify and implement actions to resolve SLA (Service Level Agreement) gaps.
i) Notify demand management of any constraint.
j) Document the Capacity Plan.
k) Obtain Stakeholder Signoff.

7) A software developed with no defects is a 100% Defect Free Software.

ANS: FALSE.

8) Applied Statistics process :

ANS:

a) Define Parameters and Values.


b) Prepare and generate Test scripts.
c) Analyse and adjust coverage.
d) Confirm expected results and scripts.
e) Review and Signoff
f) Update Test execution plan.
9) Benefits of Orthogonal Array Testing technique.

ANS: a) Increases overall productivity.

b) Analysis of results takes less time due to low number of Test Conditions.

c) Lower Implementation time.

d) Less execution time.

e) 95% of the code.

Name of the Orthogonal Array follows the pattern LRuns(LevelsFactors).

10) Automation Framework comes under which stage?

ANS: Design Stage.

11) Why not TDD?


• Difficult to follow Functional Tests.
• Design impacts.
• False sense of security.
• Additional Complexity.
• Difficult to create original tests.
• Increases project costs.
• Continuous Tweaking.
• Management support is essential.

12) In which phase of Agile, system is transitioned to production and Final & Acceptance
tests are performed?

A) Production
B) Initiation
C) End-Game
D) Construction

13) Common challenges in test design:

ANS:

a) Too many scripts per plan.


b) Quality
c) Efficiency
d) Lack of coverage measurements

14) Why Applied Statistics is used in Test design for Test Planning?
a) Efficiency
b) Quality
c) Precise coverage measurements.

15) Benefits of using Applied Statistics.


a) Addresses the common challenges in test design.
b) Provides a structured approach in test design.
c) Provides actionable inputs to determine the amount of testing required.

16) Why TDD.


a) Small Steps.
b) More productive.
c) Easier to find and fix the defects.
d) Constant Feedback.
e) Looser coupling.
f) More focused classes.
g) Forces Critical Analysis and Design.
h) Reducing debugging time.
i) Cleaner interfaces.

17) Performance testing is likely to cover different types of Performance Tests such as :
a) Load Test
b) Stress Test
c) Stability or Endurance test
d) Throughput
e) Baseline
f) Failover
g) Regression
h) Batch

It is also called as Test scope


Performance Approach document:

a) Test Scope
b) Test Metrics
c) Test Tools
d) Key dates and Deliverables.

18) What depends upon Business Requirements linked with Error handling?
a) Positive Testing
b) Negative Testing
c) External
d) Error Guessing

19) Identify techniques used for Regression Testing from list below :
a) Regression test selection
b) Modular Test Selection
c) Retest all
d) Prioritization of Test cases.
e) Dataflow Technique.

20) Exploratory Testing is NOT a Software Testing Technique.

ANS: TRUE

21) What are the 4 Levels of Coverage in White Box Testing?


a) Statement
b) Branch
c) Condition
d) Path

22) What testing stages in the V-Model use White Box Testing?
a) Unit Testing
b) Assembly Testing

Whereas in Black Box Testing, all stages except Unit Testing.


23) White Box Testing is required for :
a) Finding Typological errors and Syntax checking
b) Finding design errors.
c) Finding the logical errors creeping into the work.

24) Static Testing (Dry Run Testing) types :


a) Walk through
b) Technical Review
c) Inspection

25) Which of the following is a traceability that identifies the relationship of related work
products for the purpose of avoiding Potential conflicts?
a) Vertical Traceability.
b) Horizontal Traceability
c) Bi-Directional Traceability.

• Vertical → High level BR →High level Design → Detailed → Code.


• Bi-Directional →Work Product.

26) What are the benefits of SDLC?


a) Guides the resources on the SD
b) Form a common understanding
c) Avoid constances
d) Avoid the old code and fix process
e) Help to meet conflict demands

27) How to select an Automation tool?


a) Problem Management
b) Test execution scripts
c) Testing work products

28) What are the requirements in Application Test requirements?


a) Understand the business process that the application needs to support.
29) What are the Benefits of MB7?
a) Improves test quality
b) Help detect requirement defects
c) Facilitates evolution of Requirements
d) Reduces testing cost and time

30) Best source of input for UAT


a) User Requirement

31) Developing tests based on program and programmer’s weak points is known as :

ANS: Risk Based Testing

32) Disadvantages of Agile


33) What should be considered while developing a Testing Methodology
34) Imagine A,B,C,D four models → Retesting
35) Lowers the cost of Testing

ANS: V-Model

36) Test approach document contains which of the following sections:

ANS: All of the above.

37) Breaking values into chunks

ANS: Equivalence Partitioning

38) Project Management Diagram

ANS: Plan and Mobilize

39) Working Model

ANS: Prototype

40) Benefits of Testing Environment


a) Testing upgrades & new features
b) Training users on new systems before roll out
c) Testing new forms, new scripts and other enhancements before, not during
deployment.
d) Potential backup system for production system.

41) Interactions and integrations are a major source of defects.

ANS: TRUE

42) Orthogonal Array Technique:

The fault model that supports this technique’s usefulness is,

• Most Defective interaction are not complex but simple interactions


• There are many combinations of objects, components, options or setting and some
can be missed.
• Random selection of values lead to inefficient tests.

43) Hurricane and Typhoon are which types of testing?

ANS: External Testing

44)

44) Data Identification, Conditioning & Population is given in which part of Test Data
Environment?

ANS: Define Test Data Management Approach.

Test Data Management Approach includes :


• Introduction
• Guiding Principles
• TDM Approach
• TDM Tools
• Test Environment Requirements
• Test data upload/Refresh Approach
• Test tool requirements.

45) What are the elements of poorly managed Test Environment?


a) Unskilled or Temporary resources
b) Following poorly defined infrastructure
c) Using old version of software
d) Using Non-Licenced software
e) Lack of Management or Ownership

46)

47) Under what ways can we cover the cost of testing without reducing its
effectiveness?

a) Stage Containment
b) V Concept of testing
c) Testing each test phase, not just the program itself.
d) All of the above

48) Which SDLC Model reflects a Working model that is fully equivalent to the
component of the product?
ANS: Prototype Model

49) When is a Test Strategy typically created?

ANS:

• Solution Planning Phase.


• This deliverable may be embedded as a section within the overall Delivery
Strategy.

50) Plan Assembly Test is done in which test?

ANS: Analyse Test

51)

51) When do we prepare and finalize the Test Cycle Schedule (TCCS)?

ANS: In prepare Test Scripts and Data.

52) You must choose a tool NOT based on its popularity, but because it fits your Project
Requirements.

ANS: True

53) UAT is devised to answer the important question Does the system enable Users to
do their jobs.

ANS: True

54) What are the advantages of using Common Test Data across test stages:
a) Reduces the burden on developers to create their own data.
b) Simplifies Regression Testing
c) Reduced the time spent in Test Preparation Activities.
55)

56)

57) Automation Framework comes under which stage?


ANS: Design Stage

58) Performance Testing is likely to cover multiple types of Performance Test :

Load, Stress, Stability/Endurance, Throughput, Baseline, Failover, Regression, Batch.

They are also called “Test Scope”

Performance Approach Document :

• Test Scope
• Test Metrics
• Test Tools
• Key-dates and Deliverables.

59) What depends on Business Requirements linked with Error Handling?


a) Positive Testing
b) Negative Testing
c) External

60) Test Closure Memo contains :


a) Number of runs executed
b) Number of Defects identified including a list of all defects that are still open
c) Actions that are being taken to address Open defects
d) All of the above.

61) What is the Entry criteria for Transition Assembly Tested Application?
a) Product Test Team receive all assembled and tested components.
b) Application passed Assembly test
c) The product tested environments are fully installed and configured.
d) The Assembly test team tested all Assembled components.
e) Code complies with Standards.

62) The best source of input to find UAT.

ANS: User Requirement.


63) In what phase is Solution and Approach defined :

ANS: Project Planning / Solution planning?

64) Data items that the project will require in order to test the application is called :
a) Data Mining
b) Data Acquisition
c) Stubs
d) Data Identification

65) One user… Multiple Iterations

ANS: Baseline

66) Sex on the beach.

67) Data Acquisition → Preparation Phase

68) Downloads and Uploads using production data :


a) Mock
b) Mining
c) Extract
d) None of the above

69) Defects with steps open and actions to be taken :

ANS: Test Closure Memo.

70) Discrete → Plan and Support.


71) Project Manager to Tester, which testing?

ANS: Smoke Testing

72) Regression Test Techniques

ANS: Retest etc.

73) Poorly Managed test Environment is due to:

ANS: Unskilled staff.

74) Model Based


a) Use Case
b) State Transition
c) Boundary
d) Decision Tables

75) Automated Testing Framework: They are set of Automation guidelines which help in
:
a) Amount of Reusability
b) List test structuring
c) More time spent on training for usage of tool
d) Involvement of data wherever appropriate

76) Which of the following are Testing criteria for Transition Assembly Tested
Application:
a) Code compliance with standards
b) Product/Performance test environment is fully installed

77) Login with Valid Credentials → Business Requirements.

78) Equivalence Partitioning is done in the → Analysis Phase.

79) Benefits of Model Based Testing:


a) Improves test quality
b) Helps detect requirement defects
c) Facilitates evolution of requirement
d) Reduces testing cost and time in Maintenance Phases.

80)

81) Content of Query Log


a) Log No. of errors
b) Log Defects
c) Logged No. of resources
d) Logged Key Issues.

82) Requirement Testability → Test Analysis.


Requirement Traceability → Test Implementation.
83) Which of the following types of Traceability identifies the origin of items:
ANS: Vertical Traceability

84) Which of the factors are monitored in the Interpretation phase of Exploratory
Testing:
a) Test Coverage
b) Risk
c) Test execution log
d) Issue, Queries
e) All of the above

85) In which phase are intention and approach defined:

ANS: Solution Planning Phase/Project Planning.

86) Data Items that the project will require in order to test the application is:

ANS: Data Identification.

87) Performance of an Application is ensured by:


a) Planning and Designing
b) Testing and Tuning
c) Modelling and Forecasting

88) SCM is related to People Management.

89) Advantages of common data test:


a) Improves testing productivity
b) Reduces the burden from the Developer to create their own data.
c) Simplifies Regression testing
d) Reduced time spent in preparation activities.

90) Weaknesses of V-Model:


a) No Risk Analysis
b) No iteration of phases
91) Weaknesses of Waterfall Model
92) Benefits of ALM

93) Planning is related to a Single Delivery Date in which model?

ANS: Waterfall Model.

94) A defective test is more dangerous than a defective product:

TRUE

95) Who can perform UAT?

ANS: Users and Super-Users

96) Which two phases are NOT present in Discrete Testing but are present in Embedded
Testing?

ANS: Plan and Support.

97) Need for TDD:


a) More focussed classes
b) Process Critical analysis and Design

98) SCM is related to :


a) Quality Management
b) People Management
c) Change

99) Benefits of ALM


100) Which phase of testing ensures Testability Test Implementation:
ANS: Analysis
101)

102) Login with Valid Credentials → Business requirements

103) Automated using framework, are set of Automation guidelines which help in :

a) Test Structuring
b) Extent of Reusability
c) More time spent on training for usage of tool
d) Involvement of data wherever appropriate

NILESH’S QUESTION BANK

1) Which of the following are entry criteria as for Transition Assembly Tested
Application?
a) Product Test Team received all assembled & tested components.
b) Code compliance with standard.
c) Product Oblique Performance test environment is fully installed configured.
d) Assembly team tested all assembled components.

2) Equivalence Partitioning is planned in which stage?

ANS: Analyse stage.

3) Benefits of Model Based Testing


a) Improves test quality.
b) Helps detect requirement defects.
c) Facilitates evolution of requirements.
d) Reduces testing cost and time in Maintenance phases.
4)

5) Regression Testing techniques:


a) Retest- All Technique
b) Regression Test Selection Technique
c) Dataflow Technique
d) Test Case Prioritization Technique.

6) Poorly Managed test environment :


a) Non-licensed software.
b) Unskilled or temporary resources on staff.
c) Following poorly defined infrastructure.
d) Using old version of software.
e) Lack of management or ownership.

7) Model Based Test techniques


a) State
b) Use-Case
c) Decision
d) Boundary

8) In Automated Testing Framework, there are set of Automation guidelines which


helps in:
a) Less test structuring.
b) Extent of Reusability.
c) More time spent on training for using of tool.
d) Involvement of data wherever appropriate.

9) Query Log :
a) Log
b) Number of errors.
c) Log defects.
d) Log number of resources
e) Log user Questions & Issues.

10) Valid Credentials to Login → Business Requirement.

11) What defined what testing technique we should use?


a) How confident the tester is to use that particular technique.
b) Objective of testing
c) Whether there is a tool to support the technique.
d) How appropriate is the technique to test that particular application.

12) In which phase are solution and approach defined?

ANS: Project Planning approach.

13) Data item that the project will require in order to test the application is called:
a) Data Mining
b) Data Acquisition
c) Data stub
d) Data Identification

14) What is Baselining?

ANS: One user… Multiple iterations.

15) Developing test based on program’s or programmer’s weak points is:


a) Error Guessing
b) Risk Based
c) Negative Testing
d) Exceptional Handling
16) Need for TDD:
a) More focus classes.
b) Follows Critical Analysis & Design.

17) SCM (Supply Change Management) is related with:


a) Quality Management.
b) Change Management.
c) People Management.
d) Risk Management.

18) Advantage of Common Test Data:


a) Reduces the burden on developers to create their own data.
b) Simplifies Regression Testing
c) Reduced the time spent in Test Preparation Activities.

19) Planning is oriented to a single delivery date → Waterfall Model.

20) Benefits of ALM:


a) Uses single dashboard to plan and track projects and releases for predictability.
b) Manage and create traceability between requirements, tests, defects, code
changes and build management system tasks.
c) Unify functional, performance, security, and quality management.
d) Increase visibility with milestones and KPIs to better align business and IT.
e) Allow Testing Teams to provision and deploy a test lab themselves in a hybrid
delivery environment.

21) Weaknesses of V-Model:


a) No Risk Analysis.
b) No iteration of phases.
c) Difficult task tracing system.
d) Rigorous testing effort.
22) Which of the phase of testing ensures Testability?
a) Test Implementation
b) Analysis
c) Design
d) All of the above.

23) Which of the phase of testing ensures Traceability?


ANS: Test Implementation.

24) THIS ensures “Design and build the Right system”, while THIS ensures that “The
system works as designed”

ANS: Verification & Validation.

25) Which of the following factors all monitored in the Interpretation phase of
Exploratory testing?
a) Test Coverage
b) Risk
c) Test execution log
d) Issue, Queries
e) All of the above

26) Data Acquisition falls in which phase of Test Data Management Approach?
a) Plan Phase
b) Preparation Phase
c) Execution phase
d) All of the above

27) Performance Engineering of an application is ensured by:


a) Planning & Design
b) Testing and Tuning
c) Modelling & Forecasting
d) All of the above.

28) Discreet Testing has what phases in it?

ANS: Plan & Support.


Non HSFP Test Questions

1) If customer requirements are incomprehensible, then which testing is used?


a) Waterfall Model
b) RAD
c) Prototype Model
d) Agile Model
e) V-Model.

2) What induce risks?


a) New Technology
b) New automation
c) …….
d) All of the above.

3) Which option is right for Peer Review?

ANS: It is done by….

4) When all main functionality are checked & critical bugs are fixed, the testing is
stopped.

ANS: True

5) What is the Entry Criteria for Transition Assembly Tested Application?


a) Product Test Team receives all assembled and tested components.
b) Application passed Assembly test
c) The product tested environments are fully installed and configured.
d) The Assembly test team tested all Assembled components.
e) Code complies with Standards.

6) Regression Test is also used to test the defects rising due to change in the Test
Environment.

ANS: True
7) Waterfall Model Drawbacks:

ANS: Requirements are needed at the beginning itself.

8) Incremental Waterfall Model drawbacks:


a) Requires good planning, design and careful partitioning of the product.
b) Requires well-defined interfaces between the increments, specially during the
simultaneous development of interfaces.
c) Requires early definition of a fully functional product to define the increments.

9) Retesting is one answer.

10) What steps are in Test Approach?


a) Stage Containment
b) Test overview.
c) ….
d) All of the above.

11) In which phase is Test Approach made?

ANS: Test Analysis.

12) A,B and C are modules of a project. Defect is found in C and it gets fixed. What
kind of testing should one perform?

ANS: Retest.

13) Post release check is done by whome?

ANS: Client.

14) Agile Method Weaknesses:


a) Constant client interaction means added time pressure on all stakeholders.
b) Flexibility to continuous change requests is needed to ensure the delivery of the
right product.

Advantages of Agile Method:

a) Possible to make changes in the project at any time to comply with the
requirements.
b) The incremental testing approach helps minimize risks.
1) Which of the following field/column for requirements in excel format is used
to map the requirements folder in ALM?
Ans: Path
2) Which of the following best defines ALM as an integrated repository?
Ans: Link between requirements with releases & cycles
Link between defects with releases & cycles
3) By default, what does application life cycle management (ALM) assign when a
new defect is created?
Ans: A unique defect IO
4) Which of the following sections allows you to view coverage by cycle?
Ans: Requirement coverage
5) How many defects can be associated with a requirement?
Ans: Multiple defects
6) Which of the following elements of JMeter determines the order in which the
requests have to get processed?
Ans: Logic controllers
7) Which one of the following is not a controller in JMeter?
Ans: Condition controller
8) Which of the following represents a process where samplers are executes with
multiple sets of user input data?
Ans: Parameterization
9) Which of the following statements is true about pre-processors?
Ans: Pre-processors execute before the sampler requests are executed in the
test plan (only a)
10) Which assertion is used to test whether the API server response was
received within a given amount of time or not?
Ans: Duration
11) Which of the following defect states is marked by the developer when he is
analyzing the defect description?
Ans: Open
12) Which of the following test defines “Verification” & “Validation”?
Ans: Verification: Lalitha is reviewing the test script conduct by raju
Validation: Raju is updating the requirements traceability matrix for the
requirement coverage
13) John has raised a high priority defect in the morning and is waiting for the
fix to be completed. At 5pm he got a fix from the developer. Now he also need
to check the fix implemented does not introduce any new defects on the
system. What type of testing is he performing?
Ans: Regression testing
14) Consider the below html code snippet
Email:<label id=”Email” class=”Style1” name=”input”> Which of the best locator
to identify the Email web element?
Ans: By id (“Email”)
15) Which method in the web driver library is used to get the attribute value of
a web element?
Ans: getAttribute(“AttributeName”)
16) Sarah is coding an automation script, where she has to validate the price of
the holiday package based on the drag and drop of island only from the menu.
The price is fetched from the server and displays without reloading the
webpage. Which web driver library class has the pre defined conditions for
handling dynamic waits in selenium webdriver library?
Ans: WebDriver wait
17) Which of the following statement(s) is/are about the extent reports?
Ans: All of the above : Extent reports are customisable HTML Reports
Extent reports can be integrated with Selenium webdriver using TestNG/Junit
test frameworks
Extent reports can add events, screenshots, tags, devices, and any other related
information about test environment
18) Sean is coding an automation script for emulating user actions by mouse
using the webdriver library. Assist sean to choose the correct syntax to create
an object for actions class from the following
Ans: Actions act=new Actions(driver instance)
19) Which Java interface is used to capture screenshot of a webpage using
webdriver API?
Ans: TakeScreenshot
20) Sean wants to switch to multiple frames on a webpage when an operation
is completed on a frame an test flow needs to move to another frame, calling
the driver.SwitchTo().frame() immediately will not move the context to the
next frame which is at the same level in DCM. The test will first need to switch
to the main document and then activate the desired frame which method is
used to switch back to the main document from the frame?
Ans: driver.SwithTo().defaultContent()
21) Samatha wants to write an automation script that determines the count of
hobbies check boxes. These check boxes have a name attribute as ”hobbies”.
Assist Samatha by choosing the correct command
Ans: Driver.dindElements.By.name(“hobbies”).size()
22) Samatha is automating a test scenario. This scenario involves a pop up of a
confirmation window. She wants to interact with the pop up window and
decline the confirmation pop-up window that shows a message “Do you want
to cancel the payment?”. Choose correct code
Ans: Driver.SwithchTo().alert().dismiss()
23) Sarah is coding an automation script to switch to frame in a web
application. Help her to switch a particular frame on a web page using the
window library. She wants to interact with the pop up window and decline the
confirmation pop up window show a message “Do you want to cancel the
payment?”. Assist Samantha to interact with
Ans: Driver.SwitchTo().frame(int index)
Driver.SwitchTo().frame(String name or id)
24) Which of the following is correct about generating an XML Suite file is
TestNG for Test Suite execution?
Ans: Test NG XML suite file
Can be generated at the time of creating TestNG class
TestNG XML suite file can be generated using convert to TestNG option in Eclipse
after a java code
25) Sarah is designing an automation script using descriptive programming in
UFT for a web based Flight GUI application. Assist sarah with a tool to identify
the property of the test scripts
Ans: Object Spy
26) Sarah wants to slice a text to perform a test on a message. She used the
split function in VB Scripting to chop the strings. Predict the output for the
below code
Arr=Split(“this ”is ”VB”Scripting”,” ‘ ”)
Msgbox arr(2)
Ans: VB
27) In UFT which type of variable can be accessed by all actions, function
libraries and tests that have a global scope?
Ans: Environment variable
28) Which of the following types of applications can be tested using UFT?
Ans: Web app, SOAP and REST APIs
29) A retail application generates an order id on successful order placing. Order
id follows the pattern. Starts with TXN, followed by 3 digit number and ends
with any capital alphabet
Ans: ^TXNd[3]{A-Z}$
30) Jack wants to apply checkpoint in an existing test script. He decides to use
keyword view to insert checkpoint. Which all checkpoints can be inserted using
keyword view?
Ans: Only standard
31) What type of action can we create if others want to reuse that action, but
at the same time, it should be non-editable for others?
Ans: Reusable action
32) Chetan wants to add some additional information like the environment for
test execution, which method can be used to add the information in the test
method?
Ans: Add Run Information
33) Predict the output for the below code snippet Msgbox (“UFT” &
String(3,”T”))
Ans: 6
34) Many wants to add the HTML report snippet to have better clarity in the
test results. Which Reporter object method can be added to achieve the task?
Ans: ReportHTMLEvent
35) There are various elements in a SOAP message. Which element of the SOAP
message shows error message and status information?
Ans: Fault
36) Lisa is a new joiner to cucumber project assigned to execute the scenarios
marked as both OAT and UAT tags. Which of the following will assist Lisa to
execute the desired Scenario using tags from Cucumber option?
Ans: @CucumberOptions(tags=(“@OAT”,”@UAT”))
37) Henry wants to write some comments in the feature file. Which character
command is used to define comments in the feature file?
Ans: #
38) Kevin is creating a feature file with multiple scenarios. He wants to apply
multiple tags to a scenario. Which of the following best requirements the
technique to apply multiple tag names?
Ans: @Tag1,@Tag2
39) Which statements are true about feature file?
Ans: only 1, 2 & 3 : A feature file contains multiple scenarios
Feature Gherkin keyword is always written as first high level keyword in a feature
file
There can be multiple feature file in a project
40) No question
@when(“Kevin enters quantity as{int}item(3)”)
@Then(“Shopping cart icon shows {int}”)
41) Which of the following is not a valid element in the JMeter test plan?
Ans: Annotation
42) Which of the following is past processor in JMeter ?
Ans: Regular expression Evaluator
43) Which of the following parameters can be configured using a thread group?
Ans: Ramp-up period
Loop count
44) Which among the following is an invalid controller in JMeter?
Ans: State controller
45) Which of the following fields in the defect log helps the tester to prioritize
and fix the defect?
Ans: Severity
46) Sean is coding an automation script to test a web application. He has to
store the largest link in a java variable using a driver find element() method.
Suggest Sean with a compatible return type to store the logout test object?
Ans: WebElement
47) James want to automate the selection of ID proofs drop down box in the
web application . He has to verify the drop down box has a selection of more
than one option. Which of the following method is suggested to JMeter?
Ans: Ismultiple()
48) When verification fails in TestNG. What forces the test to stop execution
and mark as fail?
Ans: Assertion Fail
49) Kavin wants to generate extensive report for the test automation project.
He decides to use Extent reports library. Which class in this library is used to
create labels, code blocks and labels in the report?
Ans: Markup Helper
50) Sean configured this project for the test Suite execution using TestNG. He
wants to perform parallel execution using TestNG. Which attribute represents
the parallel execution of the test cases?
Ans: Parallel=”tests”
51. Kevin is using CSS selector as a locator strategy for the following element <h1
id =”msg1” name=”success”>Registration completed</h1>. He must identify the
element efficiently.
Ans: .By CSS Selector(“h1[id=’msg01’]”)
.By CSS Selector(“h1[id=’msg01’][name=’success’]”)
52. There is an element on the webpages when inspected on the browser it looks
like <div call=”errorMsg”>Error Message</div>. James wants to use selenium
locations to identify the element. Choose the correct set of commands to locate
the elements efficiently.
Ans: By CSS Selector(“div.errorMsg”)
53. Sarah wants to automate the selection of only one option from a dropdown
box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.
Ans: Select By Index()
54. Identify the valid statement from the below given options.
Ans: Browser(name i=Demowebshop).page(page i=”.*”).WebEdit(“Emailiq”) Set
Prince
55. Neha is an automation tester working for TestMe project. She wants to log
some information in the UFT tet result pane. Which reporter object method is
more relevant in the situation?
Ans: MicDone
56. UFT supports various debugging techniques that help us in finding the issues
in the automation script. Which technique allows us to change the value of local
variables at runtime to understand the behaviour?
Ans: Console
57. Which of the following statements regarding actions in UFT is incorrect?
Ans: In actions, parameters are passed by value and by
58. To execute a cucumber scenario, which file(s) are important and must be
created in the maven project?
Ans: .feature file, .step definition
59. Henry wants to generate JSON reports on the execution of Test Runner in
cucumber. Assert Henry with the right option to configure the JSON report
generation in @Cucumber options?
Ans: @Cucumber Options({plugin=pretty,”html:report.html”})
60. Henry has created a feature file with tagged scenarios. He wants to execute all
the scenarios excluding “SevereTag” scenarios. What command should he use in
cucumber options for TestRunner class?
Ans: tags=(“~@SevereTag”)
61. Which of the following will control the amount of time Jmeter will execute a
test plan?
Ans: Test duration
62. Which of the following types of applications can be tested using Jmeter?
Ans: All of these
63. Jude is testing the login page of an application that contains 10 fields. He has
analyzed the data dictionary to derive the test data for the login page. He has
tested the application with all the combinations as it was a mandatory task
required for the project. However, he is sure that 0% of defects do not guarantee
the process success from the customers perspective, please predict the testing
principle that he is referring to in the above statement?
Ans: Exhausting testing not possible
64. Which of the following styles of writing test scenario ids will represent clearly
the referenced test scenario and help the testing team for tracking purposes?
Ans:
65. Sean is coding to automate a test scenario in which he has to click on a
dynamic link to navigate to the shopping cart page.
The web element looks like <a href=”icart.jsp? params”>cart[19]</a>. Which
locator is most recommended for the scan to identify the cart web element for all
test iterations ?
Ans: By.partial link Text()
66. Kevin wants to fetch all the data from the country dropdown menu and verify
the data against data from the database. He is looking into the library for a
method to fetch all the data from the country dropdown box .Which method
helps Kevin?
Ans: get options()
67. What does double forward slash // represent in xpath selenium locations?
Ans: relative xpath
68. Kevin is planning to write automation script for below scenario.
Given the user is on the payment page. He views a textbox with attribute values .
“Enter Mobile Number” written in the box. The user must enter the mobile
number in the box to proceed. Please choose the correct command to help Kevin
in automating the scenario. Assume the textbox element is already identified and
stored in mobile txt box variable .
Ans: mobileTxtBox.sendKeys(“xxxxxxxxxx”)
69. Henry is designing a script and using CSS selector as the locator strategy. He
must locate the element efficiently. The element inspected looks like <input
id=”new password” type=”password”>.
Ans: By CSS Selector(“input[id=password]”)
70. Kevin is designing an automation test, where test data is specified in an
external excel file. Which command will be helpful to write the data into a cell of
the excel file? Assume c1 is the cell object.
Ans: c1.SetCellValue(‘data’)
71. <html>
<body>
<ul class = ”cities” >
<li>Bangalore</li>
<li>Chennai</li>
<li>Mumbai</li>
<li>Bangalore</li>
<li>Pune</li>
</ul>
</body>
</html>
Sarah wants to locate the 3rd child element i.e. Hyderabad.Suggest the
appropriate locator strategy by Sarah.
ANS- CSS=”ul.cities.li inth of type(“Hyderabad”)”
72. UFT supports various synchronization techniques that helps us to manage
web applications. Which technique is applied only to webpages and browsers ?
ANS- Sync.
73. Consider a test String to be “order 200 completed”. which of the below
regular expression(s) will not match the given string?
ANS- order [0-9]+Completed
74. Henry had bined a project team. The team is using the BDD framework for
effective testing . Henry must understand keywords in Cucumber. Which gherkin
keyword indicates the pre-conditions / pre- requests steps in a feature file?
ANS- Given
75. Samantha has created a feature file in a project. she wants to configure the
Test Runner class using feature files/glue tags. Which of the following is the
correct set annotations to be used in the test runner?
ANS- @Runwith ; @Cucumber options.
76. Write in corect order
a. Triggers the build
b. Open reports to see the latest test results
c. Jenkins checks the Git Repository periodically to detect changes in build
project.
d. The build is successful / Failure.
e. Testers/ Developers commits source code changes to the shared Git
Repository
ANS-
77. Which of the following elements of Jmeter executes after the sampler
requests are executed in the test plan?
ANS- Post Processors.
78. Sarah is coding in a test scenario, in which she must fetch the booking id as a
text message from the span element
The web element looks like <Space> order completed with Booking
id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans- get Text();
79. James is automating a script and using CSS Selector as a locator. What are the
primitive types for designing the CSS selector?
ANS- .id, . Attribute, .innerText()
80. Which expression is used in CSS Selectors to match the attribute value with a
prefix?
ANS- ^=
81. Sean is coding an automation Script to launch the web application on a
browser window. Which of the following listed option(s) will help Sean to launch
the designed application on a web browser in Selenium?
ANS- .driver.get(“URL”) , .driver.navigate().to(“URL”)
82. Which date format is used to customize the system date to Year-Month-day
format?
For example 2019-04-24
ANS- new Simple Date Format(“YYYY-MM-dd”).
83. Select the correct order of execution of annotations, as per the life cycle of
Test NG which can be applied for test methods along with before XXXX-after
XXXX methods
ANS- Before test, Before class, Before method , test , After method, After class ,
After test .
84. Sam has created a Test NG project with below specified Test class
Public class Test class
{
@Test (Priority = 1)
Public void method 1() (-----)
@Test
Public void method 3() (-----)
@Test
Public void method 2() (-----)
@Test
Public void method 4() (-----) }
ANS- Method 2 - Method - 3 Method - 1 Method – 4
85. What are the various status options available in the Extent Reports library?
ANS- PASS , FAIL , SKIP , FATAL , ERROR , Warning , INFO
86. Sarah wants to perform a few scenarios using a do-while loop in UFT. She has
written the below code. Predict the number of times the loop will be executed ?
i=10
Do while (i<5)
msg box i
i=i+1
loop
ANS- Does not execution in the condition
87. Predict the Output for the below code snippet
Dim Str
Str = Str Reverse (mid (“Unified functional testing”,4,9))
Print Str
ANS- couf deif
88. Predict the Output for the below code snippet
Dim a,b
a= ”vbscript”
b= Left (Right (a,3) 2)
print
ANS- ip
89. Which of the following reports can be generated using plugins from
Cucumber options?
ANS- All of the above
90. James wants to design a scenario in a feature file, in which the complete
scenario runs multiple times for different data sets . Suggest James with a Gherkin
keyword to activate drop-down testing in the feature file ?
ANS- Use Scenario outline.
91. Jack had created the feature file with the below mentioned scenarios as
shown below:
@smoke
Scenario: This is the first scenario
@crash
Scenario: This is the second scenario
In test runner class, Jack mentioned @cucumberoptions (tags=(“smoke”)) predict
which scenario is/are gets executed
Ans: Execute first scenario
92.Which of the following is the logical container that contains all the elements
which drive the performance test?
Ans: Load Testing
93. Which of the following assertions is not applied in Jmeter?
Ans: web
94. Which of the following is an invalid configuration element in Jmeter?
Ans: FTP cookie manager
95. Which of the following input documents is used to create test scenarios and
conditions?
Ans: Use cases
96. Which of the following Java classes are from the extent API library?
Ans: ExtentReports, Status
97. Sean is coding to automate a web application using the webDriver library. He
had set the implicit wait of 30 seconds. However, the webelement was found
within 10s . Will the webdriver wait for further 20 seconds before executing the
next line of code?
Ans: Yes, webDriver will wait 20 more seconds.
98. Which method is used in the Apache POI library to fetch the cell value from a
row? Identify the correct format of invoking the library functions to get the value
from the cell
Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()
99. Sarah is coding to automate script to switch to multiple windows in a web
application. She has to store all the window instances in a java variable which is
retrived by driver.getWindowHandles(). Suggest sarah with a compatable return
type to store the window references.
Ans: list <string>
100. Mary is struggling to find a suitable simple wild cart character that matches
any single character . Please suggest to her which of the following characters
many be relevant to her search
Ans: .(wildcard character)
101. Which Gherken keyword is used to create/execute as a common given step
for all the scenarios in the feature table?
Ans; Background
102. sarah has her code in git local repository, but her team lead had pushed the
new changes into the remote repository, Which git command would you
recommend Sarah with new changes into her working copy?
Ans: put
103.
104. Which parameter types in cucumber expressions matches text without white
space?
Ans:{ word}
105. Sean is automating a test scenario in which he has to fetch the URL of the
webpage using webDriver API. Suggest a method fo Sean to get the link address
Ans: getCurrentURL()
106. Ans: No such element Exception
107. Sean is performing verification using assert class functions from TestNG.
Suggest him the correct method to verify the reference/address of the two
objects to be identical?
Ans: assertSame(object1,object2)
108. Sam is designing an automation test where test data is specified in an
external excel file. Which command will be helpful to get access to the 2nd sheet
of the excel file. Assume web is the writebook object
Ans: who.getSheetA1(1)
110. Which of the following is a listener in JMeter?
Ans: All the above (Assertion results, Monitor results, Aggregate report)
111. Sarah is coding to automate a scenario for the selection of the “from Cities”
drop down box on the flight booking application web page, which class is used?
Ans: Select Class
112. Which of the following elements of JMeter helps to validate whether on
application is returning on excepted response or not?
Ans: Assertion
113. Which controller in JMeter you organize the samples & other logic
controllers?
Ans: Simple
114.
Ans: Once Only
115.
Ans: WebElement element 01 = driver.findelement(By.id(“Searchbox”));
116.
Ans: Test Driven Development
117. Trigger all scenarios
Ans: Feature file
118. BDD Process
Ans: 2-3-1-4-5
119. Selenium Grid (Multiple Box)
120. standard
Standard, Text and Bitmap (Active Screen)
MANUAL TESTING AND ALM
1) Most popular and common examples of Agile methodology

A) Scrum , Feature Driven Development , Kanban

2 ) Verification: Lalitha is updating the test script after the review

Validation: Raju is updating the product requirements after BA’s confirmation

3) Which of the following technique is implemented when the requirement is


complex with multiple conditions and actions?

A) Decision Table

4) Which of the following input documents is used to create test scenarios


and conditions?

A) Use Cases

5) Which of the following styles of writing test scenario ids will represent
clearly the referenced test scenario and help the testing team for tracking
purposes?

A) UCA1.0.TS1.0 [Use Case ID.Test Scenario ID]

6) Suppose, we have an application page with a “role” text box.Users can


enter a role in the text box.The application will accept any one of the three
roles(Buyer,Seller,Broker).Which of the following options indicates a proper
collection of equivalence classes to design the test scenarios?

A) Buyer , Seller , Broker , Any other role , No role

7) Which of the following from ALM Test Plan section allows tester to map
requirements to tests from test plan?

A) Requirements Coverage
8) A DevOps engineer is planning to adopt continuous deployment in his
project for faster delivery of the product. Which tool can be used to
accomplish his goal?

A) Jenkins

9) Scrum is used for managing a product/application. One of the team


members, peter has the responsibility of delivering the overall project vision.
Which scrum role is played by peter?

A) Scrum Master

10) Sarah adopted Agile and DevOps methodologies in her project. What are
the benefits offered by Agile and DevOps practices?

A) Communication gap between teams , Faster Delivery , Failing Fast , Fast


Feedback

11) Which of the following options align with agile principles?

A) Welcome changing requirements , Requirements defined upfront , Ensure


customer satisfaction , Testing occurs at early phases of SDLC

12) Which of the following defect status is marked by the developer when he
is analyzing the defect description?

A) Open

13) Which type of testing is intended to validate the system’s usability and
operability and is performed by clients?

A) OAT

14) Which of the following testing activities determines if the QA team has
the necessary work products and is ready for the test execution phase?

A) Test Preparation Review


15) Same defect is logged by two testers.What is the status of the defect?

A) Duplicate

16) To successfully launch the ALM web application on the IE browser,


suggest recommended settings under internet options?

A) Add ALM URL to the trusted sites and ensure that Protected Mode is
checked for different zones

17) By default, what does Application Lifecycle Management (ALM) assign


when a new defect is created?

A) An unique defect ID

18) Which of the following defines ALM as an integrated repository?

A) Link between Requirements with Releases and Cycles

Link between Requirements with Tests

Link between Defects with Releases and Cycles

Link between Requirements with Defects

19) Which of the following fields/columns are mandatory to map the ALM
defects from the excel file for entity type as defects?

A) Summary, Detected By, Severity, Defected on Date

20) Characteristics offered by DevOps?

A) Stable and operable software , Consistent and optimized release process

21) Match the scrum roles

A) 1. Product Owner → Creates and maintains product backlog

2. Scrum Master → Conducts daily stand-up meetings

3. Scrum Team → Develops working software


22) Different techniques to perform white box testing

A) Statement Coverage

Path Coverage

Branch Coverage

Condition Coverage

23) Which section in ADM helps to access the deliverables?

A) Work Products

24) How many defects can be associated to a requirement?

A) Multiple Defects

25) Which is not a part of agile manifesto?

A) Comprehensive Documentation over working software

26) Which work product is continuously updated by the test team witht test
execution work allocation and status?

A) Requirement Traceability Matrix(RTM)

27) Sam has created a Test set and added tests into it. He wants to configure
the test run schedule in ALM Test Lab .Which test lab panel allows him to
configure the test run schedule?

A) Execution Flow

28) Which user group in ALM has full previliges to all modules in ALM?

A) TDAdmin

29) Sarah wants to create reusable tests, so that she can call the existing
tests from other tests. Appropriate option to achieve this is ALM is?

A) Mark as Template Tests


30) Which of the following fields in the Test Script template are filled during
the test preperation phase of STLC?

A) Expected Result , Test Condition ID

31) Who is responsible for prioritizing the product backlog?

A) Product Owner

32) Which of the following peer review technique indicates review


performed by individuals who are not directly involved in the application
development process?

A)

33) The development lead found the raised defect is not valid. What should
be the status of the defect?

A) Rejected

34) Which of the following options are specific to operations(Ops) in DevOps?

A) Deploy , Monitor

35) Which filed is mandatory while creating requirement in ALM?

A) Requirement Type

36) Which of the following fields provides traceability between the “Test
Script “ and “Test Scenarios and Conditions” Document?

A) Test Condition ID in test script

37) To check if the fix implemented is not introducing new defects on the
system, what type of testing is performed?

A) Regression Testing

38) Which of the following fields/columns are mandatory to map the ALM
test steps from the excel file for entity type as tests?

A) Path , Test Name


KNOWLEDGE CHECKS
Agile and DevOps:-
Manual Testing and ALM Knowledge Check 1
Manual Testing and ALM Knowledge Check 2
1) Which of the following field/column for requirements in excel format is used
to map the requirements folder in ALM?
Ans: Path
2) Which of the following best defines ALM as an integrated repository?
Ans: Link between requirements with releases & cycles
Link between defects with releases & cycles
3) By default, what does application life cycle management (ALM) assign when a
new defect is created?
Ans: A unique defect IO
4) Which of the following sections allows you to view coverage by cycle?
Ans: Requirement coverage
5) How many defects can be associated with a requirement?
Ans: Multiple defects
6) Which of the following elements of JMeter determines the order in which the
requests have to get processed?
Ans: Logic controllers
7) Which one of the following is not a controller in JMeter?
Ans: Condition controller
8) Which of the following represents a process where samplers are executes with
multiple sets of user input data?
Ans: Parameterization
9) Which of the following statements is true about pre-processors?
Ans: Pre-processors execute before the sampler requests are executed in the
test plan (only a)
10) Which assertion is used to test whether the API server response was
received within a given amount of time or not?
Ans: Duration
11) Which of the following defect states is marked by the developer when he is
analyzing the defect description?
Ans: Open
12) Which of the following test defines “Verification” & “Validation”?
Ans: Verification: Lalitha is reviewing the test script conduct by raju
Validation: Raju is updating the requirements traceability matrix for the
requirement coverage
13) John has raised a high priority defect in the morning and is waiting for the
fix to be completed. At 5pm he got a fix from the developer. Now he also need
to check the fix implemented does not introduce any new defects on the
system. What type of testing is he performing?
Ans: Regression testing
14) Consider the below html code snippet
Email:<label id=”Email” class=”Style1” name=”input”> Which of the best locator
to identify the Email web element?
Ans: By id (“Email”)
15) Which method in the web driver library is used to get the attribute value of
a web element?
Ans: getAttribute(“AttributeName”)
16) Sarah is coding an automation script, where she has to validate the price of
the holiday package based on the drag and drop of island only from the menu.
The price is fetched from the server and displays without reloading the
webpage. Which web driver library class has the pre defined conditions for
handling dynamic waits in selenium webdriver library?
Ans: WebDriver wait
17) Which of the following statement(s) is/are about the extent reports?
Ans: All of the above : Extent reports are customisable HTML Reports
Extent reports can be integrated with Selenium webdriver using TestNG/Junit
test frameworks
Extent reports can add events, screenshots, tags, devices, and any other related
information about test environment
18) Sean is coding an automation script for emulating user actions by mouse
using the webdriver library. Assist sean to choose the correct syntax to create
an object for actions class from the following
Ans: Actions act=new Actions(driver instance)
19) Which Java interface is used to capture screenshot of a webpage using
webdriver API?
Ans: TakeScreenshot
20) Sean wants to switch to multiple frames on a webpage when an operation
is completed on a frame an test flow needs to move to another frame, calling
the driver.SwitchTo().frame() immediately will not move the context to the
next frame which is at the same level in DCM. The test will first need to switch
to the main document and then activate the desired frame which method is
used to switch back to the main document from the frame?
Ans: driver.SwithTo().defaultContent()
21) Samatha wants to write an automation script that determines the count of
hobbies check boxes. These check boxes have a name attribute as ”hobbies”.
Assist Samatha by choosing the correct command
Ans: Driver.dindElements.By.name(“hobbies”).size()
22) Samatha is automating a test scenario. This scenario involves a pop up of a
confirmation window. She wants to interact with the pop up window and
decline the confirmation pop-up window that shows a message “Do you want
to cancel the payment?”. Choose correct code
Ans: Driver.SwithchTo().alert().dismiss()
23) Sarah is coding an automation script to switch to frame in a web
application. Help her to switch a particular frame on a web page using the
window library. She wants to interact with the pop up window and decline the
confirmation pop up window show a message “Do you want to cancel the
payment?”. Assist Samantha to interact with
Ans: Driver.SwitchTo().frame(int index)
Driver.SwitchTo().frame(String name or id)
24) Which of the following is correct about generating an XML Suite file is
TestNG for Test Suite execution?
Ans: Test NG XML suite file
Can be generated at the time of creating TestNG class
TestNG XML suite file can be generated using convert to TestNG option in Eclipse
after a java code
25) Sarah is designing an automation script using descriptive programming in
UFT for a web based Flight GUI application. Assist sarah with a tool to identify
the property of the test scripts
Ans: Object Spy
26) Sarah wants to slice a text to perform a test on a message. She used the
split function in VB Scripting to chop the strings. Predict the output for the
below code
Arr=Split(“this ”is ”VB”Scripting”,” ‘ ”)
Msgbox arr(2)
Ans: VB
27) In UFT which type of variable can be accessed by all actions, function
libraries and tests that have a global scope?
Ans: Environment variable
28) Which of the following types of applications can be tested using UFT?
Ans: Web app, SOAP and REST APIs
29) A retail application generates an order id on successful order placing. Order
id follows the pattern. Starts with TXN, followed by 3 digit number and ends
with any capital alphabet
Ans: ^TXNd[3]{A-Z}$
30) Jack wants to apply checkpoint in an existing test script. He decides to use
keyword view to insert checkpoint. Which all checkpoints can be inserted using
keyword view?
Ans: Only standard
31) What type of action can we create if others want to reuse that action, but
at the same time, it should be non-editable for others?
Ans: Reusable action
32) Chetan wants to add some additional information like the environment for
test execution, which method can be used to add the information in the test
method?
Ans: Add Run Information
33) Predict the output for the below code snippet Msgbox (“UFT” &
String(3,”T”))
Ans: 6
34) Many wants to add the HTML report snippet to have better clarity in the
test results. Which Reporter object method can be added to achieve the task?
Ans: ReportHTMLEvent
35) There are various elements in a SOAP message. Which element of the SOAP
message shows error message and status information?
Ans: Fault
36) Lisa is a new joiner to cucumber project assigned to execute the scenarios
marked as both OAT and UAT tags. Which of the following will assist Lisa to
execute the desired Scenario using tags from Cucumber option?
Ans: @CucumberOptions(tags=(“@OAT”,”@UAT”))
37) Henry wants to write some comments in the feature file. Which character
command is used to define comments in the feature file?
Ans: #
38) Kevin is creating a feature file with multiple scenarios. He wants to apply
multiple tags to a scenario. Which of the following best requirements the
technique to apply multiple tag names?
Ans: @Tag1,@Tag2
39) Which statements are true about feature file?
Ans: only 1, 2 & 3 : A feature file contains multiple scenarios
Feature Gherkin keyword is always written as first high level keyword in a feature
file
There can be multiple feature file in a project
40) No question
@when(“Kevin enters quantity as{int}item(3)”)
@Then(“Shopping cart icon shows {int}”)
41) Which of the following is not a valid element in the JMeter test plan?
Ans: Annotation
42) Which of the following is past processor in JMeter ?
Ans: Regular expression Evaluator
43) Which of the following parameters can be configured using a thread group?
Ans: Ramp-up period
Loop count
44) Which among the following is an invalid controller in JMeter?
Ans: State controller
45) Which of the following fields in the defect log helps the tester to prioritize
and fix the defect?
Ans: Severity
46) Sean is coding an automation script to test a web application. He has to
store the largest link in a java variable using a driver find element() method.
Suggest Sean with a compatible return type to store the logout test object?
Ans: WebElement
47) James want to automate the selection of ID proofs drop down box in the
web application . He has to verify the drop down box has a selection of more
than one option. Which of the following method is suggested to JMeter?
Ans: Ismultiple()
48) When verification fails in TestNG. What forces the test to stop execution
and mark as fail?
Ans: Assertion Fail
49) Kavin wants to generate extensive report for the test automation project.
He decides to use Extent reports library. Which class in this library is used to
create labels, code blocks and labels in the report?
Ans: Markup Helper
50) Sean configured this project for the test Suite execution using TestNG. He
wants to perform parallel execution using TestNG. Which attribute represents
the parallel execution of the test cases?
Ans: Parallel=”tests”
51. Kevin is using CSS selector as a locator strategy for the following element <h1
id =”msg1” name=”success”>Registration completed</h1>. He must identify the
element efficiently.
Ans: .By CSS Selector(“h1[id=’msg01’]”)
.By CSS Selector(“h1[id=’msg01’][name=’success’]”)
52. There is an element on the webpages when inspected on the browser it looks
like <div call=”errorMsg”>Error Message</div>. James wants to use selenium
locations to identify the element. Choose the correct set of commands to locate
the elements efficiently.
Ans: By CSS Selector(“div.errorMsg”)
53. Sarah wants to automate the selection of only one option from a dropdown
box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.
Ans: Select By Index()
54. Identify the valid statement from the below given options.
Ans: Browser(name i=Demowebshop).page(page i=”.*”).WebEdit(“Emailiq”) Set
Prince
55. Neha is an automation tester working for TestMe project. She wants to log
some information in the UFT tet result pane. Which reporter object method is
more relevant in the situation?
Ans: MicDone
56. UFT supports various debugging techniques that help us in finding the issues
in the automation script. Which technique allows us to change the value of local
variables at runtime to understand the behaviour?
Ans: Console
57. Which of the following statements regarding actions in UFT is incorrect?
Ans: In actions, parameters are passed by value and by
58. To execute a cucumber scenario, which file(s) are important and must be
created in the maven project?
Ans: .feature file, .step definition
59. Henry wants to generate JSON reports on the execution of Test Runner in
cucumber. Assert Henry with the right option to configure the JSON report
generation in @Cucumber options?
Ans: @Cucumber Options({plugin=pretty,”html:report.html”})
60. Henry has created a feature file with tagged scenarios. He wants to execute all
the scenarios excluding “SevereTag” scenarios. What command should he use in
cucumber options for TestRunner class?
Ans: tags=(“~@SevereTag”)
61. Which of the following will control the amount of time Jmeter will execute a
test plan?
Ans: Test duration
62. Which of the following types of applications can be tested using Jmeter?
Ans: All of these
63. Jude is testing the login page of an application that contains 10 fields. He has
analyzed the data dictionary to derive the test data for the login page. He has
tested the application with all the combinations as it was a mandatory task
required for the project. However, he is sure that 0% of defects do not guarantee
the process success from the customers perspective, please predict the testing
principle that he is referring to in the above statement?
Ans: Exhausting testing not possible
64. Which of the following styles of writing test scenario ids will represent clearly
the referenced test scenario and help the testing team for tracking purposes?
Ans:
65. Sean is coding to automate a test scenario in which he has to click on a
dynamic link to navigate to the shopping cart page.
The web element looks like <a href=”icart.jsp? params”>cart[19]</a>. Which
locator is most recommended for the scan to identify the cart web element for all
test iterations ?
Ans: By.partial link Text()
66. Kevin wants to fetch all the data from the country dropdown menu and verify
the data against data from the database. He is looking into the library for a
method to fetch all the data from the country dropdown box .Which method
helps Kevin?
Ans: get options()
67. What does double forward slash // represent in xpath selenium locations?
Ans: relative xpath
68. Kevin is planning to write automation script for below scenario.
Given the user is on the payment page. He views a textbox with attribute values .
“Enter Mobile Number” written in the box. The user must enter the mobile
number in the box to proceed. Please choose the correct command to help Kevin
in automating the scenario. Assume the textbox element is already identified and
stored in mobile txt box variable .
Ans: mobileTxtBox.sendKeys(“xxxxxxxxxx”)
69. Henry is designing a script and using CSS selector as the locator strategy. He
must locate the element efficiently. The element inspected looks like <input
id=”new password” type=”password”>.
Ans: By CSS Selector(“input[id=password]”)
70. Kevin is designing an automation test, where test data is specified in an
external excel file. Which command will be helpful to write the data into a cell of
the excel file? Assume c1 is the cell object.
Ans: c1.SetCellValue(‘data’)
71. <html>
<body>
<ul class = ”cities” >
<li>Bangalore</li>
<li>Chennai</li>
<li>Mumbai</li>
<li>Bangalore</li>
<li>Pune</li>
</ul>
</body>
</html>
Sarah wants to locate the 3rd child element i.e. Hyderabad.Suggest the
appropriate locator strategy by Sarah.
ANS- CSS=”ul.cities.li inth of type(“Hyderabad”)”
72. UFT supports various synchronization techniques that helps us to manage
web applications. Which technique is applied only to webpages and browsers ?
ANS- Sync.
73. Consider a test String to be “order 200 completed”. which of the below
regular expression(s) will not match the given string?
ANS- order [0-9]+Completed
74. Henry had bined a project team. The team is using the BDD framework for
effective testing . Henry must understand keywords in Cucumber. Which gherkin
keyword indicates the pre-conditions / pre- requests steps in a feature file?
ANS- Given
75. Samantha has created a feature file in a project. she wants to configure the
Test Runner class using feature files/glue tags. Which of the following is the
correct set annotations to be used in the test runner?
ANS- @Runwith ; @Cucumber options.
76. Write in corect order
a. Triggers the build
b. Open reports to see the latest test results
c. Jenkins checks the Git Repository periodically to detect changes in build
project.
d. The build is successful / Failure.
e. Testers/ Developers commits source code changes to the shared Git
Repository
ANS-
77. Which of the following elements of Jmeter executes after the sampler
requests are executed in the test plan?
ANS- Post Processors.
78. Sarah is coding in a test scenario, in which she must fetch the booking id as a
text message from the span element
The web element looks like <Space> order completed with Booking
id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans- get Text();
79. James is automating a script and using CSS Selector as a locator. What are the
primitive types for designing the CSS selector?
ANS- .id, . Attribute, .innerText()
80. Which expression is used in CSS Selectors to match the attribute value with a
prefix?
ANS- ^=
81. Sean is coding an automation Script to launch the web application on a
browser window. Which of the following listed option(s) will help Sean to launch
the designed application on a web browser in Selenium?
ANS- .driver.get(“URL”) , .driver.navigate().to(“URL”)
82. Which date format is used to customize the system date to Year-Month-day
format?
For example 2019-04-24
ANS- new Simple Date Format(“YYYY-MM-dd”).
83. Select the correct order of execution of annotations, as per the life cycle of
Test NG which can be applied for test methods along with before XXXX-after
XXXX methods
ANS- Before test, Before class, Before method , test , After method, After class ,
After test .
84. Sam has created a Test NG project with below specified Test class
Public class Test class
{
@Test (Priority = 1)
Public void method 1() (-----)
@Test
Public void method 3() (-----)
@Test
Public void method 2() (-----)
@Test
Public void method 4() (-----) }
ANS- Method 2 - Method - 3 Method - 1 Method – 4
85. What are the various status options available in the Extent Reports library?
ANS- PASS , FAIL , SKIP , FATAL , ERROR , Warning , INFO
86. Sarah wants to perform a few scenarios using a do-while loop in UFT. She has
written the below code. Predict the number of times the loop will be executed ?
i=10
Do while (i<5)
msg box i
i=i+1
loop
ANS- Does not execution in the condition
87. Predict the Output for the below code snippet
Dim Str
Str = Str Reverse (mid (“Unified functional testing”,4,9))
Print Str
ANS- couf deif
88. Predict the Output for the below code snippet
Dim a,b
a= ”vbscript”
b= Left (Right (a,3) 2)
print
ANS- ip
89. Which of the following reports can be generated using plugins from
Cucumber options?
ANS- All of the above
90. James wants to design a scenario in a feature file, in which the complete
scenario runs multiple times for different data sets . Suggest James with a Gherkin
keyword to activate drop-down testing in the feature file ?
ANS- Use Scenario outline.
91. Jack had created the feature file with the below mentioned scenarios as
shown below:
@smoke
Scenario: This is the first scenario
@crash
Scenario: This is the second scenario
In test runner class, Jack mentioned @cucumberoptions (tags=(“smoke”)) predict
which scenario is/are gets executed
Ans: Execute first scenario
92.Which of the following is the logical container that contains all the elements
which drive the performance test?
Ans: Load Testing
93. Which of the following assertions is not applied in Jmeter?
Ans: web
94. Which of the following is an invalid configuration element in Jmeter?
Ans: FTP cookie manager
95. Which of the following input documents is used to create test scenarios and
conditions?
Ans: Use cases
96. Which of the following Java classes are from the extent API library?
Ans: ExtentReports, Status
97. Sean is coding to automate a web application using the webDriver library. He
had set the implicit wait of 30 seconds. However, the webelement was found
within 10s . Will the webdriver wait for further 20 seconds before executing the
next line of code?
Ans: Yes, webDriver will wait 20 more seconds.
98. Which method is used in the Apache POI library to fetch the cell value from a
row? Identify the correct format of invoking the library functions to get the value
from the cell
Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()
99. Sarah is coding to automate script to switch to multiple windows in a web
application. She has to store all the window instances in a java variable which is
retrived by driver.getWindowHandles(). Suggest sarah with a compatable return
type to store the window references.
Ans: list <string>
100. Mary is struggling to find a suitable simple wild cart character that matches
any single character . Please suggest to her which of the following characters
many be relevant to her search
Ans: .(wildcard character)
101. Which Gherken keyword is used to create/execute as a common given step
for all the scenarios in the feature table?
Ans; Background
102. sarah has her code in git local repository, but her team lead had pushed the
new changes into the remote repository, Which git command would you
recommend Sarah with new changes into her working copy?
Ans: put
103.
104. Which parameter types in cucumber expressions matches text without white
space?
Ans:{ word}
105. Sean is automating a test scenario in which he has to fetch the URL of the
webpage using webDriver API. Suggest a method fo Sean to get the link address
Ans: getCurrentURL()
106. Ans: No such element Exception
107. Sean is performing verification using assert class functions from TestNG.
Suggest him the correct method to verify the reference/address of the two
objects to be identical?
Ans: assertSame(object1,object2)
108. Sam is designing an automation test where test data is specified in an
external excel file. Which command will be helpful to get access to the 2nd sheet
of the excel file. Assume web is the writebook object
Ans: who.getSheetA1(1)
110. Which of the following is a listener in JMeter?
Ans: All the above (Assertion results, Monitor results, Aggregate report)
111. Sarah is coding to automate a scenario for the selection of the “from Cities”
drop down box on the flight booking application web page, which class is used?
Ans: Select Class
112. Which of the following elements of JMeter helps to validate whether on
application is returning on excepted response or not?
Ans: Assertion
113. Which controller in JMeter you organize the samples & other logic
controllers?
Ans: Simple
114.
Ans: Once Only
115.
Ans: WebElement element 01 = driver.findelement(By.id(“Searchbox”));
116.
Ans: Test Driven Development
117. Trigger all scenarios
Ans: Feature file
118. BDD Process
Ans: 2-3-1-4-5
119. Selenium Grid (Multiple Box)
120. standard
Standard, Text and Bitmap (Active Screen)
1/10
Question-wise Details

Section #1

Question 1: Time: 2 Min 16 Sec Marks: 1 / 1

Topic: Agile and Devops

Sub Topic: Agile Overview

Which of the following practise is a Time-boxed iteration during which a potentially releasable product Increment is created ?

Options Response Answer

Sprint

Backlog

Lean

Kanban

Question 2: Time: 12 Sec Marks: 1 / 1

2/10
Topic: Agile and Devops

Sub Topic: Agile Overview

Which of the following are the most popular and common examples of agile methodology?

Options Response Answer

Scrum

Feature-Driven Development (FDD)

Kanban

Sequential Model

Prototype Model

Question 3: Time: 3 Min 18 Sec Marks: 0 / 1

3/10
Topic: Agile and DevOps

Sub Topic: DevOps Overview

Which of the following options are specific to Operations (Ops) in DevOps?

Options Response Answer

Deploy

Monitor

Code

Build

Test

Question 4: Time: 16 Sec Marks: 1 / 1

4/10
Topic : Manual Testing and ALM

Sub Topic : ALM

Which of the following field is mandatory while creating requirement in ALM?

Options Response Answer

Requirement Type

Priority

Author

Comments

Question 5: Time: 18 Sec Marks: 1 / 1

Topic : Manual Testing and ALM

Sub Topic : ALM

Which of the following helps the tester to decide that the application contains defects?

5/10
Options Response Answer

Difference between expected and actual result

Difference between expected result and unit

test results

Difference between requirements and user

stories

Difference between functional and business

requirements

Question 6: Time: 1 Min 53 Sec Marks: 0 / 1

Topic : Manual Testing and ALM

Sub Topic : Manual Testing

In an e-commerce web site, for customer registration the customer ID field can accept only characters in the range of 6-12. Which
is the correct Boundary value analysis?

Options Response Answer

6,8,11,13

12,13,8,9

8,6,11,13

6,12,5,13

6/10
Question 7: Time: 2 Min 5 Sec Marks: 1 / 1

Topic : Manual Testing and ALM

Sub Topic : Manual Testing

User Acceptance test plan corresponds to which phase in V-model?

Options Response Answer

Design Phase

Build Phase

Requirements Phase

Development Phase

Question 8: Time: 3 Min 9 Sec Marks: 1 / 1

7/10
Topic : Manual Testing and ALM

Sub Topic : Manual Testing

In which of the following SDLC model, development and testing happens in incremental and rapid cycles?

Options Response Answer

Waterfall

Prototype

Spiral

Agile

Question 9: Time: 37 Sec Marks: 0 / 1

8/10
Topic : Manual Testing and ALM

Sub Topic : Manual Testing

Which type of testing demonstrates that the interaction between modules is correct, stable and proper as defined in functional
requirements by client?

Options Response Answer

Unit Testing

Assembly Testing

Product Testing

Performance Testing

Question 10: Time: 56 Sec Marks: 0 / 1

9/10
Topic : Manual Testing and ALM

Sub Topic : Manual Testing

Usecases are converted in to testable documents using:

Options Response Answer

Test Scenarios and Conditions

Defect Log

User Scenarios

Testable Document

10/10
MANUAL TESTING AND ALM
1) Most popular and common examples of Agile methodology

A) Scrum , Feature Driven Development , Kanban

2 ) Verification: Lalitha is updating the test script after the review

Validation: Raju is updating the product requirements after BA’s confirmation

3) Which of the following technique is implemented when the requirement is


complex with multiple conditions and actions?

A) Decision Table

4) Which of the following input documents is used to create test scenarios


and conditions?

A) Use Cases

5) Which of the following styles of writing test scenario ids will represent
clearly the referenced test scenario and help the testing team for tracking
purposes?

A) UCA1.0.TS1.0 [Use Case ID.Test Scenario ID]

6) Suppose, we have an application page with a “role” text box.Users can


enter a role in the text box.The application will accept any one of the three
roles(Buyer,Seller,Broker).Which of the following options indicates a proper
collection of equivalence classes to design the test scenarios?

A) Buyer , Seller , Broker , Any other role , No role

7) Which of the following from ALM Test Plan section allows tester to map
requirements to tests from test plan?

A) Requirements Coverage
8) A DevOps engineer is planning to adopt continuous deployment in his
project for faster delivery of the product. Which tool can be used to
accomplish his goal?

A) Jenkins

9) Scrum is used for managing a product/application. One of the team


members, peter has the responsibility of delivering the overall project vision.
Which scrum role is played by peter?

A) Scrum Master

10) Sarah adopted Agile and DevOps methodologies in her project. What are
the benefits offered by Agile and DevOps practices?

A) Communication gap between teams , Faster Delivery , Failing Fast , Fast


Feedback

11) Which of the following options align with agile principles?

A) Welcome changing requirements , Requirements defined upfront , Ensure


customer satisfaction , Testing occurs at early phases of SDLC

12) Which of the following defect status is marked by the developer when he
is analyzing the defect description?

A) Open

13) Which type of testing is intended to validate the system’s usability and
operability and is performed by clients?

A) OAT

14) Which of the following testing activities determines if the QA team has
the necessary work products and is ready for the test execution phase?

A) Test Preparation Review


15) Same defect is logged by two testers.What is the status of the defect?

A) Duplicate

16) To successfully launch the ALM web application on the IE browser,


suggest recommended settings under internet options?

A) Add ALM URL to the trusted sites and ensure that Protected Mode is
checked for different zones

17) By default, what does Application Lifecycle Management (ALM) assign


when a new defect is created?

A) An unique defect ID

18) Which of the following defines ALM as an integrated repository?

A) Link between Requirements with Releases and Cycles

Link between Requirements with Tests

Link between Defects with Releases and Cycles

Link between Requirements with Defects

19) Which of the following fields/columns are mandatory to map the ALM
defects from the excel file for entity type as defects?

A) Summary, Detected By, Severity, Defected on Date

20) Characteristics offered by DevOps?

A) Stable and operable software , Consistent and optimized release process

21) Match the scrum roles

A) 1. Product Owner → Creates and maintains product backlog

2. Scrum Master → Conducts daily stand-up meetings

3. Scrum Team → Develops working software


22) Different techniques to perform white box testing

A) Statement Coverage

Path Coverage

Branch Coverage

Condition Coverage

23) Which section in ADM helps to access the deliverables?

A) Work Products

24) How many defects can be associated to a requirement?

A) Multiple Defects

25) Which is not a part of agile manifesto?

A) Comprehensive Documentation over working software

26) Which work product is continuously updated by the test team witht test
execution work allocation and status?

A) Requirement Traceability Matrix(RTM)

27) Sam has created a Test set and added tests into it. He wants to configure
the test run schedule in ALM Test Lab .Which test lab panel allows him to
configure the test run schedule?

A) Execution Flow

28) Which user group in ALM has full previliges to all modules in ALM?

A) TDAdmin

29) Sarah wants to create reusable tests, so that she can call the existing
tests from other tests. Appropriate option to achieve this is ALM is?

A) Mark as Template Tests


30) Which of the following fields in the Test Script template are filled during
the test preperation phase of STLC?

A) Expected Result , Test Condition ID

31) Who is responsible for prioritizing the product backlog?

A) Product Owner

32) Which of the following peer review technique indicates review


performed by individuals who are not directly involved in the application
development process?

A)

33) The development lead found the raised defect is not valid. What should
be the status of the defect?

A) Rejected

34) Which of the following options are specific to operations(Ops) in DevOps?

A) Deploy , Monitor

35) Which filed is mandatory while creating requirement in ALM?

A) Requirement Type

36) Which of the following fields provides traceability between the “Test
Script “ and “Test Scenarios and Conditions” Document?

A) Test Condition ID in test script

37) To check if the fix implemented is not introducing new defects on the
system, what type of testing is performed?

A) Regression Testing

38) Which of the following fields/columns are mandatory to map the ALM
test steps from the excel file for entity type as tests?

A) Path , Test Name


KNOWLEDGE CHECKS
Agile and DevOps:-
Manual Testing and ALM Knowledge Check 1
Manual Testing and ALM Knowledge Check 2
1) Which of the following field/column for requirements in excel format is used
to map the requirements folder in ALM?
Ans: Path
2) Which of the following best defines ALM as an integrated repository?
Ans: Link between requirements with releases & cycles
Link between defects with releases & cycles
3) By default, what does application life cycle management (ALM) assign when a
new defect is created?
Ans: A unique defect IO
4) Which of the following sections allows you to view coverage by cycle?
Ans: Requirement coverage
5) How many defects can be associated with a requirement?
Ans: Multiple defects
6) Which of the following elements of JMeter determines the order in which the
requests have to get processed?
Ans: Logic controllers
7) Which one of the following is not a controller in JMeter?
Ans: Condition controller
8) Which of the following represents a process where samplers are executes with
multiple sets of user input data?
Ans: Parameterization
9) Which of the following statements is true about pre-processors?
Ans: Pre-processors execute before the sampler requests are executed in the
test plan (only a)
10) Which assertion is used to test whether the API server response was
received within a given amount of time or not?
Ans: Duration
11) Which of the following defect states is marked by the developer when he is
analyzing the defect description?
Ans: Open
12) Which of the following test defines “Verification” & “Validation”?
Ans: Verification: Lalitha is reviewing the test script conduct by raju
Validation: Raju is updating the requirements traceability matrix for the
requirement coverage
13) John has raised a high priority defect in the morning and is waiting for the
fix to be completed. At 5pm he got a fix from the developer. Now he also need
to check the fix implemented does not introduce any new defects on the
system. What type of testing is he performing?
Ans: Regression testing
14) Consider the below html code snippet
Email:<label id=”Email” class=”Style1” name=”input”> Which of the best locator
to identify the Email web element?
Ans: By id (“Email”)
15) Which method in the web driver library is used to get the attribute value of
a web element?
Ans: getAttribute(“AttributeName”)
16) Sarah is coding an automation script, where she has to validate the price of
the holiday package based on the drag and drop of island only from the menu.
The price is fetched from the server and displays without reloading the
webpage. Which web driver library class has the pre defined conditions for
handling dynamic waits in selenium webdriver library?
Ans: WebDriver wait
17) Which of the following statement(s) is/are about the extent reports?
Ans: All of the above : Extent reports are customisable HTML Reports
Extent reports can be integrated with Selenium webdriver using TestNG/Junit
test frameworks
Extent reports can add events, screenshots, tags, devices, and any other related
information about test environment
18) Sean is coding an automation script for emulating user actions by mouse
using the webdriver library. Assist sean to choose the correct syntax to create
an object for actions class from the following
Ans: Actions act=new Actions(driver instance)
19) Which Java interface is used to capture screenshot of a webpage using
webdriver API?
Ans: TakeScreenshot
20) Sean wants to switch to multiple frames on a webpage when an operation
is completed on a frame an test flow needs to move to another frame, calling
the driver.SwitchTo().frame() immediately will not move the context to the
next frame which is at the same level in DCM. The test will first need to switch
to the main document and then activate the desired frame which method is
used to switch back to the main document from the frame?
Ans: driver.SwithTo().defaultContent()
21) Samatha wants to write an automation script that determines the count of
hobbies check boxes. These check boxes have a name attribute as ”hobbies”.
Assist Samatha by choosing the correct command
Ans: Driver.dindElements.By.name(“hobbies”).size()
22) Samatha is automating a test scenario. This scenario involves a pop up of a
confirmation window. She wants to interact with the pop up window and
decline the confirmation pop-up window that shows a message “Do you want
to cancel the payment?”. Choose correct code
Ans: Driver.SwithchTo().alert().dismiss()
23) Sarah is coding an automation script to switch to frame in a web
application. Help her to switch a particular frame on a web page using the
window library. She wants to interact with the pop up window and decline the
confirmation pop up window show a message “Do you want to cancel the
payment?”. Assist Samantha to interact with
Ans: Driver.SwitchTo().frame(int index)
Driver.SwitchTo().frame(String name or id)
24) Which of the following is correct about generating an XML Suite file is
TestNG for Test Suite execution?
Ans: Test NG XML suite file
Can be generated at the time of creating TestNG class
TestNG XML suite file can be generated using convert to TestNG option in Eclipse
after a java code
25) Sarah is designing an automation script using descriptive programming in
UFT for a web based Flight GUI application. Assist sarah with a tool to identify
the property of the test scripts
Ans: Object Spy
26) Sarah wants to slice a text to perform a test on a message. She used the
split function in VB Scripting to chop the strings. Predict the output for the
below code
Arr=Split(“this ”is ”VB”Scripting”,” ‘ ”)
Msgbox arr(2)
Ans: VB
27) In UFT which type of variable can be accessed by all actions, function
libraries and tests that have a global scope?
Ans: Environment variable
28) Which of the following types of applications can be tested using UFT?
Ans: Web app, SOAP and REST APIs
29) A retail application generates an order id on successful order placing. Order
id follows the pattern. Starts with TXN, followed by 3 digit number and ends
with any capital alphabet
Ans: ^TXNd[3]{A-Z}$
30) Jack wants to apply checkpoint in an existing test script. He decides to use
keyword view to insert checkpoint. Which all checkpoints can be inserted using
keyword view?
Ans: Only standard
31) What type of action can we create if others want to reuse that action, but
at the same time, it should be non-editable for others?
Ans: Reusable action
32) Chetan wants to add some additional information like the environment for
test execution, which method can be used to add the information in the test
method?
Ans: Add Run Information
33) Predict the output for the below code snippet Msgbox (“UFT” &
String(3,”T”))
Ans: 6
34) Many wants to add the HTML report snippet to have better clarity in the
test results. Which Reporter object method can be added to achieve the task?
Ans: ReportHTMLEvent
35) There are various elements in a SOAP message. Which element of the SOAP
message shows error message and status information?
Ans: Fault
36) Lisa is a new joiner to cucumber project assigned to execute the scenarios
marked as both OAT and UAT tags. Which of the following will assist Lisa to
execute the desired Scenario using tags from Cucumber option?
Ans: @CucumberOptions(tags=(“@OAT”,”@UAT”))
37) Henry wants to write some comments in the feature file. Which character
command is used to define comments in the feature file?
Ans: #
38) Kevin is creating a feature file with multiple scenarios. He wants to apply
multiple tags to a scenario. Which of the following best requirements the
technique to apply multiple tag names?
Ans: @Tag1,@Tag2
39) Which statements are true about feature file?
Ans: only 1, 2 & 3 : A feature file contains multiple scenarios
Feature Gherkin keyword is always written as first high level keyword in a feature
file
There can be multiple feature file in a project
40) No question
@when(“Kevin enters quantity as{int}item(3)”)
@Then(“Shopping cart icon shows {int}”)
41) Which of the following is not a valid element in the JMeter test plan?
Ans: Annotation
42) Which of the following is past processor in JMeter ?
Ans: Regular expression Evaluator
43) Which of the following parameters can be configured using a thread group?
Ans: Ramp-up period
Loop count
44) Which among the following is an invalid controller in JMeter?
Ans: State controller
45) Which of the following fields in the defect log helps the tester to prioritize
and fix the defect?
Ans: Severity
46) Sean is coding an automation script to test a web application. He has to
store the largest link in a java variable using a driver find element() method.
Suggest Sean with a compatible return type to store the logout test object?
Ans: WebElement
47) James want to automate the selection of ID proofs drop down box in the
web application . He has to verify the drop down box has a selection of more
than one option. Which of the following method is suggested to JMeter?
Ans: Ismultiple()
48) When verification fails in TestNG. What forces the test to stop execution
and mark as fail?
Ans: Assertion Fail
49) Kavin wants to generate extensive report for the test automation project.
He decides to use Extent reports library. Which class in this library is used to
create labels, code blocks and labels in the report?
Ans: Markup Helper
50) Sean configured this project for the test Suite execution using TestNG. He
wants to perform parallel execution using TestNG. Which attribute represents
the parallel execution of the test cases?
Ans: Parallel=”tests”
51. Kevin is using CSS selector as a locator strategy for the following element <h1
id =”msg1” name=”success”>Registration completed</h1>. He must identify the
element efficiently.
Ans: .By CSS Selector(“h1[id=’msg01’]”)
.By CSS Selector(“h1[id=’msg01’][name=’success’]”)
52. There is an element on the webpages when inspected on the browser it looks
like <div call=”errorMsg”>Error Message</div>. James wants to use selenium
locations to identify the element. Choose the correct set of commands to locate
the elements efficiently.
Ans: By CSS Selector(“div.errorMsg”)
53. Sarah wants to automate the selection of only one option from a dropdown
box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.
Ans: Select By Index()
54. Identify the valid statement from the below given options.
Ans: Browser(name i=Demowebshop).page(page i=”.*”).WebEdit(“Emailiq”) Set
Prince
55. Neha is an automation tester working for TestMe project. She wants to log
some information in the UFT tet result pane. Which reporter object method is
more relevant in the situation?
Ans: MicDone
56. UFT supports various debugging techniques that help us in finding the issues
in the automation script. Which technique allows us to change the value of local
variables at runtime to understand the behaviour?
Ans: Console
57. Which of the following statements regarding actions in UFT is incorrect?
Ans: In actions, parameters are passed by value and by
58. To execute a cucumber scenario, which file(s) are important and must be
created in the maven project?
Ans: .feature file, .step definition
59. Henry wants to generate JSON reports on the execution of Test Runner in
cucumber. Assert Henry with the right option to configure the JSON report
generation in @Cucumber options?
Ans: @Cucumber Options({plugin=pretty,”html:report.html”})
60. Henry has created a feature file with tagged scenarios. He wants to execute all
the scenarios excluding “SevereTag” scenarios. What command should he use in
cucumber options for TestRunner class?
Ans: tags=(“~@SevereTag”)
61. Which of the following will control the amount of time Jmeter will execute a
test plan?
Ans: Test duration
62. Which of the following types of applications can be tested using Jmeter?
Ans: All of these
63. Jude is testing the login page of an application that contains 10 fields. He has
analyzed the data dictionary to derive the test data for the login page. He has
tested the application with all the combinations as it was a mandatory task
required for the project. However, he is sure that 0% of defects do not guarantee
the process success from the customers perspective, please predict the testing
principle that he is referring to in the above statement?
Ans: Exhausting testing not possible
64. Which of the following styles of writing test scenario ids will represent clearly
the referenced test scenario and help the testing team for tracking purposes?
Ans:
65. Sean is coding to automate a test scenario in which he has to click on a
dynamic link to navigate to the shopping cart page.
The web element looks like <a href=”icart.jsp? params”>cart[19]</a>. Which
locator is most recommended for the scan to identify the cart web element for all
test iterations ?
Ans: By.partial link Text()
66. Kevin wants to fetch all the data from the country dropdown menu and verify
the data against data from the database. He is looking into the library for a
method to fetch all the data from the country dropdown box .Which method
helps Kevin?
Ans: get options()
67. What does double forward slash // represent in xpath selenium locations?
Ans: relative xpath
68. Kevin is planning to write automation script for below scenario.
Given the user is on the payment page. He views a textbox with attribute values .
“Enter Mobile Number” written in the box. The user must enter the mobile
number in the box to proceed. Please choose the correct command to help Kevin
in automating the scenario. Assume the textbox element is already identified and
stored in mobile txt box variable .
Ans: mobileTxtBox.sendKeys(“xxxxxxxxxx”)
69. Henry is designing a script and using CSS selector as the locator strategy. He
must locate the element efficiently. The element inspected looks like <input
id=”new password” type=”password”>.
Ans: By CSS Selector(“input[id=password]”)
70. Kevin is designing an automation test, where test data is specified in an
external excel file. Which command will be helpful to write the data into a cell of
the excel file? Assume c1 is the cell object.
Ans: c1.SetCellValue(‘data’)
71. <html>
<body>
<ul class = ”cities” >
<li>Bangalore</li>
<li>Chennai</li>
<li>Mumbai</li>
<li>Bangalore</li>
<li>Pune</li>
</ul>
</body>
</html>
Sarah wants to locate the 3rd child element i.e. Hyderabad.Suggest the
appropriate locator strategy by Sarah.
ANS- CSS=”ul.cities.li inth of type(“Hyderabad”)”
72. UFT supports various synchronization techniques that helps us to manage
web applications. Which technique is applied only to webpages and browsers ?
ANS- Sync.
73. Consider a test String to be “order 200 completed”. which of the below
regular expression(s) will not match the given string?
ANS- order [0-9]+Completed
74. Henry had bined a project team. The team is using the BDD framework for
effective testing . Henry must understand keywords in Cucumber. Which gherkin
keyword indicates the pre-conditions / pre- requests steps in a feature file?
ANS- Given
75. Samantha has created a feature file in a project. she wants to configure the
Test Runner class using feature files/glue tags. Which of the following is the
correct set annotations to be used in the test runner?
ANS- @Runwith ; @Cucumber options.
76. Write in corect order
a. Triggers the build
b. Open reports to see the latest test results
c. Jenkins checks the Git Repository periodically to detect changes in build
project.
d. The build is successful / Failure.
e. Testers/ Developers commits source code changes to the shared Git
Repository
ANS-
77. Which of the following elements of Jmeter executes after the sampler
requests are executed in the test plan?
ANS- Post Processors.
78. Sarah is coding in a test scenario, in which she must fetch the booking id as a
text message from the span element
The web element looks like <Space> order completed with Booking
id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans- get Text();
79. James is automating a script and using CSS Selector as a locator. What are the
primitive types for designing the CSS selector?
ANS- .id, . Attribute, .innerText()
80. Which expression is used in CSS Selectors to match the attribute value with a
prefix?
ANS- ^=
81. Sean is coding an automation Script to launch the web application on a
browser window. Which of the following listed option(s) will help Sean to launch
the designed application on a web browser in Selenium?
ANS- .driver.get(“URL”) , .driver.navigate().to(“URL”)
82. Which date format is used to customize the system date to Year-Month-day
format?
For example 2019-04-24
ANS- new Simple Date Format(“YYYY-MM-dd”).
83. Select the correct order of execution of annotations, as per the life cycle of
Test NG which can be applied for test methods along with before XXXX-after
XXXX methods
ANS- Before test, Before class, Before method , test , After method, After class ,
After test .
84. Sam has created a Test NG project with below specified Test class
Public class Test class
{
@Test (Priority = 1)
Public void method 1() (-----)
@Test
Public void method 3() (-----)
@Test
Public void method 2() (-----)
@Test
Public void method 4() (-----) }
ANS- Method 2 - Method - 3 Method - 1 Method – 4
85. What are the various status options available in the Extent Reports library?
ANS- PASS , FAIL , SKIP , FATAL , ERROR , Warning , INFO
86. Sarah wants to perform a few scenarios using a do-while loop in UFT. She has
written the below code. Predict the number of times the loop will be executed ?
i=10
Do while (i<5)
msg box i
i=i+1
loop
ANS- Does not execution in the condition
87. Predict the Output for the below code snippet
Dim Str
Str = Str Reverse (mid (“Unified functional testing”,4,9))
Print Str
ANS- couf deif
88. Predict the Output for the below code snippet
Dim a,b
a= ”vbscript”
b= Left (Right (a,3) 2)
print
ANS- ip
89. Which of the following reports can be generated using plugins from
Cucumber options?
ANS- All of the above
90. James wants to design a scenario in a feature file, in which the complete
scenario runs multiple times for different data sets . Suggest James with a Gherkin
keyword to activate drop-down testing in the feature file ?
ANS- Use Scenario outline.
91. Jack had created the feature file with the below mentioned scenarios as
shown below:
@smoke
Scenario: This is the first scenario
@crash
Scenario: This is the second scenario
In test runner class, Jack mentioned @cucumberoptions (tags=(“smoke”)) predict
which scenario is/are gets executed
Ans: Execute first scenario
92.Which of the following is the logical container that contains all the elements
which drive the performance test?
Ans: Load Testing
93. Which of the following assertions is not applied in Jmeter?
Ans: web
94. Which of the following is an invalid configuration element in Jmeter?
Ans: FTP cookie manager
95. Which of the following input documents is used to create test scenarios and
conditions?
Ans: Use cases
96. Which of the following Java classes are from the extent API library?
Ans: ExtentReports, Status
97. Sean is coding to automate a web application using the webDriver library. He
had set the implicit wait of 30 seconds. However, the webelement was found
within 10s . Will the webdriver wait for further 20 seconds before executing the
next line of code?
Ans: Yes, webDriver will wait 20 more seconds.
98. Which method is used in the Apache POI library to fetch the cell value from a
row? Identify the correct format of invoking the library functions to get the value
from the cell
Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()
99. Sarah is coding to automate script to switch to multiple windows in a web
application. She has to store all the window instances in a java variable which is
retrived by driver.getWindowHandles(). Suggest sarah with a compatable return
type to store the window references.
Ans: list <string>
100. Mary is struggling to find a suitable simple wild cart character that matches
any single character . Please suggest to her which of the following characters
many be relevant to her search
Ans: .(wildcard character)
101. Which Gherken keyword is used to create/execute as a common given step
for all the scenarios in the feature table?
Ans; Background
102. sarah has her code in git local repository, but her team lead had pushed the
new changes into the remote repository, Which git command would you
recommend Sarah with new changes into her working copy?
Ans: put
103.
104. Which parameter types in cucumber expressions matches text without white
space?
Ans:{ word}
105. Sean is automating a test scenario in which he has to fetch the URL of the
webpage using webDriver API. Suggest a method fo Sean to get the link address
Ans: getCurrentURL()
106. Ans: No such element Exception
107. Sean is performing verification using assert class functions from TestNG.
Suggest him the correct method to verify the reference/address of the two
objects to be identical?
Ans: assertSame(object1,object2)
108. Sam is designing an automation test where test data is specified in an
external excel file. Which command will be helpful to get access to the 2nd sheet
of the excel file. Assume web is the writebook object
Ans: who.getSheetA1(1)
110. Which of the following is a listener in JMeter?
Ans: All the above (Assertion results, Monitor results, Aggregate report)
111. Sarah is coding to automate a scenario for the selection of the “from Cities”
drop down box on the flight booking application web page, which class is used?
Ans: Select Class
112. Which of the following elements of JMeter helps to validate whether on
application is returning on excepted response or not?
Ans: Assertion
113. Which controller in JMeter you organize the samples & other logic
controllers?
Ans: Simple
114.
Ans: Once Only
115.
Ans: WebElement element 01 = driver.findelement(By.id(“Searchbox”));
116.
Ans: Test Driven Development
117. Trigger all scenarios
Ans: Feature file
118. BDD Process
Ans: 2-3-1-4-5
119. Selenium Grid (Multiple Box)
120. standard
Standard, Text and Bitmap (Active Screen)
Manual Testing Material

Address:
#104,Nandini Residency,
Addagutta Society,
Beside KPHB Police station
lane JNTU X-Roads, HYD
Manual Testing

Manual Testing
1. Introduction to Software Testing

1.1 What is Software Testing

“Software testing is a process of executing the application with the intent of finding the
defects by comparing the output behavior of the application with expected behavior
(requirement).”

In other words it’s comparing the actual behavior of an application with expected behavior.

1.2 Why Software Testing

Humans make mistakes all the time!!

“Software testing is really required to point out the defects and errors that were made
during the development phases”.

We humans can’t identify our mistakes in a work done by us. We should get someone else to
check our work because another person may identify the mistakes done by us. In the same way
software developers may not identify the mismatches in a program or application implemented
by them which can be identify by the another department called Software Test Engineer.

1.3 Benefits of Software Testing

“Software testing helps in finalizing the software application against business requirements.”

Software testing makes sure that the testing is being done properly and hence the system is
ready for the customers to use.

Below are few benefits of software testing.

- Finding the defects before delivery


- Gaines the confidence about quality
- To Prevent defects
- Ensure the requirements are delivered to client

1.4 What is Quality

“Software quality is nothing but delivering a bug free application and delivered
on time with all requirements.”

Website:www.testingmasters.com
Email:[email protected]
Page # 1
Manual Testing

ISO 8402-1986 standard defines quality as “the totality of features and characteristics of a
product or service that bears its ability to satisfy stated or implied needs.”

1.5 What is defect

“A defect is a deviation or mismatch from the requirements”.

When actual result deviates from the expected result while testing a software application
or product then it results into a defect. Hence, any deviation from the specification
mentioned in the functional specification document is a defect. In different organizations
it’s called differently like bug, issue, incidents or problem.

1.6 Project Vs Product

“Project is developed for a single customer on his own requirements by the software
companies and the project will be used by the customer only.”

“Product is developed for multiple customers on their consolidated requirements by the


software companies and the product will be used by all customers.”
2. Software Development Life Cycle (SDLC)
2.1 What is Software Development Life Cycle

“SDLC is a process followed for a software project, within a software organization. It


consists of a detailed plan describing how to develop, maintain, replace and alter or
enhance specific software”

2.2 Why Software Development Life Cycle

“SDLC ensure success in process of software development.”

2.3 Phases of Software Development Life Cycle


  Initial

  Analysis


  Design

  Coding


 Testing

Website:www.testingmasters.com
Email:[email protected]
Page # 2
Manual Testing

 Delivery & Maintenance

2.3.1 Initial

“Business requirements are gathered in this phase. “

This phase is the main focus of the project managers and stake holders. Meetings with
managers, stake holders and users are held in order to determine the requirements like;

- Who is going to use the system?


- How will they use the system?
- What data should be input into the system?
- What data should be output by the system?

Roles Involved: Business Analyst (BA), System Architects

Outcome: System Requirement Specification (SRS)

2.3.2 Analysis

“After requirement gathering these requirements are analyzed for their validity and the
possibility of developing the requirements in the system.”

Requirement analysis is the most important and fundamental stage in SDLC. It is


performed by both development team and testing team.

Roles Involved: Dev & QA team, Architects, Project Managers

Outcome: Final SRS approved by customer, Technology selection for both Dev & QA

2.3.3 Design

“During this part of the design phase, the consultants/architects break down the
system into pieces that can be programmed.”

System Design helps in specifying hardware and system requirements and also helps in
defining overall system architecture. The system design specifications serve as input for the
next phase of the model.

Roles Involved: Architects & Team

Website:www.testingmasters.com
Email:[email protected]
Page # 3
Manual Testing

Outcome: Technical Design Document (TDD)

2.3.4 Coding

“The actual development starts and the product is built in coding phase. “

The work is divided in modules/units and actual coding is started in this coding
phase and it is the main focus for developer. Coding is one of the longest phase of
SDLC.

Roles involved: Developers and Architects

Outcome: Programs or Application or Module

2.3.5 Testing

“In Testing phase testers execute the test cases against the application, report the defects and
retested the fixed defects. “

During this phase unit testing, integration testing, system testing, acceptance testing are done.

Roles Involved: Testers, Developers

Outcome: Defects, Test Summary Report, Test Plan, Test Case document

2.3.6 Delivery & Maintenance

Delivery : After successful testing the product is delivered /deployed to the customer.
During the delivery phase, customer will perform user acceptance testing in a real time environment.
Once when the customer starts using the developed system then the actual problems comes up and needs to be
solved from time to time. This process where the care is taken for the developed products is known as
maintenance.

Roles Involved: Testers, Developers, Customer, Business team, Architects, Project


Manager, and Delivery Manager

Outcome: Quality Product, Enhancements &Production Issues (Maintenance)


3. Software Development Life Cycle (SDLC) Models

“There are many development mode ls life that have cycle been developed in order to
achieve different required objectives.”

Website:www.testingmasters.com
Email:[email protected] Page # 4
Manual Testing

The selection of model has very high impact on the testing that is carried out. It will define
the what, where and when of our planned testing, influence regression testing and largely
determines which test techniques to use.

3.1 Water Fall Model


“In a waterfall model, each phase must be completed fully before the next phase”.

The Waterfall Model was first Process Model to be introduced. It is also referred to as a linear-sequential
life cycle model. It is very simple to understand and use. This type of model is basically used for the project
which is small and there are no uncertain requirements.

Advantages of waterfall model:

- This model is simple and easy to understand and use.


- It is easy to manage due to the rigidity of the model
- In this model phases are processed and completed one at a time.

Disadvantages of waterfall model:

- Once an application is in the testing stage, it is very difficult to go back and change
- No working software is produced until late during the life cycle.
- High amounts of risk
- Not a good model for complex and object-oriented projects.
- Poor model for long and ongoing projects.

When to use the waterfall model:

- This model is used only when the requirements are very well known, clear and fixed.
- The project is short.

3.2 V Model

Website:www.testingmasters.com
Email:[email protected] Page # 5
Manual Testing

“The V-model is a SDLC model where execution of processes happens in a sequential manner in V-shape. “

V-Shaped life cycle is a sequential path of execution of processes. Each phase must be completed before the
next phase begins. Testing of the product is planned in parallel with a corresponding phase of development.

Advantages of V-model:

- Simple and easy to use.


- Testing activities like planning, test designing happens well before coding. This saves a lot of time.
- Proactive defect tracking – that is defects are found at early stage.

Disadvantages of V-model:

- Software is developed during the implementation phase, so no early prototypes of the software
are produced.
- If any changes happen in midway, then the test documents along with requirement
documents has to be updated.

When to use the V-model:

- The V-shaped model should be used for small to medium sized projects where requirements are clearly
defined and fixed.
- The V-Shaped model should be chosen when ample technical resources are
available with needed technical expertise.

3.3 Prototype Model

Website:www.testingmasters.com
Email:[email protected]
Page # 6
Manual Testing

“Prototyping is an attractive applicate and idea large systems for come for which there is no manual process or
existing system to help determining the requirements.”

Advantages of Prototype model:

- Users are actively involved in the development


- Since in this methodology a working model of the system is provided, the users get
a better understanding of the system being developed.
- Errors can be detected much earlier.
- Quicker user feedback is available leading to better solutions.
- Missing functionality can be identified easily
- Confusing or difficult functions can be identified

Disadvantages of Prototype model:

- Practically, this methodology may increase the complexity of the system as scope of the
system may expand beyond original plans.
- Incomplete application may cause application not to be used as thefull system was designed

When to use Prototype model:

- Prototype model should be used when the desired system needs to have a lot of
interaction with the end users.

3.4 Agile Model

“Software is developed in incremental, rapid small incremental cycles releases. This with results each release in
building on previous functionality.”

Website:www.testingmasters.com
Email:[email protected]
Page # 7
Manual Testing

Advantages of Agile model:

- Customer satisfaction by continuous delivery of software.


- Customers, developers and testers constantly interact with each other.
- Working software is delivered frequently
- Continuous attention to technical excellence and good design.
- Even late changes in requirements are welcomed

Disadvantages of Agile model:

- It is difficult to assess the effort required at the beginning of the software development life cycle.
- The project can easily get taken off track if the customer representative is not clear
what final outcome that they want.
- Only senior programmers are capable of taking the kind of decisions required during
the development process.

When to use Agile model:

- New changes can be implemented at very little cost


- To implement a new feature the developers need to lose only the work of a few days.
- Unlike the waterfall model in agile model very limited planning is required to get started with the project.

Website:www.testingmasters.com
Email:[email protected]
Page # 8
Manual Testing

4. Software Testing Methodologies

4.1 Block Box Testing


4.1.1 What is Block box testing?
“The technique of testing without having technical knowledge of an application”.

Specification-based testing technique is also known as „black-box ‟or input/output driven testing techniques because they i

view the software as a black-box with inputs and outputs.

4.1.2 How will perform block box testing


“Testing team will perform the black box testing”.

The testers have no knowledge of how the system or component is structured inside the box. In black-box testing the
tester is concentrating on what the software does, not how it does it.

4.1.3 How to perform block box testing

Block box testing covers both functional and non-functional testing. Functional testing is concerned with what the
system does its features or functions. Non-functional testing is concerned with examining how well the system
does. Non-functional testing like performance, usability, portability, maintainability, etc.

Advantages Disadvantages

Well suited and efficient for large code segments. Limited Coverage since only a selected number of test scenarios
are actually performed.
Code Access not required.
Inefficient testing, due to the fact that the tester only has limited
Clearly separates user's perspective from the developer's knowledge about an application.
perspective through visibly defined roles.
Blind Coverage, since the tester cannot target specific code
Large numbers of moderately skilled testers can test the segments or error prone areas.
application with no knowledge of implementation, programming
language or operating systems. The test cases are difficult to design.

4.1.4 Block box testing techniques

Website:www.testingmasters.com
Email:[email protected]
Page # 9
Manual Testing

Below is the black box testing techniques:

- Equivalence partitioning
- Boundary value analysis
- Error Guessing

4.2 White box testing

4.2.1 What is white box testing

“Structure-based testing technique is also known as „white-box‟ or „glass-box‟ testing technique because here testers
knowledge of how the software is implemented, how require it works “

4.2.2 Who will perform White box testing

“Developers use -basedstructuretechniques in component testing and component integration


testing, especially where there is good tool support for code coverage.”

4.2.3 How to perform White box testing

White box testing is the detailed investigation of internal logic and structure of the code. White
box testing is alsocalled g lass testing or Openbox testing.

Advantages Disadvantages

As the tester has knowledge of the source code, it becomes


very easy to find out which type of data can help in testing the Due to the fact that a skilled tester is needed to perform white
application effectively. box testing, the costs are increased.

Sometimes it is impossible to look into every nook and corner


It helps in optimizing the code. to

find out hidden errors that may create problems as many paths
Extra lines of code can be removed which can bring in hidden will go untested.
defects.
It is difficult to maintain white box testing as the use of
specialized tools like code analyzers and debugging tools are
Due to the tester's knowledge about the code, maximum required.
coverage is attained during test scenario writing.

4.3 Grey Box testing

4.3.1 What is grey box testing

“Grey Box testing is a technique application with to limited test knowledge the of the internal
working of an application.”

4.3.2 Who will perform Grey box testing

Website:www.testingmasters.com
Email:[email protected]
Page # 10
Manual Testing

“Unlike blacktesting,boxwhere the tester only tests the application's user interface, in grey boxtesting, the tester
has access to design documents and the database. Having this knowledge, the tester is able to better prepare test
data and test scenarios when making the test plan.”

Advantages Disadvantages

Offers combined benefits of black box and white box


testing wherever possible.
Since the access to source code is not available, the
Grey box testers don't rely on the source code; instead ability to go over the code and test coverage is limited.
they rely on interface definition and functional
specifications. The tests can be redundant if the software
designer has already run a test case.
Based on the limited information available, a grey box
tester can design excellent test scenarios especially Testing every possible input stream is unrealistic because
around communication protocols and data type handling. it would take an unreasonable amount of time; therefore, many
program paths will go untested.
The test is done from the point of view of the user and not
the designer.

Black Box vs Grey Box vs White Box:

S.N. Black Box Testing Grey Box Testing White Box Testing

The Internal Workings of an Tester has full knowledge of


Somewhat knowledge of the internal
1 application are not required to be the Internal workings of the
workings are known
Known application

Website:www.testingmasters.com
Email:[email protected]
Page # 11
Manual Testing

Also known as closed box testing, Another term for grey box testing is
Also known as clear box
translucent testing as the tester has
2 data driven testing and functional testing, structural testing or
limited knowledge of the insides of the
testing code based testing
application

3 Performed by end users and also Performed by end users and also by Normally done by testers and
by testers and developers testers and developers developers

Testing is based on external Testing is done on the basis of high level Internal workings are fully
4 expectations - Internal behavior of database diagrams and data flow known and the tester can
the application is unknown diagrams design test data accordingly

5 This is the least time consuming


The most exhaustive and time
and exhaustive Partly time consuming and exhaustive
consuming type of testing
6 Not suited to algorithm testing
Not suited to algorithm testing Suited for algorithm testing
7 This can only be done by trial and
Data domains and Internal
error method Data domains and Internal boundaries can
boundaries can be better
be tested, if known tested

5. Levels of testing

“In software development life cycle models there are defined phases like require coding or implementation, testing and deployment.
Each phase goes through the testing.”

Hence there are various levels of testing. The various levels of testing are:

5.1 Unit Testing

What is Unit testing:“A unit is the smallest testable part of an applicatprocedures,ion like funct interfaces. “

Unit testing is a method by which individual units of source code are tested to determine if they are fit for use.

Who will perform Unit testing: “Unit tests are basically written and executedtomake by software sure that code meets its design and
requirements and behaves as expected.”

5.2 Module/Component Testing

What is Module/Component Testing: “Component testing is a method where testing of each c application is done separately.”

Suppose, in an application there are 5 components. Testing of each 5 components separately and
efficiently is called as component testing.

Who will perform Component Testing:“Component testing is done by the tester.”

Website:www.testingmasters.com
Email:[email protected]
Page # 12
Manual Testing

5.3 Integration Testing

What is Integration Testing: “Integrations done testing when two modules are integrated, in order to test
the behavior and functionality of both the modules after integration.”

As displayed in the image below when two different modules „Module A‟ and „Modul integration testing is done.

Who will perform Integration Testing: “Integration testing is done by a specific integration tester or test team.”

Integration Testing Techniques:

- Top down
- Bottom Up

Top-down integration testing: Testing takes place from top to bottom, following the control flow or architectural.
Components or systems are substituted by stubs.

Below is the diagram of Top down App roach:

Bottom-up integration testing: Testing takes place from the bottom of the control flow upwards.
Components or systems are substituted by drivers.
Below is the image of Bottom up approach:

Website:www.testingmasters.com
Email:[email protected]
Page # 13
Manual Testing

Stub: A stub is called from the software component to be tested.

Driver: A driver calls the component to be tested.

5.4 System Testing

What is system testing: “Once all the components are integrated, the application as a wh see that it meets the requirements?”

System testing is most often the final test to verify that the system to be delivered meets the specification and
its purpose.

Who will do the system testing: “System testing is carried outby specialist testers or index”.

5.5 User Acceptance Testing (UAT)


What is UAT: Acceptance testing is basically done to ensure the specification that the requirements are met”.

- The goal of acceptance testing is to establish confidence in the system.


- Acceptance testing is most often focused on a validation type testing.

Who will perform UAT: “Acceptance testing is basically done by the user or customer although other
stakeholders may be involved as well.”
Alpha Testing: “Alpha Testing is done at the developer’s site. It is done at the end”.
Beta Testing:
“Beta testing also known as user testing takes place at the end users site by the end users to validate the usability, functionality,
compatibility, and reliability testing.

Website:www.testingmasters.com
Email:[email protected]
Page # 14
Manual Testing

6. Verification & Validation

6.1 Verification
6.1.1 What is Verification: “The process of evaluating work-products (not the actual final
product) of a development phase to determine whether they meet the specified requirements.

Verification is done at the starting of the development process. It includes reviews


and meetings, walkthroughs, inspection, etc. to evaluate documents, plans, code, requirements
and specifications.

6.1.2 Who will perform: Peers (Sr Team Members, Architects, Analysts)

6.1.3 Verification Techniques:Below are the validation techniques

- Reviews
- Inspections
- Walk through

Reviews:“A review is a systematicexaminationof document by one or more people with the main aim
of finding and removing errors early in the software development life cycle.”

There are two types of Reviews held in verification. They are Formal Review and Informal Review.

a. Formal Review:“Formal reviews follow a formal process. It is well structured and regulated. It
contains: Planning, Kick-off, Preparation, Review meeting, Rework. ”

b. Informal Review:“Informal reviews are applied many times during the early stages of the life cycle of the
document. A two person team can conduct an informal review.” The most important thing to keep
in mind about the informal reviews is that they are not documented.

6.1.4 Inspection:

“Inspection is the most formal form of reviews, a strategy adopted during static testing phase.”

Website:www.testingmasters.com
Email:[email protected]
Page # 15
Manual Testing

- It is the most formal review type


- It is led by the trained moderators
- During inspection the documents are prepared and checked thoroughly by the
reviewers before the meeting

6.1.5 Walkthrough

“A walkthrough is conducted by document the author under of the review” who takes the participants document and his or
her thought processes to achieve a common understanding and to gather feedback”

6.2 Validation

6.1.1 What is Validation: “The process of evaluating software during or at the end of the
development process to determine whether it satisfies specified business requirements.”

6.1.2 Who will perform: Testing Team, Dev Team, Client or BA team

Criteria Verification Validation


To ensure that the product is being built To ensure that the product actually meets the
according to the requirements and design user‟s needs, and that the specifications were
objective specifications. In other words, to ensure that correct in the first place. In other words, to
work products meet their specified demonstrate that the product fulfills its intended
requirements. use when placed in its intended environment.
Question Are we building the product right? Are we building the right product?
Plans, Requirement Specs, Design Specs,
Evaluation Items The actual product/software.
Code, Test Cases

Activities Reviews, Walkthroughs, Inspections Testing

7. Functional & Non Functional Testing


Functional Testing: “Functional Testing is a testing technique that is used to test the features/functionality of
the Software”.

7.1 Smoke Testing:“Smoke testing refers to testing the basic functionality of the bui declared as unstable and it is NOT tested
anymore until the smoke test of the build passes.

7.2 Sanity Testing:“Software testing technique performed by the test team for some basic tests. The aim of
basic test is to be conducted whenever a new build is received for testing. “

Website:www.testingmasters.com
Email:[email protected]
Page # 16
Manual Testing

The terminologies such as Smoke Test or Build Verification Test or Basic Acceptance Test or Sanity
Test are interchangeably used, however, each one of them is used under a slightly different scenario.

Sanity test is usually unscripted, helps to identify the dependent missing functionalities. It is used to determine if the
section of the application is still working after a minor change.Sanity testing can be narrow and deep. Sanity test is a
narrow regression test that focuses on one or a few areas of functionality

7.3 Re-testing: “Retesting is executing a previously failed test against new software to check if the problem is
resolved. “

7.4 Regression Testing: “Regression testing is performed to verify if the build has NOT broken any other
parts of the application by the recent code changes for defect fixing or for enhancement. “

The purpose of a regression testing is to verify that modifications in the software or the environment have not
caused any unintended adverse side effects and that the system still meets its requirements.

7.5 Exploratory Testing: “Testing of software without any documents (test cases or test planning) and Identify the functionality of application by
exploring the application and exploring & learni

7.6 Monkey Testing: ”Monkey testing is a software testing technique in which the testing system under test randomly.
The input data that is used to test also generated randomly.

7.7 End to End Testing:“End-to-end testing is a methodology used to test whether the flow of an application
is performing as designed from start to finish.”

The purpose of carrying out end-to-end tests is to identify system dependencies and to ensure
that the right information is passed between various system components and systems.

Difference between System testing and End to End testing:

There isn't really a huge difference between the two and in some establishments the terms could be
used interchangeably. Everywhere is different.

System testing: You're testing the whole system i.e. all of its components to ensure that each is
functioning as intended. This is more from a functional side to check against requirements.

End to end testing: This is more about the actual flow through a system in a more realistic end user
scenario. Can a user navigate the application as expected and does it work. You're testing the workflow.

Non Functional Testing:

7.8 User Interface Testing:“Graphical User Interface (GUI) testing is checking the application design of
an application”.

Ex: Required/Optional, Fields Align, Lengths, Progress Bars, Scroll Bars, Alignments, etc

Website:www.testingmasters.com
Email:[email protected]
Page # 17
Manual Testing

7.9 Usability Testing: “In usability testing basically the testers tests the ease with which the user
interfaces can be used. It tests that whether the application is user-friendly or not. “

Usability Testing tests the following features of the software.

– How easy it is to use the software.


– How easy it is to learn the software.
– How convenient is the software to end user.

7.10 Stress Testing: “It is a form of testing that is used to determine the stability of a given system,
Stress testing involves testing beyond normal operational capacity, often to a breaking point, in order to
observe the results. “

Stress testing is a generic term used to describe the process of putting a system through stress.

7.11 Load Testing: “Load testing is performed to determine a system’s behavior under both normal and
at peak conditions. “

A load test is usually conducted to understand the behavior of the application under a specific
expected load.

E.g. If the number of users are in creased then how much CPU, memory will be consumed, what is the
network and bandwidth response time.

7.12 Performance Testing: “Performance testing is testing that is performed, to


determine how fast some aspect of a system performs under a particular workload. “

It can serve different purposes like it can demonstrate that the system meets performance criteria.

7.13 Localization Testing: “Localization translates the product UI and occasionally changes some initial
settings to make it suitable for another region.” Localization testing checks the quality of a product's
localization for a particular target culture/locale.

The test effort during localization testing focuses on:

- Areas affected by localization, such as UI and content


- Culture/locale-specific, language-specific, and region-specific areas

7.14 Globalization Testing: “Globalization Testing is testing process to check whether software can
perform properly in any locale or culture & functioning properly with all types of international inputs
and steps to effectively make your product truly global.”

Website:www.testingmasters.com
Email:[email protected]
Page # 18
Manual Testing

This type of testing validates whether the application is capable for using all over the world
and to check whether the input accepts all the language texts.

Ex: Let’s see another example of a Zip code field in Sign up form:

- For globalized, it should allow to enter alphanumeric inputs


- For localized (country like INDIA), it should allow only numbers in input field.

7.15 Security Testing: “Security testing is basically to check that whether the application or the product
is secured or not. “

Can anyone came tomorrow and hack the system or login the application without any authorization. It is
a process to determine that an information system protects data and maintains functionality as
intended.

Security testing is related to the security of data and the functionality of the application. You should
be aware of the following concepts while performing security testing:

1. Confidentiality - The application should only provide the data to the relevant party e.g. one
customer's transactional data should not be visible to another customer; the irrelevant
personal details of the customer should not be visible to the administrator and so on.

2. Integrity - The data stored and displayed by the application should be correct e.g. after a withdrawal,
the customer's account should be debited by the correct amount.

3. Authentication - It should be possible to attribute the data transmitted in the application to either
the application or the customer. In other words, no one other than the customer or the bank should be
able to create or modify any data.

4. Authorization - The application or a user should only be able to perform the tasks which they
are respectively authorized to perform e.g. a customer should not be able to withdraw more than
the balance in their account without having an overdraft facility, the application should not be
able to levy charges on a customer account without prior customer approval.

5. Availability - The data and functionality should be available to the users throughout the working
period e.g. if the bank's operating times are from 8 a.m. to 8 p.m. on all working days, it should be
possible for a customer to access their account and make the necessary transactions on their account.

6. Non-repudiation - At a later date, it should not be possible for a party to deny that a particular
transaction or data change took place e.g. if a customer withdraws an amount from their account, this
should trigger the relevant actions (posting to their transaction records, debiting their account and
sending them a notification etc.).

Website:www.testingmasters.com
Email:[email protected]
Page # 19
Manual Testing

7.16 Compatibility Testing: ”Compatibility Testing ensure compatibility of the application built
with various other objects such as other web browsers, hardware platforms, operating systems
etc.”

This type of testing helps find out how well a system performs in a particular environment that
includes hardware, network, operating system and other software etc.

Ex: Browser Compatibility Testing, OS Compatibility Testing

7.17 Installation Testing: “Installation testing is performed to ensure that all necessary
components are installed properly and working as per the requirements of the software, post
installation. Installation process may include partial, full or upgrade install. “

7.18 Recovery Testing: “Recovery testing is done in order to check how fast and better the
application can recover after it has gone through any type of crash or failure“

Ex: For example, when an application is receiving data from a network, unplug the connecting cable. After
some time, plug the cable back in and analyze the application’s ability to continue receiving data from the
point at which the network connection got disappeared. Restart the system while a browser has a definite
number of sessions and check whether the browser is able to recover all of them or not.

8. Windows & Web Application

8.1 What is Windows application: “A program that is written to run under Microsoft's
Windows operating system. “

8.2 What is Web application: “Web application is an application that is accessed via Web browser
over a network such as the Internet or an intranet. “

8.3 Difference between Windows & Web:

Windows Application:

a. Windows applications typically run under all 32-bit versions of Windows, but earlier
applications might also run under the 16-bit versions (Windows 3.x) as well. b. Runs
on personal computers and work stations.

Website:www.testingmasters.com
Email:[email protected]
Page # 20
Manual Testing

c. Window based app. need to be installed on your machine to access.


d. Windows applications (desktop) need to be installed on each client's PC.
e. Windows application runs faster than Webapplication.
f. Windows application has many inbuilt classes in .Net compared to Web application.

Web application:

a. It is a computer software application that is coded in a browser-supported language (such


as HTML, ASP, PHP, Perl, Python etc.) and reliant on a common web browser to render the
application executable.
b. Web applications are very much useful when they are hosted.Web app. can be
access from any ware in the world through the internet.
c. Web application is tested mainly for browser compatibility and operating system
compatibility, error handling, static pages, back-end testing and load testing.
e. Web applications are programs that used to run inside some web server (e.g., IIS) to
fulfill the user requests over the http.
f. Common Web applications include Webmail, online retail sales, online auctions,
wikis, discussion boards, Weblogs

Website:www.testingmasters.com
Email:[email protected]
Page # 21
Manual Testing

9. Software Testing Life Cycle (STLC)

“STLC consists of series of activities carried out methodologically to help certify your software product.
These activities are part ofthe Software Testing Life Cycle.”

The different stages in Software Test Life Cycle:

Website:www.testingmasters.com
Email:[email protected]
Page # 22
Manual Testing

9.1 Requirement Analysis: “During this phase, test team studies the requirements
from a testing point of view to identify the testable requirements.”

The QA team may interact with various stakeholders (Client, Business Analyst, Technical Leads, and
System Architects etc.) to understand the requirements in detail. Requirements could be either
Functional (defining what the software must do) or Non Functional (defining system performance
/security availability).

Deliverables:Requirement Traceability Matrix (RTM), Clarification Document

RTM: “Traceability matrix links a business requirement to its corresponding functional requirement.”

If a Test Case fails, traceability helps determine the corresponding functionality easily; it also
helps ensure that all requirements are tested.

Sample RTM:

Website:www.testingmasters.com
Email:[email protected]
Page # 23
Manual Testing

Clarification Document: “Contains all clarifications which will arise during the requirement
analysis phase”.

Sample:

Sno Date Module/Page Name Query Description Comments

9.2 Test Planning:

What is Test plan: “Test planning is the first step of the testing process. In this phase we identify
the activities and resources which would help to meet the testing objectives.”

What Test Plan contains: (IEEE 829 STANDARD TEST PLAN TEMPLATE)

Test plan identifier


Test deliverables
Introduction
Test tasks
Test items
Environmental needs
Features to be tested
Responsibilities
Features not to be tested
Staffing and training needs
Approach Schedule
Item pass/fail criteria
Risks and contingencies

Who will prepare the test plan: Test Lead or Test Manager.

Website:www.testingmasters.com
Email:[email protected]
Page # 24
Manual Testing

What is Test Strategy:“A Test Strategy document is a high level document and normally developed by
project manager. This document defines “Software Testing Approach” to achieve testing objectives. The
Test Strategy is normally derived from the Business Requirement Specification document.”

Test plan Vs Test Strategy: Generally it doesn’t matter which comes first. Test planning document is a
combination of strategy plugged with overall project plan. According to IEEE Standard 829-2008,
strategy plan is a sub item of test plan.

Every organization has their own standards and processes to maintain these documents. Some
organizations include strategy details in test plan itself. Some organizations list strategy as a
subsection in testing plan but details is separated out in different test strategy document.

Ex:Test plan gives the information of who is going to test at what time. For example: Module 1
is going to be tested by “X tester”. If tester Y replaces X for some reason, the test plan has to be
updated.

On the contrary, test strategy is going to have details like – “Individual modules are to be tested by test
team members. “ In this case, it does not matter who is testing it- so it’s generic and the change in the
team member does not have to be updated, keeping it static.

Deliverables: Test Plan with estimation

9.3 Test Case Development: “During this phase the test cases will be prepared”.

9.3.1 What is test case: “A test case is a set of conditions under which a tester will determine whether a
system under test satisfies requirements or works correctly.”

Writing Good Test Cases:

 As far as possible, write test cases in such a way that you test only one thing at a time. Do
 not overlap or complicate test cases. Attempt to make your test cases ‘atomic’.

  Ensure that all positive scenarios and negative scenarios are covered.

  Language:
  Write in simple and easy to understand language.
  Use active voice: Do this, do that.
  Use exact and consistent names (of forms, fields, etc).
  Characteristics of a good test case:
  Accurate: Exacts the purpose.
  Economical: No unnecessary steps or words.
  Traceable: Capable of being traced to requirements.
 Repeatable: Can be used to perform the test over and over.

Website:www.testingmasters.com
Email:[email protected]
Page # 25
Manual Testing

 Reusable: Can be reused if necessary.

9.3.2 Test Case Techniques:

  Equivalence Portioning (EP)


  Boundary Value Analysis (BVP)
 Error Guessing

Equivalence Portioning:“EP divides the input data of a software unit into partitions of equivalent
data from which test cases can be derived.”

Test cases are designed to cover each partition at least once. This technique tries to define test cases
that uncover classes of errors, thereby reducing the total number of test cases that must be developed.
An advantage of this approach is reduction in the time required for testing a software due to lesser
number of test cases.

Boundary Value Analysis: “Tests are designed to include representatives of boundary values “

Error Guessing: “The Error guessing is a technique where the experienced and good testers
are encouraged to think of situations in which the software may not be able to cope.”

The success of error guessing is very much dependent on the skill of the tester, as good testers know
where the defects are most likely to be. This is why an error guessing approach, used after more formal
techniques have been applied to some extent, can be very effective.

9.3.3 Test Data Preparation

What is Test Data: “In order to test a software application you need to enter some data for testing most
of the features. Any such specifically identified data which is used in tests is known as test data.”

Test data preparation: In the above example we can generate the inputs for Valid and Invalid partitions.

Ex:

Valid: 1, 2, 5, 10, 11, 12

Invalid: -2, -1, 0, 13, 15, 99, 150, 999

Website:www.testingmasters.com
Email:[email protected]
Page # 26
Manual Testing

9.3.4 Types of test cases

Functional Test Cases: “The test cases based on functional requirement specifications”

Positive Test Cases: “Test Cases with valid input and also verifying that the outputs are correct.”

Negative Test Cases: “This testing involves exercising application functionality using a combination of
invalid inputs, some unexpected operating conditions and by some other “out-of-bounds” scenarios.”

Non Functional Test Cases:“ The test cases based on functional requirement specifications
like performance, Load, Stress, Security, etc.”

9.3.5 Test Case Review: Reviewing is a form of testing too – the verification part of the V&V, also called
static testing.

Why Review: For exactly the same reason we test the software

  To uncover errors


  To check for completeness
 To make sure the standards and guidelines are followed

Review Checklist:

  Do test cases cover all requirements?


  Has each test case been assigned a test case identifier?
  Does each test case specify?
- Actions
- Test condition
- Expected result
  Have the expected results been recorded in detail?

  Is any method for validating expected results specified?

 Do test cases for field validations, record validations and database updates include
 the following?

- Valid conditions
- Invalid conditions
- Boundary or unusual conditions
  Do the test cases for reports include the test data along with the expected output?

  Have the inter test case dependencies been described?

 Have Pass/Fail criteria been specified?

Website:www.testingmasters.com
Email:[email protected]
Page # 27
Manual Testing

  Have all requested environments been specified?


  Has the method for logging on to the test environment been specified?
  Are pre-conditions for the test specified?
 Is the number of Test cases met customer standards?

Self-Review: “Review our own work by us”

Peer Review: “Review our own work by colleague”

Lead Review: “Review our work by our Test lead or Manager”

Client Review: “Review our work by client or business team after lead review.”

Deliverables: Test Case Document, Test Data

9.4 Test Environment Setup

“Test environment decides the software and hardware conditions under which a work product is tested.

Test environment set-up is one of the critical aspects of testing process and can be done in parallel with
Test Case Development Stage. Test team may not be involved in this activity if the customer or dev team
provides the test environment in which case the test team is required to do a readiness check (smoke
testing) of the given environment.

Deliverables: Test Environment

How many environments do we have: “A Typical project can have following environments”

- Dev
- QA
- Pre-Production
- Production

9.5 Test Execution

“In this phase testing team start executing test cases based on prepared test planning & prepared test
cases in the prior step in testing environment”.

Deliverables: Test cases updated with results

Website:www.testingmasters.com
Email:[email protected]
Page # 28
Manual Testing

9.6 Result Analysis & Reporting:

“After test execution phase, if the test case is passed then same can be marked as Passed. If any test
case is failed then corresponding defect can be reported to developer team via bug tracking system &
bug can be linked for corresponding test case for further analysis.”

Severity:It is the extent to which the defect can affect the software. In other words it defines the
impact that a given defect has on the system.

If an application or web page crashes when a remote link is clicked, in this case clicking the remote
link by an user is rare but the impact of application crashing is severe. So the severity is high but
priority is low.

 Critical: The defect that results in the termination of the complete system or one or more

 component of the system and causes extensive corruption of the data. The failed function is
unusable and there is no acceptable alternative method to achieve the required results then the
severity will be stated as critical.

 Major: The defect that results in the termination of the complete system or one or more

 component of the system and causes extensive corruption of the data. The failed function is
unusable but there exists an acceptable alternative method to achieve the required results then
the severity will be stated as major.

 Medium: The defect that does not result in the termination, but causes the
system to produce incorrect, incomplete or inconsistent results then the
severity will be stated as moderate.


 Minor: The defect that does not result in the termination and does not damage the usability of

the system and the desired results can be easily obtained by working around the defects
then the severity is stated as minor.


 Cosmetic: The defect that is related to the enhancement of the system where the changes are
related to the look and field of the application then the severity is stated as cosmetic.

Priority: “Priority defines the order in which we should resolve a defect. Should we fix it now, or can it
wait?”

Website:www.testingmasters.com
Email:[email protected]
Page # 29
Manual Testing

This priority status is set by the tester to the developer mentioning the time frame to fix the defect. If
high priority is mentioned then the developer has to fix it at the earliest. The priority status is set
based on the customer requirements.

For example: If the company name is misspelled in the home page of the website, then the priority is
high and severity is low to fix it.

 Low: The defect is an irritant which should be repaired, but repair can be deferred until
 after more serious defect has been fixed.

 Medium: The defect should be resolved in the normal course of development activities. It
 can wait until a new build or version is created.

 High: The defect must be resolved as soon as possible because the defect is affecting the
application or the product severely. The system cannot be used until the repair has been done.

Few very important scenarios related to the severity and priority which are asked during
the interview:

 High Priority & High Severity: An error which occurs on the basic functionality of the
 application and will not allow the user to use the system. (Eg. A site maintaining the
 student

details, on saving record if it, doesn’t allow to save the record then this is high priority and
high severity bug.)

 High Priority & Low Severity: The spelling mistakes that happens on the cover page or heading
or title of an application.


 High Severity & Low Priority: An error which occurs on the functionality of the application (for

which there is no workaround) and will not allow the user to use the system but on click of
link which is rarely used by the end user.


 Low Priority and Low Severity: Any cosmetic or spelling issues which is within a paragraph or in
the report (Not on cover page, heading, title).

Famous Defect Tracking Tools:

- Bugzilla
- JIRA
- ALM (QC)

Website:www.testingmasters.com
Email:[email protected]
Page # 30
Manual Testing

A typical Defect Tracker will have:

- Defect id
- Date
- Created By
- Assigned TO
- Bug description
- Steps to Reproduce
- Expected Result
- Comments
- Screen shots

Defect 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. Defect life cycle is related to the bug found during testing.

The Life cycle of the bug can be shown diagrammatically as follows:

 New: When a defect is logged and posted for the first time. It’s state is given as new.
 
 Assigned: After the tester has posted the bug, the lead of the tester approves that the bug
 is genuine and he assigns the bug to corresponding developer and the developer team. It’s
state given as assigned.


 Open: At this state the developer has started analyzing and working on the defect fix.

Website:www.testingmasters.com
Email:[email protected]
Page # 31
Manual Testing

 Fixed: When developer makes necessary code changes and verifies the changes then he/she
 can make bug status as ‘Fixed’ and the bug is passed to testing team.

 Pending retest: After fixing the defect the developer has given that particular code for retesting
 to the tester. Here the testing is pending on the testers end. Hence its status is pending retest.

 Retest: At this stage the tester do the retesting of the changed code which developer has given
 to him to check whether the defect got fixed or not.

 Verified: The tester tests the bug again after it got fixed by the developer. If the bug is not
 present in the software, he approves that the bug is fixed and changes the status to “verified”.

 Reopen: If the bug still exists even after the bug is fixed by the developer, the tester changes
 the status to “reopened”. The bug goes through the life cycle once again.

 Closed: Once the bug is fixed, it is tested by the tester. If the tester feels that the bug no longer
 exists in the software, he changes the status of the bug to “closed”. This state means that the
 bug is fixed, tested and approved.

 Duplicate: If the bug is repeated twice or the two bugs mention the same concept of the
 bug, then one bug status is changed to “duplicate“.

 Rejected: If the developer feels that the bug is not genuine, he rejects the bug. Then the state of
 the bug is changed to “rejected”.

 Deferred: The bug, changed to deferred state means the bug is expected to be fixed in next
releases. The reasons for changing the bug to this state have many factors. Some of them are
 priority of the bug may be low, lack of time for the release or the bug may not have major effect
 on the software.

  Not a bug: The state given as “Not a bug” if there is no change in the functionality of the

application. For an example: If customer asks for some change in the look and field of the
application like change of color of some text then it is not a bug but just some change in the
looks of the application.

9.7 Delivery & Maintenance

Evaluate cycle completion criteria based on Time,Test overage,Cost,Software,Critical Business


Objectives, Quality.

Typical Exit criteria may include the following:

  All Test plans have been run.


  A certain level of requirements coverage has been achieved.
  No high priority or severe bugs are left outstanding.
 All high-risk areas have been fully tested, with only minor residual risks left outstanding.

Website:www.testingmasters.com
Email:[email protected]
Page # 32
Manual Testing

 Cost–when the budget has been spent.


 The schedule has been achieved.

Maintenance: Once a system is deployed it is in service for years and decades. During this time the
system and its operational environment is often corrected, changed or extended. Testing that is
provided during this phase is called maintenance testing.

Usually maintenance testing is consisting of two parts:

First one is, testing the changes that has been made because of the correction in the system or if the
system is extended or because of some additional features added to it.

Second one is regression tests to prove that the rest of the system has not been affected by the
maintenance work.

Metrics:

A Metric is a quantitative measure of the degree to which a system, system component, or process
possesses a given attribute.

Metrics can be defined as “STANDARDS OF MEASUREMENT”.

Software Metrics are used to measure the quality of the project. Simply, Metric is a unit used
for describing an attribute. Metric is a scale for measurement.

Suppose, in general, “Kilogram” is a metric for measuring the attribute “Weight”. Similarly, in software,
“How many issues are found in thousand lines of code?”, here No. of issues is one measurement & No. of
lines of code is another measurement. Metric is defined from these two measurements.

Test metrics example:


  How many defects are existed within the module?
  How many test cases are executed per person?
 What is the Test coverage %?

Why Test Metrics?

Generation of Software Test Metrics is the most important responsibility of the Software Test
Lead/Manager.

“We cannot improve what we cannot measure.”


“We cannot control what we cannot measure”

Website:www.testingmasters.com
Email:[email protected]
Page # 33
Manual Testing

  Take decision for next phase of activities


  Evidence of the claim or prediction
  Understand the type of improvement required
 Take decision on process or technology change

Effectiveness: Doing the right thing. It deals with meeting the desirable attributes that
are expected by the customer.
Efficiency: Doing the thing right. It concerns the resources used for the service to be rendered

a. Test Plan coverage on Functionality:

Formula: (No of requirements covered / total number of requirements) * 100

b. Test Case defect density:

Formula: (Defective Test Scripts /Total Test Scripts) * 100

Example: Total test script developed 1360, total test script executed 1280, total test
script passed 1065, total test script failed 215.

So, test case defect density is :215 X 100 / 1280 = 16.8%

This 16.8% value can also be called as test case efficiency %, which is depends upon total
number of test cases which uncovered defects.

c. Defect Slippage Ratio: Number of defects slipped (reported from production) v/s
number of defects reported during execution.

Formula: Number of Defects Slipped / (Number of Defects Raised - Number of Defects Withdrawn)

Example: Customer filed defects are 21, total defect found while testing are 267, total
number of invalid defects are 17.

So, Slippage Ratio is [21/ (267-17)] X 100 = 8.4%

Website:www.testingmasters.com
Email:[email protected]
Page # 34
Manual Testing

d. Requirement Volatility: Number of requirements agreed v/s number of requirements changed.

Formula: Number of Requirements Added + Deleted + Modified) *100 / Number of Original Requirements

Example: VSS 1.3 release had total 67 requirements initially, later they added another 7
new requirements and removed 3 from initial requirements and modified 11 requirements.

So, requirement Volatility is (7 + 3 + 11) * 100/67 = 31.34%

Means almost 1/3 of the requirement changed after initial identification

e. Review Efficiency: The Review Efficiency is a metric that offers insight on the review quality and
testing some organization also use this term as “Static Testing” efficiency and they are aiming to
get min of 30% defects in static testing.

Formula=100*Total number of defects found by reviews/Total number of project defects

Example: A project found total 269 defects in different reviews, which were fixed and test team
got 476 defects which were reported and valid

So, Review efficiency is [269/(269+476)] X 100 = 36.1%

f. Defect Removal Effectiveness(DRE):

DRE= (Defects removed during development phase x100%) / Defects latent in the product
Defects latent in the product = Defects removed during development Phase+ defects found later by user

Website:www.testingmasters.com
Email:[email protected]
Page # 35
Manual Testing

Testing Terminology
1. Project: Requirements will come from one customer and mostly it will be used by customer and
his people.

2. Product: Requirements will come from various customers and will be used by more number of
customers.

3. Application: Group of programs designed for the customers to use for specific operations.

4. AUT (Application under Testing): After Designing and coding phase of development cycle,the
application(build) comes for testing then the application(build) is called "Application Under test".

5. Quality: Justification of the Requirements and absence of Defects, delivered on time.

6. Defect: Deviation from the requirement

7. SRS: System Requirement Specification, which is the actual requirement document.

8. BDD: Business Design Document, which is an initial document designed by business people and then
they will prepare the SRS.

9. Mock ups: In Design phase or for requirement phase, some sample screens replica of actual
application will be provided for team.

10. Use Case: It will describe the Basic Flow, Alternate Flow and Exceptional Flow, how the application
will be processed. Use case document will be used as the base document by both the Developers
and the Testers. Developers will write the code based on the Use case and Testers in turn will
identify test scenarios and write test cases based on the use case. Use will be written by the
Business Analysts from the Functionality requirement document.

11. Test Case: Test cases are the step wise description or activities which are going to be executed in
order to validate the application. The test cases will contain the step number, description or activity -
what action is going to happen while validation, the input data, the expected result and the actual

Website:www.testingmasters.com
Email:[email protected]
Page # 36
Manual Testing

result. The test cases are written based on the functionality or requirements or the use cases
received from the client. Test Cases will be prepared by Testing Team.

12. Test data: Test data is the data that is used in tests of a software system.
In order to test a software application you need to enter some data for testing most of the features.
Any such specifically identified data which is used in tests is known as test data.
You can have test data in excel sheet which can be entered manually while executing test cases or
it can be read automatically from files (XML, Flat Files, Database etc.) by automation tools.

13. Version Control: It is a system that records changes to a file or set of files over time so that you
can recall specific versions later.

14. Check out: Taking the document to edit (do the changes, ex: Updating the defect tracker,
test cases, etc) from the configuration management tool or common repository (VSS).

15. Check in: Releasing the document after performing the changes to the configuration management
tool or common repository (VSS).

16. Release notes: Release notes is a document which will be prepared by the dev team during the
release time. It will be delivered to the customers which contains the technical information about
changes addressed in the current release.

17. Build: Build is a version of software will be given for testing team to test. Usually release
contains multiple builds to test. Software is still in testing.

18. Release: Software is no longer in testing phase, ready to deliver to customer.

19. Delivery: Handover the working software constructed based on the customer requirements to the
customer on or before delivery date.

20. Test Deliverables: The documents which were prepared during the testing phase.

- Clarification Document / Query Tracker


- Traceability Matrix
- Test Case Document with results
- Defect Report (Open, Closed, Defer)
- Test Summary Report (Passed, Failed, Hold)

Website:www.testingmasters.com
Email:[email protected]
Page # 37
Manual Testing

21. Test Summary Report:

22. Traceability Matrix: t is a document that maps and traces user requirement with test cases. The
main purpose of Requirement Traceability Matrix is to see that all test cases are covered so that no
functionality should miss while testing.

23. Productivity: Effective hours produced by individual team members in the team. Ex, if a person stays
at office more than 10 hrs and he works only for 7 hrs and 3 hrs he didn’t work on the project, Then
the productivity is 7 hrs.

24. Variance: Variance is the difference between what was planned and the actual value. Ex, if planned
date is 20th Jan 15 and actual completion date is 25th Jan 15 then the variance is 5 days.

25. Estimation: Providing the time to finish the specific work.

26. Escalation: Taking the issue to next step. If there is a defect and defect is not accepting by the
dev team but still you believe that it’s an issue, you can contact customer for the issue.

27. Roles & Responsibilities: The work which we are going to perform after getting the Job. The
Responsibilities will change based on role. Ex, Test engineer will do requirement understanding,
test case preparation, execution and reporting the bugs. Test Lead will assign the work to his
team members, collects data, etc.

28. Entry Criteria: Entry criterion is used to determine when a given test activity should start.
It also includes the beginning of a level of testing, when test design or when test execution
is ready to start.

Website:www.testingmasters.com
Email:[email protected]
Page # 38
Manual Testing

29. Exit Criteria: Exit criterion is used to determine whether a given test activity has been completed or
NOT. Exit criteria can be defined for all of the test activities right from planning, specification and
execution.

30. Status Call: Status call will happen daily / weekly / monthly based on client/company rules
where we will discuss about project status.

31. MOM: Minutes of Meeting are the written or recorded documentation that is used to inform
attendees and non-attendees of the happenings during the meeting.

MOM Contains:

The names of the participants, the agenda items covered, decisions made by the participants, the
follow-up actions committed to by participants, due dates for the completion of commitments , and any
other events or discussions worth documenting for future review or history.

32. One to One: It is a face to face meeting.

33. Appraisal: The comp people (HR, Managers, and team) will assess the individual team
member based on Peer/Lead/Manager feedback and they will revise your salary or role. There
will be Midterm and annual appraisals based on company rules.

34. Rating: Giving ranking for the individual team member by the Lead/managers based on their
skills and their performance during appraisal period.

35. Time sheet: If a team member is billable (charging client) the he will have to submit his time sheet
weekly/daily contains his tasks completed during the week. Usually total hours per week are 40 hrs
which is 8 hrs per day.

Ex: Task Monday Tuesday Wednesday Thursday Friday


Test Case Preparation 2 hrs 4 hrs 5 hrs 7 hrs 8 hrs
Weekly Meeting 2 hrs 2 hrs 1 hrs
Requirement Understating 4 hrs 2 hrs 3 hrs
Total 8 hrs 8 hrs 8 hrs 8 hrs 8 hrs

36. Resource Funding / Billable: A resource (team member) who is being charging from client
for his work.

Website:www.testingmasters.com
Email:[email protected]
Page # 39
Manual Testing

37. Non Billable: A resource that is not being charged from client is called Shadow / non
billable resource.

38. OOO: Out of office, going out from office. Usually uses while informing to team that you are going
out from office.

39. Planned Leave: You planned your leave long before and applied. It’s a scheduled or planned well
before.

40. Un Planned or Sick Leave: Unscheduled and unplanned leave, usually take if resource is not
feeling well.

Usually we do have 16 planned leave (4 per quarter) and 5-10 sick leaves. It’s diff per company.

41. PTO: Paid Time Off, taking leave. Using the leaves (Planned Leave, Sick Leave) and still company pay
you salary for this time.

42. Notice Period: Once you want to move out of from the current company then we will quit the Job.
Company has a policy that we will have to inform before 2/3 months so that they will search for a
replacement for us.

43. Bench Mark: Finalising any document or any process. Ex, Finalising the test cases, requirement.

44. CTC: Cost to Company (CTC) is the salary package of an employee. It indicates the total amount of
expense an employer (organization) is spending for an employee in a year.

45. Variable Pay: Variable pay is used generally to recognize and reward employee contribution toward
company productivity, profitability, team work, safety, quality, or some other metric deemed
important.

This will be pay you based on your performance and company performance during the appraisal
period.

46. Basic Salary: Basic salary is the amount paid to an employee before any extras are added or taken off,
such as reductions because of salary sacrifice schemes or an increase due to overtime or a

Website:www.testingmasters.com
Email:[email protected]
Page # 40
Manual Testing

bonus. Allowances, such as internet for home-based workers or contributions to phone usage,
would also be added to the basic salary.

47. Gross Salary: Gross salary is the term used to describe all of the money you've made while working at
your job, figured before any deductions are taken for state and federal taxes, Social Security and health
insurance. If you work more than one job, you'll have a gross salary amount for each one.

48. Demo: Demonstrating the completed part of work or software to customer and will get his
feedback.

49. POC: Point of Contact, to whom we need to contact. There will be diff for diff departments. Ex, for
all QA related queries, you can contact Mr John, for all development related queries you can
contact Mr Anderson.

(OR)

Proof of Concept: A proof of concept (POC) is a demonstration, the purpose of which is to verify that
certain concepts or theories have the potential for real-world application. POC is therefore a
prototype that is designed to determine feasibility, but does not represent deliverables. Proof of
concept is also known as proof of principle.

50. Pipeline: In progress, expecting something shortly or near future. Ex, there is more work in pipe line.

51. Project Sign in: Project was finalised and the team is ready to work on.

Website:www.testingmasters.com
Email:[email protected]
Page # 41
Manual Testing

INTERVIEW FAQ’S

Q. What is the MAIN benefit of designing tests early in the life cycle?

Ans: It helps prevent defects from being introduced into the code.

Q. What is risk-based testing?

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

Q. 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?

Ans: 4, 5, 99

Q. What is the KEY difference between preventative and reactive approaches to testing?

Ans: Preventative tests are designed early; reactive tests are designed after the
software has been produced.

Q. What is the purpose of exit criteria?

Ans: The purpose of exit criteria is to define when a test level is completed.

Q. What determines the level of risk?

Ans: The likelihood of an adverse event and the impact of the event determine the level of risk.

Q. What is the MAIN objective when reviewing a software deliverable?

Ans: To identify defects in any software work product.

Website:www.testingmasters.com
Email:[email protected]
Page # 42
Manual Testing

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

Ans: Test case specification defines the expected results of a test.

Q: What is the benefit of test independence?

Ans: It avoids author bias in defining effective tests.

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

Ans: The exit Criteria is determined on the bases of ‘Test Planning’.

Q. What is beta testing?

Ans: Testing performed by potential customers at their own locations.

Q. What is the difference between Testing Techniques and Testing Tools?

Ans: Testing technique: – Is a process for ensuring that some aspects of the application system or unit
functions properly there may be few techniques but many tools.

Testing Tools: Is a vehicle for performing a test process. The tool is a resource to the tester, but it is
insufficient to conduct testing

Q. We use the output of the requirement analysis, the requirement specification as the
input for writing …

Ans: User Acceptance Test Cases

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

Ans: Regression Testing

Q. What is component testing?

Website:www.testingmasters.com
Email:[email protected]
Page # 43
Manual Testing

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

Q. What is functional system testing?

Ans: Testing the end to end functionality of the system as a whole is defined as a
functional system testing.

Q. What are the benefits of Independent Testing?

Ans: Independent testers are unbiased and identify different defects at the same time.

Q. What are the different Methodologies in Agile Development Model?

Ans: There are currently seven different agile methodologies that I am aware of:

1. Extreme Programming (XP)


2. Scrum
3. Lean Software Development
4. Feature-Driven Development
5. Agile Unified Process
6. Crystal
7. Dynamic Systems Development Model (DSDM)

Q: Which activity in the fundamental test process includes evaluation of the testability of
the requirements and system?

Ans: A ‘Test Analysis’ and ‘Design’ includes evaluation of the testability of the requirements and system.

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

Website:www.testingmasters.com
Email:[email protected]
Page # 44
Manual Testing

Q. What is random/monkey testing? When it is used?

Ans: Random testing often known as monkey testing. In such type of testing data is generated
randomly often using a tool or automated mechanism. With this randomly generated input the system
is tested and results are analysed accordingly. These testing are less reliable; hence it is normally used
by the beginners and to see whether the system will hold up under adverse effects.

Q. Which of the following are valid objectives for incident reports?

Ans:

1. Provide developers and other parties with feedback about the problem to enable
identification, isolation and correction as necessary.
2. Provide ideas for test process improvement.
3. Provide a vehicle for assessing tester competence.
4. Provide testers with a means of tracking the quality of the system under test.

Q: Consider the following techniques. Which are static and which are dynamic techniques?

Ans:

1. Equivalence Partitioning.
2. Use Case Testing.
3. Data Flow Analysis.
4. Exploratory Testing.
5. Decision Testing.
6. Inspections.

Data Flow Analysis and Inspections are static; Equivalence Partitioning, Use Case
Testing, Exploratory Testing and Decision Testing are dynamic.

Q: Why are static testing and dynamic testing described as complementary?

Ans: Because they share the aim of identifying defects but differ in the types of defect they find.

Q: What are the phases of a formal review?

Website:www.testingmasters.com
Email:[email protected]
Page # 45
Manual Testing

Ans: In contrast to informal reviews, formal reviews follow a formal process. A typical formal
review process consists of six main steps:

1. Planning
2. Kick-off
3. Preparation
4. Review meeting
5. Rework
6. Follow-up.

Q: What is the role of moderator in review process?

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

Q: What is an equivalence partition (also known as an equivalence class)?

Ans: An input or output ranges of values such that only one value in the range becomes a test case.

Q: When should configuration management procedures be implemented?


Ans: During test planning.

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

Ans: Security Testing

Q: Testing wherein we subject the target of the test , to varying workloads to measure and
evaluate the performance behaviours and ability of the target and of the test to continue
to function properly under these different workloads?

Website:www.testingmasters.com
Email:[email protected]
Page # 46
Manual Testing

Ans: Load Testing

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

Ans: Integration Level Testing

Q: What are the Structure-based (white-box) testing techniques?

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

Q: When “Regression Testing” should be performed?

Ans: After the software has changed or when the environment has changed Regression testing
should be performed.

Q: What is negative and positive testing?

Ans: A negative test is when you put in an invalid input and receives errors. While a positive testing, is
when you put in a valid input and expect some action to be completed in accordance with the
specification.

Q: What is the purpose of a test completion criterion?

Ans: The purpose of test completion criterion is to determine when to stop testing

Q: What can static analysis NOT find?


Ans: For example memory leaks.

Q: What is the difference between re-testing and regression testing?

Website:www.testingmasters.com
Email:[email protected]
Page # 47
Manual Testing

Ans: Re-testing ensures the original fault has been removed; regression testing looks for unexpected
side effects.

Q: What are the Experience-based testing techniques?

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

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

Q: Could reviews or inspections be considered part of testing?


Ans: Yes, because both help detect faults and improve quality.

Q: An input field takes the year of birth between 1900 and 2004 what are the boundary
values for testing this field?

Ans: 1899, 1900, 1950, 1951, 2004, 2005

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

Q: When should testing be stopped?

Ans: It depends on the risks for the system being tested. There are some criteria bases on which you
can stop testing.

1. Deadlines (Testing, Release)


2. Test budget has been depleted
3. Bug rate fall below certain level
4. Test cases completed with certain percentage passed
5. Alpha or beta periods for testing ends

Website:www.testingmasters.com
Email:[email protected]
Page # 48
Manual Testing

6. Coverage of code, functionality or requirements are met to a specified point

Q: Which of the following is the main purpose of the integration strategy for integration testing
in the small?

Ans: The main purpose of the integration strategy is to specify which modules to combine when and
how many at once.

Q: What is black box testing? What are the different black box testing techniques?

Ans: 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

1. Equivalence Partitioning
2. Boundary value analysis

Q: Which review is normally used to evaluate a product to determine its suitability for intended use
and to identify discrepancies?

Ans: Technical Review.

Q: Faults found should be originally documented by whom?


Ans: By testers.

Q: Which is the current formal world-wide recognized

documentation standard? Ans: There isn’t one.

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

Website:www.testingmasters.com
Email:[email protected]
Page # 49
Manual Testing

Q: 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.

Ans: Regression testing should be done on other modules as well because fixing one module
may affect other modules.

Q: Why does the boundary value analysis provide good test cases?

Ans: Because errors are frequently made during programming of the different cases near the ‘edges’ of
the range of values.

Q: What makes an inspection different from other review types?

Ans: It is led by a trained leader, uses formal entry and exit criteria and checklists.

Q: Why can be tester dependent on configuration management?

Ans: Because configuration management assures that we know the exact version of the testware and
the test object.

Q: What is a V-Model?

Ans: A software development model that illustrates how testing activities integrate with
software development phases

Q: What is maintenance testing?

Ans: Triggered by modifications, migration or retirement of existing software

Q: What is test coverage?

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

Website:www.testingmasters.com
Email:[email protected]
Page # 50
Manual Testing

Q: When do we prepare RTM (Requirement traceability matrix), is it before test case


designing or after test case designing?

Ans: It would be before test case designing. Requirements should already be traceable from Review
activities since you should have traceability in the Test Plan already. This question also would depend on
the organisation. If the organisations do test after development started then requirements must be
already traceable to their source. To make life simpler use a tool to manage requirements.

Q: What is called the process starting with the terminal modules?


Ans: Bottom-up integration

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

Q. The purpose of requirement phase is

Ans: To freeze requirements, to understand user needs, to define the scope of testing

Q. Why we split testing into distinct stages?

Ans: We split testing into distinct stages because of following reasons,

1. Each test stage has a different purpose


2. It is easier to manage testing in stages
3. We can run different test into different environments
4. Performance and quality of the testing is improved using phased testing

Q. What is DRE?

Ans: To measure test effectiveness a powerful metric is used to measure test effectiveness known as
DRE (Defect Removal Efficiency) From this metric we would know how many bugs we have found
from the set of test cases. Formula for calculating DRE is

DRE=Number of bugs while testing / number of bugs while testing + number of bugs found by user

Website:www.testingmasters.com
Email:[email protected]
Page # 51
Manual Testing

Q. 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

Ans: Regression testing

Q. How would you estimate the amount of re-testing likely to be required?

Ans: Metrics from previous similar projects and discussions with the development team

Q. What studies data flow analysis?

Ans: The use of data on paths through the code.

Q. What is Alpha testing?

Ans: Pre-release testing by end user representatives at the developer’s site.

Q. What is a failure?

Ans: Failure is a departure from specified behaviour.

Q. What are Test comparators?

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

Q. Who is responsible for document all the issues, problems and open point that were identified
during the review meeting

Ans: Scribe

Q. What is the main purpose of Informal review

Ans: Inexpensive way to get some benefit

Website:www.testingmasters.com
Email:[email protected]
Page # 52
Manual Testing

Q. What is the purpose of test design technique?

Ans: Identifying test conditions and Identifying test cases

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

Ans:Equivalence partitioning

Q. A test manager wants to use the resources available for the automated testing of a web
application.

Ans:The best choice is Tester, test Automater, web specialist, DBA

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

Ans:Send to the detailed information of the bug encountered and check the reproducibility

Q. 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.

Ans: V-Model

Q. 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.

Ans: Equivalence partitioning

Q.This life cycle model is basically driven by schedule and budget risks” This statement is best
suited for…

Ans: V-Model

Q. In which order should tests be run?

Ans: The most important one must tests first

Website:www.testingmasters.com
Email:[email protected]
Page # 53
Manual Testing

Q. The later in the development life cycle a fault is discovered, the more expensive it is to fix. Why?

Ans: The fault has been built into more documentation, code, tests, etc

Q. What is Coverage measurement?

Ans: It is a partial measure of test thoroughness.

Q. What is Boundary value testing?

Ans: 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.

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

Ans: Test Environment

Q. What can be thought of as being based on the project plan, but with greater amounts of detail?

Ans: Phase Test Plan

Q. What is exploratory testing?

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

Q. What is “use case testing”?

Website:www.testingmasters.com
Email:[email protected]
Page # 54
Manual Testing

Ans: In order to identify and execute the functional requirement of an application from end
to finish “use case” is used and the techniques used to do this is known as “Use Case Testing”

Bonus!

Q. What is the difference between STLC ( Software Testing Life Cycle) and SDLC ( Software
Development Life Cycle) ?

Ans: The complete Verification and Validation of software is done in SDLC, while STLC only does
Validation of the system. SDLC is a part of STLC.

Q. What is traceability matrix?

Ans: The relationship between test cases and requirements is shown with the help of a document. This
document is known as traceability matrix.

Q. What is Equivalence partitioning testing?

Ans: Equivalence partitioning testing is a software testing technique which divides the application input
test data into each partition at least once of equivalent data from which test cases can be derived. By
this testing method it reduces the time required for software testing.

Q. What is white box testing and list the types of white box testing?

Ans: White box testing technique involves selection of test cases based on an analysis of the internal
structure (Code coverage, branches coverage, paths coverage, condition coverage etc.) of a component
or system. It is also known as Code-Based testing or Structural testing. Different types of white box
testing are

1. Statement Coverage
2. Decision Coverage

Q. In white box testing what do you verify?

Ans: In white box testing following steps are verified.

1. Verify the security holes in the code

Website:www.testingmasters.com
Email:[email protected]
Page # 55
Manual Testing

2. Verify the incomplete or broken paths in the code


3. Verify the flow of structure according to the document specification
4. Verify the expected outputs
5. Verify all conditional loops in the code to check the complete functionality of the application
6. Verify the line by line coding and cover 100% testing

Q. What is the difference between static and dynamic testing?

Ans: Static testing: During Static testing method, the code is not executed and it is performed using the
software documentation.

Dynamic testing: To perform this testing the code is required to be in an executable form.

Q. What is verification and validation?

Ans: Verification is a process of evaluating software at development phase and to decide whether the
product of a given application satisfies the specified requirements. Validation is the process of
evaluating software at the end of the development process and to check whether it meets the
customer requirements.

Q. What are different test levels?

Ans:There are four test levels

1. Unit/component/program/module testing
2. Integration testing
3. System testing
4. Acceptance testing

Q. What is Integration testing?

Ans: Integration testing is a level of software testing process, where individual units of an
application are combined and tested. It is usually performed after unit and functional testing.

Q. What are the tables in testplans?

Website:www.testingmasters.com
Email:[email protected]
Page # 56
Manual Testing

Ans: Test design, scope, test strategies , approach are various details that Test
plan document consists of.

1. Test case identifier


2. Scope
3. Features to be tested
4. Features not to be tested
5. Test strategy & Test approach
6. Test deliverables
7. Responsibilities
8. Staffing and training
9. Risk and Contingencies

Q. What is the difference between UAT (User Acceptance Testing) and System testing?

Ans: System Testing: System testing is finding defects when the system under goes testing as a whole, it
is also known as end to end testing. In such type of testing, the application undergoes from beginning till
the end.

UAT: User Acceptance Testing (UAT) involves running a product through a series of specific
tests which determines whether the product will meet the needs of its users.

Q. What is Dynamic Testing?


Ans. It is the testing done by executing the code or program with various input values and output is
verified.

Q. What is GUI Testing?


Ans. GUI or Graphical user interface testing is the process of testing software user interface against
the provided requirements/ Mock-ups/HTML designs.

Q. What is Formal Testing?


Ans. Software verification carried out by following test plan, testing procedures
and proper documentation with an approval from customer

Website:www.testingmasters.com
Email:[email protected]
Page # 57
Manual Testing

Q. What is Risk Based Testing?


Ans: Identifying the critical functionality in the system then deciding the orders in
which these functionality to be tested and applying testing.

Q. What is Early Testing?


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

Q. What is Exhaustive Testing?


Ans. Testing functionality with all valid, invalid inputs and preconditions is called exhaustive testing.

Q. What is Defect Clustering?


Ans. Any small module or functionality may contain more number of defects – concentrate more
testing on this functionality.

Q. What is Static Testing?


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

Q. What is Positive Testing?


Ans. Testing conducted on the application to determine if system works. Basically known
as “test to pass” approach.

Q. What is Negative Testing?


Ans: Testing Software with negative approach to check if system is not “showing error when not
supposed to” and “not showing error when supposed to”.

Q. What is End-to-End Testing?


Ans. Testing the overall functionality of the system including the data integration among all the
modules is called end to end testing.
Q. What is Exploratory Testing?
Ans. Exploring the application, understanding the functionality, adding (or) modifying existing test
cases for better testing is called exploratory testing.

Q. What is Monkey Testing


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

Website:www.testingmasters.com
Email:[email protected]
Page # 58
Manual Testing

Q. What is Non-functionality Testing?


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

Q. What is Usability Testing?


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

Q. What is Security Testing


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

Q. What is Performance Testing?


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

Q. What is Load Testing?


Ans. Analysing functional and performance behaviour of the application under various conditions is
called Load Testing.

Q. What is Stress Testing?


Ans. Checking the application behaviour under stress conditions
(OR)
Reducing the system resources and keeping the load as constant checking how does
the application is behaving is called stress testing.

Q. What is Process?
Ans. A process is set of a practices performed to achieve a give purpose; it may include tools, methods,
materials and or people.

Q. What is Software Configuration Management?


Ans. The Process of Identifying, Organizing and controlling changes to software development and
maintenance.
(OR)
A methodology to control and manage a software development project

Q. What is Testing Process / Life Cycle?


Ans. Write Test Plan

Website:www.testingmasters.com
Email:[email protected]
Page # 59
Manual Testing

Test Scenarios
Test Cases
Executing Test Cases
Test Results
Defect Reporting
Defect Tracking
Defect Closing
Test Release

Q. What is full form of CMMI?


Ans. Capability Maturity Model Integration

Q. What is Code Walk Through?


Ans. Informal analysis of the program source code to find defects and verify coding techniques.

Q. What is Unit Level Testing?


Ans. Testing of single programs, modules or unit of code.

Q. What is Integration Level Testing?


Ans. Testing of related programs, Modules (or) Unit of code.
(OR)
Partitions of the system ready for testing with other partitions of the system.

Q. What is System Level Testing?


Ans. Testing of entire computer system across all modules. This kind of testing can include functional
and structural testing.

Q. What is Alpha Testing?


Ans. Testing of whole computer system before rolling out to the UAT.

Q. What is User Acceptance Testing (UAT)?


Ans. Testing of computer system by client to verify if it adhered to the provided requirements.

Q. What is Test Plan?


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

Q. What is Test Scenario?


Ans. Identify all the possible areas to be tested (or) what to be tested.

Q. What is a Defect?
Ans.Expected result is not matching with the application actual result.

Website:www.testingmasters.com
Email:[email protected]
Page # 60
Manual Testing

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

Q. What is Priority?
Ans. It indicates the importance or urgency of fixing a defect
Q. What is Re-Testing?
Ans. Retesting the application to verify whether defects have been fixed or not.

Q. What is Regression Testing?


Ans. Verifying existing functional and non-functional area after making changes to the part of
the software or addition of new features.

Q. What is Recovery Testing?


Ans. Checking if the system is able to handle some unexpected unpredictable situations is
called recovery testing.

Q. What is Globalization Testing?


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

Q. What is Localization Testing?


Ans. Verifying of globalized application for a particular locality of users,
cultural and geographical conditions.

Q. What is Installation Testing?


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

Q. What is Un-installation Testing?


Ans. Checking if we are able to uninstall the software from the system successfully (or) not is called
Uninstallation Testing

Q. What is Compatibility Testing?


Ans. Checking if the application is compatible to different software and hardware environment or not is
called compatibility testing.

Q. What is Test Strategy?


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

Website:www.testingmasters.com
Email:[email protected]
Page # 61
Manual Testing

Q. What is Test Case?


Ans. A Test case is a set of preconditions steps to be followed with input data and expected behaviour to
validate a functionality of a system.

Q. What is Business Validation Test Case?


Ans. A test case is prepared to check business condition or business requirement is called business
validation test case.

Q. What is a Good Test Case?


Ans. A Test case that have high priority of catching defects in called a good test case.

Q. What is Use Case Testing?


Ans. Validating a Software to confirm whether it is developed as per the use cases or not is
called use case testing.
Q. What is Defect Age?
Ans. The time gap between date of detection & date of closure of a defect.

Q. What is Showstopper Defect?


Ans. A defect which is not permitting to continue further testing is called Showstopper Defect

Q. What is Test Closure?


Ans. It is the last phase of the STLC, Where the management prepares various test summary reports
that explains the complete statistics of the project based on the testing carried out.

Q. What is Bucket Testing?


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

Q. What is Concurrency Testing?


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

Q. What is Web Application Testing?


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

Q. What is Unit Testing?


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

Website:www.testingmasters.com
Email:[email protected]
Page # 62
Manual Testing

Q. What is Interface Testing


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

Q. What is Test Harness?


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

Q. What is Scalability Testing?


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

Q. What is Fuzz Testing?


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

Q. What is Difference between QA, QC and testing?


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

Q. What is Date Driven Testing?


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

Q. Roles in Agile?

Website:www.testingmasters.com
Email:[email protected]
Page # 63
Manual Testing

Q. What is the process of Agile?

Website:www.testingmasters.com
Email:[email protected]
Page # 64
Manual Testing

SAMPLE RESUMES
<<Name>>

Senior Engineer QA, Virtusa.

E-Mail:

Mobile:

PROFESSIONAL SUMMARY

 

Have 3+ years of solid experience in Software Testing.
 
 Proven Experience in Web Application Testing.

  
Testing expertise on Ad-Hoc Testing, Functional Testing, Regression Testing, System Integration Testing, Smoke testing,

Non-Functional Testing and User Acceptance testing.
 Professional Software Experience which includes Effective Test planning.
 
 Proficient in using the test management tool – HP QC.
 
Exposure to performance testing tool–Jmeter.
 
Efficient in Project Planning and Resource Management.

Website:www.testingmasters.com
Email:[email protected]
Page # 65
Manual Testing
 
 Good exposure to creation and execution of Test documentation.

  
Exposure to QA processes
and ability to set up a QA team on new requirements – in and out knowledge
 of STLC and SDLC. 
 Excellent communication and documentation skills. 
 
 Ability to scale quickly on new technologies, needs of the project and demonstrate the required skills.
 

 Active strong team player, detail oriented, self-motivated and performs well under pressure. 

  
Self-directed, proactive and capable of working effectively in a highly innovative and fast-paced
environment.

  
Passionate about Quality Assurance and Quality control & always strive for new ways to maximize

efficiency and effectiveness of QA processes.

Strong leadership, organizational, problem solving, troubleshooting, debugging, negotiation and analytical skills.

TECHNICAL SKILLS

Testing skills Manual Testing, Functional Testing, & Database Testing.

Test Management Tool HP QC.

Utilities MS Office, SQL Server

EXPERIENCE

01/13 – PRESENT, SENIOR ENGINEER QA

Project Title 1 ONE CLAIM

Clients AIG

Environment PEGA & SQL Server 2005

Project Description
Chartis One Claim is the Chartis global Solution for Claims intake,
adjudication and management on a global basis. Chartis One Claim vision is

Website:www.testingmasters.com
Email:[email protected]
Page # 66
Manual Testing

to transform current claim organization throughout the world into a


unified, High-Performing, global organization that creates additional value
through Improved claim handling with consistent application of best
practice.

Responsibilities  
 Understand and analyze Business, Functional, Technical and UI (User 
Interface) requirements of the project/release.
Responsible to understand and document testing requirements, provide
test estimates, create and review test cases, execute and review test results,
create and submit test reports to stake holders.

  
Determine, procure, control, maintain and optimize the test environment
(hardware, software and network).

 
 updated
Track the new/ requirements in the project and modify testing artifacts
accordingly.
 
Track the assigned tasks with respect to the software test plan and the project


schedule.

 
Work with Application, Technical Architects, Business Analysts
 and other project stake
holders to estimate, plan and execute Assembly Test Suites.

Communicate with the client or on site/ offshore, International QA teams, as required
Review test deliverables, defects, test results created by team members.


Looks for opportunities to identify best practices to increase productivity or
 quality of the testing discipline approach internally and

externally.
Create reports (daily status reports and weekly reports) and create testing metrics

 as requested by senior management.
 Performs Smoke Tests in different regions.
 
 Performs SIT testing through back-end verification process.
 
 Performs Regression testing.

Manage Testers work (during test plan and test execution), ensure testing is
completed on time , resolve conflicts arising between team members or
with external team members, keep team members motivated in the
absence of lead.


Ensure testing team is following testing standards, guidelines, and testing methodology as
documented in Test Approach.
Follows Entry Criteria is met before starting with testing.
 
 Follows Exit Criteria is met and communicates the same to Test Lead. 


Follow as per deliverables are created as per Quality Management practices
followed by the company or as outlined for the project/release. Participate in QA (Quality
Assurance) reviews and provides required support


 Website:www.testingmasters.com
Email:[email protected]
Page # 67
Manual Testing

and clarifications as need for the reviewers.



 
Shared technical knowledge with team members enhancing the overall
productivity of the team.
Ensures all the testing deliverables and reports are version controlled and are
accessible for our testing team and other privileged users.
 

Attend daily defect triage calls with clients to discuss about the course of the project.
  
Mentors the new joiners in a team about work and QA process.
 
Conducts training sessions for other business units within the organization.

12/12 – 01/13, ASSOCIATE ENGINEER QA

Project Title GE Transportation

Clients GE
Environment JMETER, SQL Server 2005

The main object of GE transportation is related to procurement,


Project Description managing the requests that are logged by user. There are 3 kinds of users
related to privileges depends on that using of application is processed
 
Responsibilities Identified the business critical scenarios for performance testing.
 
 Prepared the test environment with JMeter performance testing tool.


Created required test data and maintain common test data sheet of the

 project/release.
 Executed test scripts and documented test results. 
 
 Analyzed test results and coordinate with development teams for bug fixes. 
 
 Worked with testing team to develop performance test plans and cases.
 
 Generated test summary reports for management review. 
 
 Followed the content and structure of all Testing documents / artifacts. 

Analyzed root causes of performance issues and provide corrective actions

09/10 – 11/12, ASSOCIATE ENGINEER QA

Website:www.testingmasters.com
Email:[email protected]
Page # 68
Manual Testing

Project Title JPMC-CIG-ENTITLEMENTS

Clients
JPMORGAN CHASE
Environment JAVA, XML, JavaScript, IIS, SQL Server 2005

The main object of JPMC-CIG-Entitlements- Project in CSC is mainly the


functional testing of application. It is a Web-based tool that allows you to
create new clients, modify the existing clients and provide entitlements to
the different users. If we make changes to the existing services in the
Administration Center, the changes are typically saved and replicated in all
Project Description data centers. This solution is the best way to manage your entire corporate
bank account structure around the world. Instantly see what accounts are
open, closed, active or inactive, what services are tied to each account and
their individual signing limits. Easy to use web interface presents and
controls your entire banking relationship universe. Account information
created and edited in real-time.

Responsibilities 
Active participation in analyzing/forecasting/ estimating requirements during the
 requirements analysis phase of projects. 


  Created test scenarios, test conditions & Expected results and test cases.


Directly interacting with the client regarding quick updates and

 requirement clarifications.


Created required test data and maintain common test data sheet of the
 project/release. 

 Executed test scripts and documented test results.



Experienced with functional testing, Cross-Functional testing, load testing, re-

 testing, regression testing, data-base testing, and policy testing, Audits, Alerts 
& Notifications testing and performance testing in a network environment.

  
Promptly escalated issues, which affected product delivery and quality that are
beyond scope of influence.


Reviewed and consolidated Daily status reports of every tester for respective project

in the absence of lead.

Tracked and reported upon testing activities, including testing results,

 test case coverage, required resources, defects discovered and their

 status, performance baselines, etc. 


 Followed the content and structure of all Testing documents / artifacts.
 
 Provided Bug Analysis after project completion to the reporting lead. 

Logged defects in bug tracking tools and verified defect fixes.

Website:www.testingmasters.com
Email:[email protected]
Page # 69
Manual Testing
  
Performed Defect reviews and Defect Tracking.

Assisted the production team with conflict management on the project by

providing creative solutions based on project, technical and people knowledge.

ACHIEVEMENTS

 
 
Achieved “Tester of the month” continuously three months for finding the critical issues in the project.
 

 Achieved “Star of the Quarter award” being part of smooth delivery of the project.
 
 Received “PEP” awards continuously two quarters for best DSI.
 
Received “CAP” award as part of client appreciation.

Received Certificate of appreciation from chairman’s Desk as token of appreciation for the AIG

project.
 
Actively participated in “GTMS Survey” for the best ideas from the employees.

ACADEMIC QUALIFICATIONS

 

M.TECH in CSE[JNTU UNIVERSITY]
 
B.TECH in CSE[JNTU UNIVERSITY]

<<Name>>
Ph:
Senior Test Engineer

PROFESSIONAL SUMMARY
 A dedicated professional with 3 years of IT experience; including 1 years in STB domain and 2 years in Mobile
Application domain.
B Tech in ECE; presently associated with CISCO Video Technologies IPL as Software Test Engineer.
 Professional software experience which includes effective Test Case Designing, Test Case Preparing and Test
 Cases execution to verify the functionality against the requirements.
Ability and flexibility to work on multiple tasks and projects.
Hands on Experience in Set Top Box - Full Stack-System Level
 Testing.Area of expertise in the field of DVB Standards.
Skilled in understanding Software Requirement Specification and identifying the required
TestScenarios.Defect management involving Bug fixing & Bug reporting using different
tools. Exposure to Quality Processes, Project Transition and Quality Implementation.
Good interpersonal skills, committed, result oriented, hard working with a quest and zeal to learn new
 technologies.
Strengths include Manual Testing, Mercury Quality Center, Clear Case, Clear Quest, Stream viewer and Basics
ofC.

Website:www.testingmasters.com
Email:[email protected]
Page # 70
Manual Testing

COMPETENCIES
Team Handling Project Management Customer Management
Analytical & Problem Solving Client Interaction Presentation & Communication
Quality/Compliance Management Technical Knowledge Creating Test Cases

TECHNICAL SKILLS
Languages : C, Basics of Python, Basics of SQL
Test Management Tools : Hades, Mercury Quality Center 10.0
Defect Tracking Tools : JIRA, DevTrack and Clear Quest
Domain Specific : STB - DVB Standards, MPEG codecs DVB-S/S2 DVBT
Tools : Red Rat, Stream viewer, IEX, VGC, Clear-case, Source Insight, MHSI Analyser, Express
SMS, Wireshark

CAREER PATH
CISCO Video Technologies IPL May 2013 -
Present
Software Test Engineer

NDS Services Pay TV Technology Pvt. Ltd Nov 2010 - Apr


2013
Software Test Engineer

(CISCO Systems Acquired NDS in Mar 2012)


Software Test Engineer

EA Sports Pvt. Ltd Nov 2008 - Nov


2010
Quality Assurance - Testing Engineer

KEY HIGHLIGHTS
 Awarded “Connected through Award” for excellent contribution in Testing for project: 3G STB.
 Awarded “Recognition Award” for excellent contribution in Testing for project: STB PVR - SKY.

KEY CONTRIBUTIONS - PROJECTS


Project : Headed Gateway – Cable
Period : Feb 2014 – Present
Client : European Client
Location : CISCO systems, Bangalore
Hardware : STB-Pace chipset BCM7424 (CABLE), PACE 7424 (IPTV)
Environment/OS : Fusion Middleware / Linux
Tools : Quality Center, Clear Quest, IEX, VGC, Wireshark, Teraterm
Description : Execute the Full Stack Image Testing on different features like Profiling, Click Through, Wi-
Fi, Transcoding for home networking devices, Software Downloading, VOD, Logos,
subtitles, search, PVR functionalities, Migration, etc.
Responsibilities : Responsible for writing the test cases for different features based on customer
requirements.
Responsible in validating specific feature wise requirements.
Responsible for execution of middle-ware and system level tests
whichinvolvesperforming smoke test, Sanity, Feature based tests & STP test case
from first playable

Website:www.testingmasters.com
Email:[email protected]
Page # 71
Manual Testing

to Code Release stage.


Responsible for updating the CQ tracker with CQ’s identified & follow up on the CQ’s
 raised by the team.
Responsible for listing the stream requirements & testing the stream which is setup for
executing different feature tests.

Project : 3G STB
Period : Jun 2012 - Feb 2014
Client : European Client
Location : CISCO systems, Bangalore
Hardware : STB-Pace7335, Kaon 7356, Kaon 7424
Environment/OS : Fusion Middleware / Linux
Tools : Quality Center, Clear Quest, Red Rat, Teraterm, Clear case
Description : Execute the Full Stack Image Testing on different features like Profiling, Click Through, Wi-
Fi, Transcoding for home networking devices, TMS (profile/device specific), VOD, Logos,
subtitles, search, PVR functionalities, etc.
Responsibilities : Responsible for writing the test cases for different features based on customer
requirements.
 Responsible in validating specific feature wise requirements.
 Responsible for execution of middle-ware and system level tests which involves
performing smoke test, Sanity, Feature based tests & STP test case from first playable
 to Code Release stage.
Responsible for updating the CQ tracker with CQ’s identified & follow up on the
 CQ’s raised by the team.
Responsible for listing the stream requirements & testing the stream which is setup for
executing different feature tests.
Responsible for training the peers on different features.

Project : Dynamic Ad Substitution


Period : Apr 2012 - Jun 2012
Client : Asian Client
Location : NDS Pay TV Services, Bangalore
Hardware : STB-Kaon
Environment/OS : Fusion Middleware / Linux
Tools : Quality Center, Clear Quest, Red Rat, Teraterm, Clear case
Description : Ad Substitution: is a feature to substitute the region/profile specific advertisements in the
Set Top Box during the common Ad break.
Objective is to perform Full Stack Level Testing on the Ad substitution related and the basic
zapper box features.
Responsibilities : Responsible for execution of middle-ware and system level tests which involves
performing smoke test, Sanity, Feature based tests & STP test case from first playable
to Code Release stage.
Responsible for updating theCQ tracker with CQ’sidentified.

Project : STB PVR – SKY


Period : Nov 2010 - Apr 2012
Client : Italian Client
Location : NDS Pay TV Services, Bangalore
Hardware : STB- Samsung990v, BSB890i, Pace865
Environment/OS : Fusion Middleware / Linux
Tools : Quality Center, Clear Quest, Red Rat, Teraterm, Clear case
Description : PVR: which allows the end user to record, playback, LIVE Pause; perform trick modes on
the recorded contents.
Objective is to perform Full Stack Level Testing on VOD,PVR & Zapper functionalities of Set

Website:www.testingmasters.com
Email:[email protected]
Page # 72
Manual Testing

Top Box.
Responsibilities : Responsible for writing the test cases for the few features based on customer
requirement.
Responsible for execution of middle-ware and system level tests which involves
execution of Sanity, ATP, Regression, BATP, SBATP Test cases from first playable to
Code Release stage.
Responsible for updating the CQ tracker with CQ’s identified & follow up on the CQ’s
raised by the team.
Responsible for listing the stream requirements & testing the stream which is setup for
executing different feature tests.
Responsible for training the peers on different features.

Project : No. 1
Platform : WinCE
Location : EA Mobiles Pvt. Ltd, Hyderabad
Titles : The Sims3, Spore, Tetris, Trivial Pursuit, Wolverine
Responsibilities : Responsible for preparing the test plan.
Responsible for preparing the text and functionality checklist.
Responsible for execution of sanity, Regression testing on every release of build to QC
for different devices from first playable to Code Release stage.
Responsible for updating the CQ tracker with CQ’s identified

Project : No. 2
Platform : Android
Location : EA Mobiles Pvt. Ltd, Hyderabad
Titles : The Sims3, Tetris, Trivial Pursuit
Responsibilities : Responsible for preparing the test plan.
Responsible for preparing the text and functionality checklist.
Responsible for execution of sanity, Regression testing on every release of build to QC
for different devices from first playable to Code Release stage.
Responsible for updatingthe CQ tracker with CQ’s identified.
Project : No. 3
Platform : J2ME, BREW
Location : EA Mobiles Pvt. Ltd, Hyderabad
Titles : NFS Shift, American Idol, Harry Potter and the Deathly Hallows
Responsibilities : Responsible for preparing the test plan.
Responsible for preparing the text and functionality checklist.
Responsible for execution of sanity, Regression testing on every release of build to QC
for different devices from first playable to Code Release stage.
Responsible for updating the CQ trackerwith CQ’s identified.

EDUCATION
Qualification Institute Year %
B Tech (ECE) Sree Kavitha Engineering College, (JNTU) 2008 69
Intermediate (MPC) Sri Chaitanya Haritha Junior College, (IBE) 2004 89.2
Higher Secondary (SSC) St. Mary’s Girls High School 2001 74

REFERENCES
 Available on request.

Website:www.testingmasters.com
Email:[email protected]
Page # 73
Manual Testing

Website:www.testingmasters.com
Email:[email protected]
Page # 74
SELENIUM

1. Sean is coding to automate a web application using the webDriver library. He had set the implicit
wait of 30 seconds. However, the webelement was found within 10s. Will the webdriver wait for
further 20 seconds before executing the next line of code?

Ans: No, webDriver won’t wait 20 more seconds.

2. Which method is used in the Apache POI library to fetch the cell value from a row? Identify the
correct format of invoking the library functions to get the value from the cell

Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()

3. Sarah is coding to automate script to switch to multiple windows in a web application. She has to
store all the window instances in a java variable which is retrived by driver.getWindowHandles().
Suggest sarah with a compatable return type to store the window references.

Ans:Set <string>

4. sarah has her code in git local repository, but her team lead had pushed the new changes into the
remote repository, Which git command would you recommend Sarah with new changes into her
working copy?

Ans: add

5. Sean is automating a test scenario in which he has to fetch the URL of the webpage using
webDriver API. Suggest a method fo Sean to get the link address

Ans: getCurrentURL()

6. Mary is struggling to find a suitable simple wild cart character that matches any single character.
Please suggest to her which of the following characters many be relevant to her search

Ans: (?) – single character search (*) – one or more

1) Which of the following is correct about generating XML suite file in testNG for Test Suite
Execution

a TestNG XML Suite file can be generated at the time of creating a TestNG class.

b TestNG XML Suite file can be generated using ‘convert to TestNG’ option in Eclipse after a java

class is created.

c TestNG XML Suite file can be automatically generated when user creates a maven java project

d There is no option in Eclipse to generate XML Suite file

e TestNG XML Suite file can be generated by Jenkins plugin


2) Sean is coding an automated script to launch the web application on a browser window. Which of
the following listed option will help Sean to launch the desired application on a web browser in
selenium?

a driver.get(“url”)

b driver.navigate().to(“URL”)

c driver.navigate(“URL”)

d driver.getUrl(“URL”)

e driver.setUrl(“URL”)

3) Sam is designing an automation test, where test data is specified in an external excel file. Which
command will be helpful to get across to the 2nd sheet of excel file. Assume wb is the workbook
object.

a wb.getSheetAt(1)

b wb.getSheetAt(2)

c wb.getSheet(1)

d wb.getSheet(2)

4)Sean configured his project for the test suite execution using TestNG. He wants to perform parallel
execution of the test cases. Which attribute represents the parallel execution of the test cases?

a parallel = “methods”

b parallel="tests"

c parallel = “test-classes”

d parallel =”test-cases”

5) Kevin is designing an automation test, where test data is specified in an external excel file. Which
command will be helpful to write the data into a cell of the excel file? Assume c1 is the cell object.

a c1.setCellValue("data")

b c1.setValue(“data”)

c c1.writeCellValue(“data”)

d c1.setCellData(“data”)
6) Sarah wants to automate the selection of only one option from a drop-down box as shown
below.

<html>

<body>

<select multiple>

<option value = “web”> html</option>

<option value = “prog”> python</option>

<option value = “prog”> java</option>

<option value = “prog”> python</option>

<option value = “prog”> java</option>

</select>

</body>

</html>

Sarah has to select only the fourth option i.e. python from the option list .

a selectByVisibleText()

b selectByValue()

c selectByIndex()

d All of the above

DDT

Sam is designing an automation test, where test data is specified in an external excel file. Which
command will be helpful to get access to the 2nd sheet of the excel file. Assume wb Is the workbook
object

wb.getSheetAt(1)

wb.getSheetAt(2)

wb.getSheet(1)

wb.getSheet(1)

EXTENT REPORTS
Which of the following Java classes are from the Extent API library?

ExtentReports

Status

TakesScreenshot

Actions

SWITCHING TO WINDOWS

Which of the following methods is used to close all the opened windows of WebDriver Instance?

Close()

Quit()

Null()

Sleep()

ACTIONS

Sean is coding an automation script for emulating user actions by mouse using the webdriver library.
Assist Sean to choose correct syntax to create an object for actions class from the following options

Actions act = new Actions(driverInstance)

Actions act = new Actions()

New Actions(driverInstance)

Actions act = (Actions)driverInstance

Actions.callMethods()

EXTENT REPORTS

Which date format is used to customize the system data to year-month-day format?

new SimpleDateFormat(“yyyy-mm-dd”)

new SimpleDateFormat(“yyyy-MM-dd”)

new SimpleDateFormat(“yyyy-month-dd”)

new SimpleDateFormat(“yyyy-mmm-dd”)
WEBDRIVER API

Fuller has written an automation script using selenium webdriver commands. He has used all the
necessary and appropriate locators for interacting with the web elements. When he executed the
script the web driver was not able to locate an element resulting in the test script failure. Which
error/ exception is thrown by webdriver?

NoSuchElementException

NoSuchElementError

NullPointerException

ObjectNotFoundException

Cannot predict the name of error/ exception

WEBDRIVER API

Samantha wants to automate selection of value from a drop down menu. When the element was
Inspected. She foundAgain

<html>

<body>

<select name=”jobrole”>

<Option value=”1”>Manager</option >

<option value=”2”>Lead</option>

<option value=”3”>Analyst</option>

</select>

</body>

<html>

Choose “lead” as the test data. Assist her by choosing the correct options.

selectByIndex(1)

selectByValue(2)

selectByVisibleText(“Lead”)

selectByValue(“2”)
Q1- Which expression is used in CSS selectors to match the attribute value with a prefix?

Ans: ^

Q2- public class TestClass

@Test(priority=1)

public void method1(){...}

@Test

public void method3(){...}

@Test

public void method2(){...}

@Test(priority=2)

public void method4(){...}

Ans: method2,method3,method1,method4

1. Which java enum is used to handle the keyboard strokes from webdriver library?
a. Actions
b. Keyboard
c. Keys
d. Keyword
2. Sam is designing an automation test, where test data is specified in an external excelfile.
Which command will be helpful to get access to the 2nd sheet of the excel file. Assume wb is
workbook object.
a. wb.getSheetAt(1)
b. wb.getSheetAt(2)
c. wb.getSheet(1)
d. wb.getSheet(2)
3. sarah wants to automate the selection of only one option from a drop down box as shown
below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>
Sarah has to select only the fourth option that is python from the options list
a. selectByVisibleText()
b. selectByValue ()
c. selectByIndex()
d. all the above
4. What are the various status options available in the Extent reports library?
a. PASS,FAIL,SKIP,FATAL,ERROR,WARNING,INFO
b. SUCCESS,FAIL,SKIP ,ERROR,WARNING,INFO
c. DONE,DEBUG,FAIL,SKIP,ERROR,WARNING,INFO
d. ABORT,PASS,FAIL,DONE,ERROR,WARNING,INFO
5. Sean is automating a test scenario, in which he has to fetch the URL of the web page using
WebDriver API . Suggest a method for Sean to get the link address.
a. getURL()
b. get()
c. getCurrentURL()
d. getURL()
6. Kevin wants to fetch all the data from the country drop down menu and verify the data
against data from the database. He is looking into the library for a method to fetch all the
data from the country drop down box. Which method will help Kevin?
a. selectAllOptions()
b. getOptions()
c. getAllOptions()
d. getData()
e. getText()
7. QUESTION NOT VISIBLE , multiple options
a. driver.get(“URL”)
b. driver.navigate().to(“URL”)
c. driver.navigate(“URL”)
d. driver.getUrl(“URL”)
e. driver.setUrl(“URL”)
f. Sarah is coding in a test scenario, in which she must fetch the booking id as a text
message from the span element.
The web element looks like
<Space> order completed with Booking id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans - getText();

g. James is automating a script and using CSS Selector as a locator. What are the
primitive types for designing the CSS selector?
ANS - .id, .Attribute, .innerText()
(Explanation - There are 5 types of CSS Selectors in Selenium tests-
ID, Class, Attribute, Sub-String, Inner Text)

h. Which expression is used in CSS Selectors to match the attribute value with a prefix?
ANS- ^=
(Explanation - [attr^=value] Represents elements with an attribute name of attr whose value
is prefixed (preceded) by value.)

i. Write in correct order.


a. Triggers the build
b. Open reports to see the latest test results.
c. Jenkins checks the Git Repository periodically to detect changes in build project.
d. The build is successful / Failure.
e. Testers/ Developers commits source code changes to the shared Git Repository.
ANS- e,c,a,b,d

j. Kevin has designed a TestClass with the following methods:


public class TestClass {
@Test
public void testMehod1() {int a = 78;}
@Test
public void testMehod2() {Assert.assertEquals(67, 76);}
public void testMehod3() {System.out.println("Welcome");}
@Test
public void testMehod4(){Assert.assertEquals("Hello”, “Hello");}
}
Kevin executes the above TestClass as a TestNG test. Which of the following correctly
represents the test result?
ANS - Total tests run: 3, Passed: 2, Failed: 1

k. Identify the correct way of launching the Chrome browser through WebDriver instance
with the correct property.
ANS -
System.setProperty("webdriver.chrome.driver","src/test/resources/chromedriver.exe
");
WebDriver driver = new ChromeDriver();

l. Samantha wants to write an automation script that determines the count of Hobbies
checkboxes. These checkboxes have a name attribute as “hobbies”. Assist Samantha
by choosing the correct command.
ANS –
driver.findElements(By.name(“hobbies”)).size()

m. Henry is designing a script and using CSS Selector as the locator strategy. He must
locate the element effectively. The element inspected looks like:
<input id=“newPassword” type=“password”>
ANS - By.cssSelector("input[id='newPassword']")

n. Kevin is automating a test scenario. In which he wants to locate an element with the
class attribute “classg1 jkyu_90”. Assist Kevin in setting up the correct locator for the
element.
ANS - By.className(“classg1”)

o. Select the correct order of execution of annotations, as per the life cycle of the TestNG
which can be applied for test methods along with beforeXXXX – afterXXXX methods.
ANS - @BeforeTest, @BeforeClass, @BeforeMethod, @Test, @AfterMethod, @AfterClass,
@AfterTest

p. Sean is coding an automation script for emulating user actions by mouse actions using
webdriver library. Assist Sean to choose the correct syntax to create an object for
Actions class from the following options.
ANS -
Actions act = new Actions(driverinstance)
Actions act = new Actions()
Actions act = (Actions)driverinstance

q. Kevin is using a CSS Selector as a locator strategy for the following element:
<h1 id=“msg01” name=“success”>Registration completed</h1>
He must identify the element effectively.
ANS –
By.cssSelector(“h1[id=‘msg01’]”)
By.cssSelector(“h1[id=‘msg01’][name=‘success’]”)

89. Which of the following reports can be generated using plugins from Cucumber options?

ANS- All of the above Correct

90. James wants to design a scenario in a feature file, in which the complete scenario runs multiple
times for different data sets . Suggest James with a Gherkin keyword to activate drop-down testing
in the feature file ?

ANS- Use Scenario outline. Correct

91. Jack had created the feature file with the below mentioned scenarios as shown below:

@smoke Scenario: This is the first scenario

@crash Scenario: This is the second scenario In test runner class, Jack mentioned
@cucumberoptions (tags=(“smoke”)) predict which scenario is/are gets executed

Ans: Execute first scenario Correct

92.Which of the following is the logical container that contains all the elements which drive the
performance test?

Ans: Load Testing Correct But, If Test Plan Available in option, Then, the correct Ans
will be Test Plan.

93. Which of the following assertions is not applied in Jmeter?

Ans: web Correct

94. Which of the following is an invalid configuration element in Jmeter?

Ans: FTP cookie manager Correct

95. Which of the following input documents is used to create test scenarios and conditions?

Ans: Use cases Correct

96. Which of the following Java classes are from the extent API library?

Ans: ExtentReports, Status Correct Google: ExtentReports

97. Sean is coding to automate a web application using the webDriver library. He had set the implicit
wait of 30 seconds. However, the webelement was found / Test Plan correct correct correct Google :
ExtentReports correct within 10s . Will the webdriver wait for further 20 seconds before executing
the next line of code?

Ans: Yes, webDriver will wait 20 more seconds. Correct

1) Which java enum is used to handle the keyboard strokes from webdriver library?
(a) Actions
(b) Keyboard
(c) Keys
(d) Keyword

Ans: (b) keyboard

2) Which expression is used in CSS selectors to match attribute value with a prefix?
(a)$=
(b)^=
(c)*=
(d)none

Ans: (b) ^=
3) Samantha wants to automate selection of valur from a drop…..
<html>
<body>
<select name=”jobrole”>
<option value=”1”>Manager</option>
<option value=”2”>Lead</option>
<option value=”3”>Analyst</option>
</select>
</body>
</html>

Ans: SelectByVisibleText(“Lead”)
SelectByValue(“2)

4) Sarah is coding an automation script to switch to IFRAME in a web application .Which of the
listed options(s) will help sarah to switch to a particular frame on a web page using the
webdriver library?

(a )driver.switchTo().frame(int index)
(b) driver.switchTo().frame(string nameOrld)
( c) driver.switchTo().frame(WebElement frameElement)
(d)driver.switchTo().frame()
(e) driver.switchTo().frame(String name)
ANS: (a) , (b), (c)

5)Which Ms office components(s) can be handled by apache POI library?

(a)ppt

(b)docs

(c)…

(d)…

(e)all the above

Ans: POIFS

6)Samanta has designed a testclass, with the….

Public class testclass

@beforeMethod
Public void method1() {…}

@afterMethod

Public void method2() {…}

@Test(dataProvider=”loginData”)

Public void method2(string u, string p) {…}

@data provider

Public object[][] login data() {…}

Suppose login data () generates 5 sets og login credentials …..

Choose right answer.

ANS: Method1 – 5 times…….

****7) which method is used in apache poi library to fetch the cell value from a row? identify the
format of invoking the library functions to get value from a cell

(a)sheet.getStringCellValue()

(b) sheet.get(rowno).getstringCellvalue()

(c) sheet.getCell(collno) .getstringCellvalue()

(d) sheet.get(rowno).getCell(colon).getstringCellvalue()

Ans : (c)

1. Samantha has to execute automation scripts across multiple platforms like windows, mac,
Linux which tool in the selenium suite will be used by Samantha?
Choose the most appropriate option.
Ans selenium RC
2. George is reviewing the quality of the java code given to him using SonarQube and
described that the variables are named without following java variables naming
convention. Under which category this issue can be tracked in the tool?
Choose the most appropriate option.
Ans minor
3. Identify the correct flow of jenkins build, when a maven project job in Jenkins is triggered
for build
Ans testing.xml->pom.xml>testing classes>reports
4. Sarah is coding to automate a scenario for the selection of the “from Cities” drop down
box on the flight booking application web page, which class is used?
Ans Select Class
5. Sarah is coding in a test scenario, in which she must fetch the booking id as a text message
from the span element The web element looks like <Space> order completed with Booking
id:6665<Space> Help Sarah to find a method from the webdriver library to fetch the
booking ID?
Ans get Text();
6. Which expression is used in CSS Selectors to match the attribute value with a prefix?
Ans ^=
1. Samantha has designed a TestClass with the following methods:

public class TestClass

@BeforeMethod

public void method1() {……}

@AfterMethod

public void method2() {……}

@Test(dataProvider=”loginData”)

public void method3(String u, String p) {…..}

@DataProvider

public Object[][] loginData() {….}

Suppose loginData() generates 5 sets of login credentials, how many times method1, method2 and
method 3 would be executed ?

Choose the appropriate option

a) Method1 – 5 times, Method2 – 5 times, Method3 – 5 times


b) Method1 – 1 time, Method2 – 1 time, Method3 – 5 times
c) Method1 – 1 time, Method2 – 1 time, Method3 – 1 time
d) Cannot predict the iterations

2. Sarah is coding an automation script to switch to iFRAME in a web application. Which of the listed
options will help Sarah to switch to a particular frame on a web page using the webdriver library?
Choose the appropriate options.

a) driver.switchTo().frame(int index)
b) driver.switchTo().frame(String name Or id)
c) driver.switchTo().frame(WebElement frameElement)
d) driver.switchTo().frame()
e) driver.switchTo().iframe(String name)

3. Sean is coding to automate mouse interactions on a web browser. Assist Sean to identify the mouse
event specific methods from the below options.

Choose the appropriate options.

a) moveToElement()
b) moveByOffset()
c) release()
d) keyUp()
e) keyDown()
f) sendKeys()

4. What method in the Web driver library is used to get the attribute value of a web element?

Choose the appropriate option.

a) getAttributeValue(“attributeName”)
b) getAttribute(“attributeName”)
c) getValue(“attributeName”)
d) getText()

5. Sam has created a TestNG project with below specified TestClass.


public class TestClass
{
@Test(priority=1)
public void method1() {….}
@Test
public void method3() {….}
@Test
public void method2() {….}
@Test(priority=2)
public void method4() {….}
}

Predict the test method execution sequence.


Choose the most appropriate option.

a) method2, method3, method1, method4


b) method1, method4, method3, method2
c) method1, method4, method2, method3
d) Random order of execution

6. Sarah is coding to automate a test scenario in which she must fetch the booking id as a text
message from the span element.
The web element looks like: <span>Order Completed With Booking ID:6665</span>
Help Sarah to find a method from the WebDriver Library to fetch the Booking ID.

Choose the most appropriate option.

a) getValue()
b) getID()
c) getText()
d) getTagName()

7. George is reviewing the quality of the Java code given to him using SonarQube and identified that
the variables are named without following java variable naming convention rules. Under which
category this issue can be tracked in the tool?
Choose the most appropriate option.

a) Info
b) Minor
c) Major
d) Critical
e) Sarah as an automation engineer triggers a new build from Jenkins as a maven project
having source codes in git repository which of the following tools/ Software are required
to be configured by Sarah in Jenkins to make the build success.
Ans: jre , jdk ,meavon
f) Henry is designing a script and using css selector as the locator strategy. He must locate
the element effectively. The element inspected looks like
<input id =”new Password” type =”password”>
Choose the most appropriate option.
ans: By.CssSelector(“input[id=’password’]”)
g) There is an element on the web page when inspected on the browser it looks like
<div class=”errorMsg”>Error Message</div> James want to use selenium locators to
identify the element. Choose the correct set of commands to locate the element
effectively.
Ans: By.CssSelector(“div.errorMsg”)
h) Match the following tools with the correct description
ans: A-3 B-1 C-2

i) When verification fails in TestNG, what forces the test to stop execution and mark as
failed. Choose the most appropriate option.
Ans: Assertion Fail
j) Which java enum is used to handle the keyboard strokes from web driver library? Choose
the most appropriate option.
Ans: keys
1) Testing an automation script to test a web application. He has to store the Logout link in the
using a driver.findElement() method. Suggest Sean with a compatible return to leg out least
object.

(a) String
(b) WebDriver
(c) WebElement
(d) List

Ans: (c) WebElement

Sub-topic: TestNG

2) Which of the following is correct about generating about an XML suite file in TestNG for Test
Suite Exception.

(a) TestNG XML suite can be generated at time of creating TestNG class.
(b) TestNG XML suite can be generated using "Convert to testNG" option..........class is
created.
(c) TestNG XML suite file is automatically generated when user create a maven java project.
(d) There is no option in Eclipse to generate XML suite file.
(e) TestNG XML suite file can be generated by Jenkins

Ans: (a) TestNG XML suite can be generated at time of creating TestNG class.

(b) TestNG XML suite can be generated using "Convert to testNG" option..........class is
created.
Sub-topics: Switching to windows

3) Sarah is coding an automation script to switch to multiple windows in a web application .


She has to store all the window instance in a java variable which is returned by
driver.getWindowHandles(). Suggest Sarah with a compatible return type to store the
window
References.

(a) List<String>
(b) Set<String>
(c) Array<String>
(d) Window<String>

Ans: (b) Set<String>

Sub-topics: Extent Reports

4) Kevin wants to generate expensive report for the test automation project. He decides to use
Extent Report Library. Which class in the library is used to create labels, code blocks and
tables in the report?

(a). ExtentHtmlReporter.
(b). ExtentReports
(c). MarkupHelper
(d). ExtentTest.

Ans: ( c) MarkupHelper.

Sub-topics: WebDriver API

5) Sean is coding an automation Script to launch the web application on a browser window.
Which of the following listed option(s) will help Sean to lunch the desired application on a
web browser in selenium?

(a). driver.get(“URL”)
(b). driver.navigate().to(“URL”)
(c). driver.navigate(“URL”)
(d). driver.getUrl(“URL”)
(e). driver.setUrl(“URL”)

Ans: (a) driver.get("URL")

(b) driver.navigate().to("URL")

Sub-topics: WebDriver API


6) Sarah is coding an automation Script to locate a child element in an unordered list. The list is
given below:
<html>
<body>
<ul class=”cities”>
<li>Bangalore</li>
<li>Chennai</li>
<li>Hydrabad</li>
<li>Mumbai</li>
<li>Pune</li>
</ul>
</body>
</html>

Sarah wants to locate the 3rd child element i.e Hydrabad. Suggest the appropriate locator stratgy
for

Sarah.

(a) CSS = “ul:cities li:nth-child(2)”


(b) CSS = “ul:cities li:nth-of-type(“Hydrabad”)
(c) CSS =” ul:cities li:nth-child(“Hydrabad”)
(d) CSS= “ul:cities li:nth-child(])”

Ans: (b) css="ul.cities li:nth-of-type("Hyderabad")

Sub-topic: WebDriver Api

7) James wants to automate the selection of ID proofs drop-down box in the web application.
He has to verify the drop-down has a selection of more than one option. Which of the
following method is suggested to James?

Ans : isMultiple()

8) Kavin is using CSS selector as a locator strategy for the following element: <h1 id”msg01”
name=”success” > Registeration Completed </h1>

Ans: By.cssSelector("h1[id='msg01']")
By.cssSelector("h1[id='msg01'][name='success']")
1) Which is an IDE extension that helps you detect and fix quality issues as you write code in
python/HTML/Javascript/PHP?
SonarQube

SonarLint

SonarQubeServer

None of the above

2) Sarah is coding an automation script to switch to iFRAME in a web application. Which of the
listed options will help sarah to switch to a particular frame on a web page using the library?
driver.switchTo().frame(int index)

driver.switchTo().frame(String nameOrld)

driver.switchTo().frame(Webelement frameElement)

driver.switchTo().frame()

driver.switchTo().iframe(String name)

3) Kevin is planning to write an automation script for below test scenario:


Given the user is on the Payment Page, he views a text box with attribute value=”Enter
Mobile Number” written inside the box. The user must enter the mobile number in the box.

Please check the correct command to help Kevin in automating this scenario. Assume that
text box element is already identified and stored in mobileTxtBox variable.

Choose the most appropriate option.

mobileTxtBox.clear(); mobileTxtBox.sendKeys(“9090909090”);

mobileTxtBox.sendKeys(“9090909090”);

mobileTxtBox.sendKeys(“9090909090”);mobileTxtBox.clear();

mobileTxtBox.value=”9090909090”;

4) Which Java enum is used to handle the keyboard strokes from WebDriver Library?
Actions

Keyboard

Keys

Keyword
1. Which java interface is used to capture screenshot of a web page using web driver API ?
Ans: TakeScreenshot
2. Henry is designing a script and using CSS Selector as the locator strategy. He must locate the
element effectively. The element inspected looks like:
<input id=“newPassword” type=“password”>
ANS : By.cssSelector("input[id='newPassword']")
3. Select the correct order of execution of annotations, as per the life cycle of the TestNG
which can be applied for test methods along with beforeXXXX – afterXXXX methods.
ANS :@BeforeTest, @BeforeClass, @BeforeMethod, @Test, @AfterMethod, @AfterClass,
@AfterTest
4. Kevin is using a CSS Selector as a locator strategy for the following element:
<h1 id=“msg01” name=“success”>Registration completed</h1>
He must identify the element effectively.
ANS :By.cssSelector(“h1[id=‘msg01’]”), By.cssSelector(“h1[id=‘msg01’][name=‘success’]”.
5. Testing an automation script to test a web application. He has to store the Logout link in the
using a driver.findElement() method. Suggest Sean with a compatible return to leg out least
object.
Ans:WebElement
6. While using soft assertion in the test class, james must specify a method, that will collate
and display assertion results
Ans:assertAll()
7. Sarah is coding to automate a test scenario in which she must fetch the booking id as a text
message from the span element.
The web element looks like: <span>Order Completed With Booking ID:6665</span>
Help Sarah to find a method from the WebDriver Library to fetch the Booking ID.
Ans: getText()
8. Sean is coding to automate mouse interactions on a web browser. Assist Sean to identify the
mouse event specific methods from the below options.
Ans: moveToElement(),moveByOffset(),release()
9. Which date format is used to customize the system data to year-month-day format?
ANS:new SimpleDateFormat(“yyyy-MM-dd”)
10. What are the various status options available in the Extent reports library?
Ans:PASS,FAIL,SKIP,FATAL,ERROR,WARNING,INFO
11. James is automating a script and using CSS Selector as a locator. What are the primitive
types for designing the CSS selector?
ANS - .id, .Attribute, .innerText()
12. Sam has created a TestNG project with below specified TestClass.
public class TestClass {
@Test(priority=1)
public void method1() {….}
@Test
public void method3() {….}
@Test
public void method2() {….}
@Test(priority=2)
public void method4() {….}
}Predict the test method execution sequence.Choose the most appropriate
option.Ans:method2, method3, method1, method4.
Q:1 Sarah wants to automate the selection of only one option from a dropdown box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.

Ans: selectByVisibleText()
selectByValue()
selectByIndex()
All of the above

Q2: Sean is automating a test scenario, in which he has to fetch the URL of the web page using
WebDriver API. Suggest a method for Sean to get the link address

Choose the most appropriate option

Ans:-getURL()

get()

getCurrentURL()

getURI()

Q3: Sean configured his project for the test suite execution using TestNG. He wants to perform
parallel execution of the test cases. Which attribute represents the parallel execution of the test
cases?

a parallel = “methods”

b parallel="tests"

c parallel = “test-classes”

d parallel =”test-cases”

Q4: Fuller has written an automation script using selenium webdriver commands. He has used all the
necessary and appropriate locators for interacting with the web elements. When he executed the
script the web driver was not able to locate an element resulting in the test script failure. Which
error/ exception is thrown by webdriver?

NoSuchElementException

NoSuchElementError
NullPointerException

ObjectNotFoundException

Cannot predict the name of error/ exception

Q5: Kevin is designing an automation test, where test data is specified in an external excel file.
Which command will be helpful to write the data into a cell of the excel file? Assume c1 is the cell
object.

a c1.setCellValue("data")

b c1.setValue(“data”)

c c1.writeCellValue(“data”)

d c1.setCellData(“data”)

Q6: Which of the following is correct about generating about an XML suite file in TestNG for Test
Suite Exception.

(a) TestNG XML suite can be generated at time of creating TestNG class.
(b) TestNG XML suite can be generated using "Convert to testNG" option..........class is
created.
(c) TestNG XML suite file is automatically generated when user create a maven java
project.
(d) There is no option in Eclipse to generate XML suite file.

(e)TestNG XML suite file can be generated by Jenkins

Q7: Which of the following Java classes are from the Extent API library?

ExtentReports

Status

TakesScreenshot

Actions

Q8: Sean wants to switch to multiple frames on a web page when an operation is completed on a
frame and test flow needs to move to another frame. Calling the driver.switch To().frame()
immediately will not move the context to the next frame which is at the same level in DOM. The
test will first need to switch to the main document and then activate the desired frame. Which
method is used to switch back to the main document from the frame?

driver switch To().body()

driver.switch To().mainDocument()

driver switch To().defaultDocument()

driver.switchTo().defaultContent()

Q9: Sam is designing an automation test, where test data is specified in an external excel file. Which
command will be helpful to get across to the 2nd sheet of excel file. Assume wb is the workbook
object.

a wb.getSheetAt(1)

b wb.getSheetAt(2)

c wb.getSheet(1)

d wb.getSheet(2)

Q10: Sean is performing verification using Assert class functions from TestNG. Suggest him the
corect method to verify the reference/address of the two objects to be identical

assert True(Object1,Object2)

assertRef(Obect1,Object2)

assertEquals(Object1,Object2)

assertSame(Object1,Object2)

Q11: Sean is coding an automation Script to launch the web application on a browser window.
Which of the following listed option(s) will help Sean to lunch the desired application on a web
browser in selenium?

(a). driver.get(“URL”)
(b). driver.navigate().to(“URL”)
(c). driver.navigate(“URL”)
(d). driver.getUrl(“URL”)
(e). driver.setUrl(“URL”)

Ans: (a) driver.get("URL")


(b) driver.navigate().to("URL")

Q12: Sarah is coding an automation Script to locate a child element in an unordered list. The list is
given below:

<html>
<body>
<ul class=”cities”>
<li>Bangalore</li>
<li>Chennai</li>
<li>Hydrabad</li>
<li>Mumbai</li>
<li>Pune</li>
</ul>
</body>
</html>

Sarah wants to locate the 3rd child element i.e Hydrabad. Suggest the appropriate locator stratgy
for

Sarah.

(e) CSS = “ul:cities li:nth-child(2)”


(f) CSS = “ul:cities li:nth-of-type(“Hydrabad”)
(g) CSS =” ul:cities li:nth-child(“Hydrabad”)
(h) CSS= “ul:cities li:nth-child(])”

Ans: (b) css="ul.cities li:nth-of-type("Hyderabad")

Q13: Sarah is coding an automation script, where she has to validate the price of the holiday
package based on the drag & drop of island city from the menu. The Price is fetched from the
server and displays without reloading the web page. Which WebDriver Library class has the
predefined conditions for handling dynamic waits in Selenium WebDriver Library?

ExplicitWait

ImplicitWait

WebDriverWait

Expected Conditions
Q14: What are the various status options available in the Extent reports library?

e. PASS,FAIL,SKIP,FATAL,ERROR,WARNING,INFO
f. SUCCESS,FAIL,SKIP ,ERROR,WARNING,INFO
g. DONE,DEBUG,FAIL,SKIP,ERROR,WARNING,INFO
h. ABORT,PASS,FAIL,DONE,ERROR,WARNING,INFO

Q15: Kevin wants to fetch all the data from the country drop down menu and verify the data against
data from the database. He is looking into the library for a method to fetch all the data from the
country drop down box. Which method will help Kevin?

f. selectAllOptions()
g. getOptions()
h. getAllOptions()
i. getData()
j. getText()

Q16: Which java interface is used to capture screenshot of a web page using Web Driver API?

ANS: TakeScreenshot

Q17: There is an element on the webpages when inspected on the browser it looks like <div
call=”errorMsg”>Error Message</div>.
James wants to use selenium locations to identify the element. Choose the correct set of commands
to locate the elements efficiently.

Ans: By.CSS Selector(“div#errorMsg”)


By.CSS Selector(“div.errorMsg”)
By.CSS Selector(“div_errorMsg”)
By.CSS Selector(“errorMsg”)
Q18: ) Henry is designing a script and using CSS Selector as the locator strategy. He must locate the
element effectively. The element inspected looks like:

<input id="nowPassword" type="password">

Choose the most appropriate option.

Ans:-By. CssSelector(“id=newPassword”)

By .CssSelector(“input.newPassword”)

By .CssSelector(“input_newPassword”)

By .CssSelector(“input[id$=’Password’]”)

Q19: Kevin is using a CSS Selector as a locator strategy for the following element:

<h1 id=“msg01” name=“success”>Registration completed</h1>


He must identify the element effectively.
ANS –
By.cssSelector(“h1[id=‘msg01’]”)
By.cssSelector(“h1[id=‘msg01’][name=‘success’]”)

Q20: Select the correct order of execution of annotations, as per the life cycle of the TestNG which
can be applied for test methods along with beforeXXXX – afterXXXX methods.
ANS - @BeforeTest, @BeforeClass, @BeforeMethod, @Test, @AfterMethod, @AfterClass,
@AfterTest

Q21: Testing an automation script to test a web application. He has to store the Logout link in the
using a driver.findElement() method. Suggest Sean with a compatible return to leg out least object.

(a) String
(b) WebDriver
(c) WebElement
(d) List

Ans: (c) WebElement

1Q) Sean is coding an automation script to test a web application. He has to store the Logout Ink in

a Java vanable using a driver findElement() method. Suggest Sean with a compatible return

type to store the Log out test object.

Choose the best option

a) String

b) WebDnver

c) WebElement

d) List

2Q) Consider the below hlml code snippet

Email : <label id='Email' class='style 1' name='input>

Which is the best localor to identify the Email web element?

Choose the most appropnate option.

a) By.className('style1’)

b) By.id(‘Email')

c) By.name(‘Email’)

d) By.xpath(‘//label[@id='Email’]’)
3Q) James is automating a scnpt and using CSS Seleclor as a localor. What are the primitive types

for designing the CSS Selector?

Choose all the appropnate options.

a) Id

b) Attribute

c) Inner Text

d) Tagname

3Q) Sean is performing verification using Assert class functions from TesTNG. Suggest him the

correct method to verify the reference/address of the two objects to be identical.

Choose the most appropnale option.

a) assert True(Object1.Object2)

b) assertRef(Obect1, Object2)

c) assertEquals(Object1, Object2)

d) assertSame(Object1, Object2)

4Q)Sean is coding an automation script for emulating user actions by mouse using the webdriver

library. Assist Sean to choose the correct syntax to create an object for Actions class from the

following options

Choose all the appropriate options.

a) Actions act=new Actions(driverInstance)

b) Actions act=new Actions()

c) new Actions(driverInstance)

d) Actions act=(Actions)driverInstance
e) Aclions.callMethods()

5Q) Samantha wants to write an automation script that determines the count of Hobbies

checkboxes. These checkboxes have a name attribute as "hobbies". Assist Samantha by

choosing the correct command

Choose the most appropriate option

a) driver.findElement(By.name("hobbies")).getCount()

b) driver.findElement(By.name("hobbies")).size()

c) driver.findElement(By.name("hobbies")).length()

d) driver.findElements(By.name("hobbies")).getCount()

e) driver.findElements(By.name("hobbies")).size()

6Q) Which Java Interface is used to capture screenshot of a web page using Web Driver API?

Choose the most appropriate option.

a) ScreenShot

b) Capture

c) TakesScreenshot

d) Image

7Q) Which date fomat is used to customize the system date to year-month-day format?

For example: 2019-04-24

Choose the most appropriate option.

a) new SimpleDateFormat("yyyy-mm-dd")

b) new SimpleDateFormat("yyyy-MM-dd")

c) new SimpleDateFormat("yyyy-month-dd")

d) new SimpleDateFormat("yyyy-mmm-dd")
8Q) Sarah is coding an automation script to switch to IFRAME in a web application. Which of the
listed option(s) will help Sarah to switch to a particular frame on a web page using the webdriver
library?

Choose all the appropriate options.

Ans: driver. switch To() .frame(int index)

driver. switch To(). frame(String nameOrid)

driver switch To().frame(WebElement frameElement)

driver switch To().frame()

driver switch To().iframe(String name)

9Q) Identify the correct way of launching the Chrome browser through WebDriver Instance with the

correct property

Choose the most appropriate option.

a) System.setProperty("webdriver.chrome.driver”, "src/test/resources");

WebDriver driver=new ChromeDriver();

b) System.setProperty("webdriver.chrome.driver","src/test/resources/chromedriver.exe");

WebDriver driver=new ChromeDriver();

c) WebDriver driver=new ChromeDriver();

System.setProperty("webdriver.chrome.driver","src/test/resources/chromedriver.exe");

d) System.getProperty("webdriver.chrome.driver","src/test/resources/chromedriver.exe");

WebDriver driver=new ChromeDriver();


10Q) Which of the following Java classes are from the Extent API library?

Choose the most appropriate option.

A ExtentReports

B Status

C TakesScreenshot

D Actions

11Q) Kevin has designed a TestClass with the following methods:

public class TestClass

@Test

public void testMethod1() {int a = 78; }

@Test

public void testMethod2() { Assert.assertEquals(67,76); }

public void testMethod3() { System.out.println("Welcome"); }

@Test

public void testMethod4() {Assert.assertEquals("Hello", "Hello"); }

Kevin executes the above TestClass as a TestNG test. Which of the following correctly

represents the test results?

Choose the most appropriate option

A Total Tests Run: 3 Passed 2 Faited 1

B Total Tests Run: 4 Passed 3 Failed. 1

C Total Tests Run: 4 Passed 1 Failed 1

D Total Tests Run: 3 Passed: 1 Failed: 1

12Q) Sarah coding a test script using TestNG classes. She has used all the necessary Assert

funtions to verify the test scripts When she executes the script. TestNG detected failures
Predict what type of message objects are thrown in the console as output?

A Exception Messages

B Error Messages

C Warning Messages

D No Messages displays on Console

13Q) Sarah is validating the Registration Page for TestMe App using TestNG Assertions. She wants

to execute all the validation statements and display the status as Pass/Fail, along with failure

messages if any. Which type of assertions are recommended to Sarah for implementation

Choose the most appropriate option

A Soft Assertions

B Hard Assertions

C Hard Exceptions

D Soft Exceptions

14Q) Kevin is automating a test scenario, in which he wants to locate an element with the class

attribute "classg1 jkyu_90". Assist Kevin in setting up the correct locator for the element.

Choose the most appropriate option.

By.className(“classg1 jkyu_90")

By.className(“classg1”)

By.class("classg1 jkyu_90”)

By.className(“jkyu_90")
15Q) Sarah is coding an automation script to switch to multiple windows in a web application. She
has to store all the window instances in a java variable which is returned by
driver.getWindowHandles(). Suggest Sarah with a compatible return type to store the window
references

List<String>

Set<String>

Array <String>

Window< String>

16Q) Sam is designing an automation test, where test data is specified in an external excel file.
Which command will be helpful to get across to the 2nd sheet of excel file. Assume wb is the
workbook object.

a wb.getSheetAt(1)

b wb.getSheetAt(2)

c wb.getSheet(1)

d wb.getSheet(2)
TESTING QUESTION BANK

1) Which of the following option specifies the correct order during Test Execution :

a) Test Plan
b) Test Completion
c) Defect Management
d) Test Recording
e) Test Execution
f) Retest
g) Test Preparation

ANS : a,g,d,e,c,b,f.

2) Which of the following is the best source of input for User Acceptance Testing?

a) Program Specification.
b) User Requirement.
c) Client Requirement.
d) Expected Result.

3) Which of the following are testing criteria for Transition Assembly Tested applications?

ANS: a) Code compliance with standard.


b) The Product/Performance test environments are fully installed and configured.

4) An Automated testing framework is a set of Automated guidelines which help in :

a) Less Test Structuring.

b) Extent of Reusability.

5) Choose the correct flow of Test Execution :

a) Orient team and review execution model.


b) Execute scripts and regression tests.
c) Access reports and manage execution results.
d) Perform setup for next execution day/cycle.
e) Confirm final metrics of exit criteria.
f) Close out test execution.
g) Sign off test execution results.
ANS: e,a,d,b,c,g,f. (COPEASC)

6) Capacity Planning is front end of Capacity Management.


Performed for long term (Annually, Monthly, Quarterly).
ANSWER:
Diagram Flow:

a) Estimate Services and Components.


b) Define Solution approaches.
c) Model Capacity.
d) Select solution.
e) Define buffer and replenish level.
f) Define monitoring parameters and threshold limits.
g) Evaluate the ability to meet SLAs.
h) Identify and implement actions to resolve SLA (Service Level Agreement) gaps.
i) Notify demand management of any constraint.
j) Document the Capacity Plan.
k) Obtain Stakeholder Signoff.

7) A software developed with no defects is a 100% Defect Free Software.

ANS: FALSE.

8) Applied Statistics process :

ANS:

a) Define Parameters and Values.


b) Prepare and generate Test scripts.
c) Analyse and adjust coverage.
d) Confirm expected results and scripts.
e) Review and Signoff
f) Update Test execution plan.
9) Benefits of Orthogonal Array Testing technique.

ANS: a) Increases overall productivity.

b) Analysis of results takes less time due to low number of Test Conditions.

c) Lower Implementation time.

d) Less execution time.

e) 95% of the code.

Name of the Orthogonal Array follows the pattern LRuns(LevelsFactors).

10) Automation Framework comes under which stage?


ANS: Design Stage.

11) Why not TDD?


• Difficult to follow Functional Tests.
• Design impacts.
• False sense of security.
• Additional Complexity.
• Difficult to create original tests.
• Increases project costs.
• Continuous Tweaking.
• Management support is essential.

12) In which phase of Agile, system is transitioned to production and Final & Acceptance tests
are performed?

A) Production
B) Initiation
C) End-Game
D) Construction

13) Common challenges in test design:

ANS:

a) Too many scripts per plan.


b) Quality
c) Efficiency
d) Lack of coverage measurements

14) Why Applied Statistics is used in Test design for Test Planning?
a) Efficiency
b) Quality
c) Precise coverage measurements.

15) Benefits of using Applied Statistics.


a) Addresses the common challenges in test design.
b) Provides a structured approach in test design.
c) Provides actionable inputs to determine the amount of testing required.

16) Why TDD.


a) Small Steps.
b) More productive.
c) Easier to find and fix the defects.
d) Constant Feedback.
e) Looser coupling.
f) More focused classes.
g) Forces Critical Analysis and Design.
h) Reducing debugging time.
i) Cleaner interfaces.

17) Performance testing is likely to cover different types of Performance Tests such as :
a) Load Test
b) Stress Test
c) Stability or Endurance test
d) Throughput
e) Baseline
f) Failover
g) Regression
h) Batch

It is also called as Test scope

Performance Approach document:

a) Test Scope
b) Test Metrics
c) Test Tools
d) Key dates and Deliverables.

18) What depends upon Business Requirements linked with Error handling?
a) Positive Testing
b) Negative Testing
c) External
d) Error Guessing

19) Identify techniques used for Regression Testing from list below :
a) Regression test selection
b) Modular Test Selection
c) Retest all
d) Prioritization of Test cases.
e) Dataflow Technique.

20) Exploratory Testing is NOT a Software Testing Technique.


ANS: TRUE

21) What are the 4 Levels of Coverage in White Box Testing?


a) Statement
b) Branch
c) Condition
d) Path

22) What testing stages in the V-Model use White Box Testing?
a) Unit Testing
b) Assembly Testing

Whereas in Black Box Testing, all stages except Unit Testing.

23) White Box Testing is required for :


a) Finding Typological errors and Syntax checking
b) Finding design errors.
c) Finding the logical errors creeping into the work.

24) Static Testing (Dry Run Testing) types :


a) Walk through
b) Technical Review
c) Inspection

25) Which of the following is a traceability that identifies the relationship of related work
products for the purpose of avoiding Potential conflicts?
a) Vertical Traceability.
b) Horizontal Traceability
c) Bi-Directional Traceability.

• Vertical → High level BR →High level Design → Detailed → Code.


• Bi-Directional →Work Product.

26) What are the benefits of SDLC?


a) Guides the resources on the SD
b) Form a common understanding
c) Avoid constances
d) Avoid the old code and fix process
e) Help to meet conflict demands

27) How to select an Automation tool?


a) Problem Management
b) Test execution scripts
c) Testing work products

28) What are the requirements in Application Test requirements?


a) Understand the business process that the application needs to support.

29) What are the Benefits of MB7?


a) Improves test quality
b) Help detect requirement defects
c) Facilitates evolution of Requirements
d) Reduces testing cost and time

30) Best source of input for UAT


a) User Requirement

31) Developing tests based on program and programmer’s weak points is known as :

ANS: Risk Based Testing

32) Disadvantages of Agile


33) What should be considered while developing a Testing Methodology
34) Imagine A,B,C,D four models → Retesting
35) Lowers the cost of Testing

ANS: V-Model

36) Test approach document contains which of the following sections:

ANS: All of the above.

37) Breaking values into chunks

ANS: Equivalence Partitioning

38) Project Management Diagram

ANS: Plan and Mobilize

39) Working Model


ANS: Prototype

40) Benefits of Testing Environment


a) Testing upgrades & new features
b) Training users on new systems before roll out
c) Testing new forms, new scripts and other enhancements before, not during deployment.
d) Potential backup system for production system.

41) Interactions and integrations are a major source of defects.

ANS: TRUE

42) Orthogonal Array Technique:

The fault model that supports this technique’s usefulness is,

• Most Defective interaction are not complex but simple interactions


• There are many combinations of objects, components, options or setting and some can
be missed.
• Random selection of values lead to inefficient tests.

43) Hurricane and Typhoon are which types of testing?

ANS: External Testing

44)

44) Data Identification, Conditioning & Population is given in which part of Test Data
Environment?

ANS: Define Test Data Management Approach.

Test Data Management Approach includes :


• Introduction
• Guiding Principles
• TDM Approach
• TDM Tools
• Test Environment Requirements
• Test data upload/Refresh Approach
• Test tool requirements.

45) What are the elements of poorly managed Test Environment?


a) Unskilled or Temporary resources
b) Following poorly defined infrastructure
c) Using old version of software
d) Using Non-Licenced software
e) Lack of Management or Ownership

46)

47) Under what ways can we cover the cost of testing without reducing its effectiveness?

a) Stage Containment
b) V Concept of testing
c) Testing each test phase, not just the program itself.
d) All of the above

48) Which SDLC Model reflects a Working model that is fully equivalent to the component of the
product?

ANS: Prototype Model

49) When is a Test Strategy typically created?

ANS:
• Solution Planning Phase.
• This deliverable may be embedded as a section within the overall Delivery Strategy.

50) Plan Assembly Test is done in which test?

ANS: Analyse Test

51)

51) When do we prepare and finalize the Test Cycle Schedule (TCCS)?

ANS: In prepare Test Scripts and Data.

52) You must choose a tool NOT based on its popularity, but because it fits your Project
Requirements.

ANS: True

53) UAT is devised to answer the important question Does the system enable Users to do their
jobs.

ANS: True

54) What are the advantages of using Common Test Data across test stages:
a) Reduces the burden on developers to create their own data.
b) Simplifies Regression Testing
c) Reduced the time spent in Test Preparation Activities.

55)
56)

57) Automation Framework comes under which stage?

ANS: Design Stage

58) Performance Testing is likely to cover multiple types of Performance Test :

Load, Stress, Stability/Endurance, Throughput, Baseline, Failover, Regression, Batch.

They are also called “Test Scope”


Performance Approach Document :

• Test Scope
• Test Metrics
• Test Tools
• Key-dates and Deliverables.

59) What depends on Business Requirements linked with Error Handling?


a) Positive Testing
b) Negative Testing
c) External

60) Test Closure Memo contains :


a) Number of runs executed
b) Number of Defects identified including a list of all defects that are still open
c) Actions that are being taken to address Open defects
d) All of the above.

61) What is the Entry criteria for Transition Assembly Tested Application?
a) Product Test Team receive all assembled and tested components.
b) Application passed Assembly test
c) The product tested environments are fully installed and configured.
d) The Assembly test team tested all Assembled components.
e) Code complies with Standards.

62) The best source of input to find UAT.

ANS: User Requirement.

63) In what phase is Solution and Approach defined :

ANS: Project Planning / Solution planning?

64) Data items that the project will require in order to test the application is called :
a) Data Mining
b) Data Acquisition
c) Stubs
d) Data Identification
65) One user… Multiple Iterations

ANS: Baseline

66) Sex on the beach.

67) Data Acquisition → Preparation Phase

68) Downloads and Uploads using production data :


a) Mock
b) Mining
c) Extract
d) None of the above

69) Defects with steps open and actions to be taken :

ANS: Test Closure Memo.

70) Discrete → Plan and Support.


71) Project Manager to Tester, which testing?

ANS: Smoke Testing


72) Regression Test Techniques

ANS: Retest etc.

73) Poorly Managed test Environment is due to:

ANS: Unskilled staff.

74) Model Based


a) Use Case
b) State Transition
c) Boundary
d) Decision Tables

75) Automated Testing Framework: They are set of Automation guidelines which help in :
a) Amount of Reusability
b) List test structuring
c) More time spent on training for usage of tool
d) Involvement of data wherever appropriate

76) Which of the following are Testing criteria for Transition Assembly Tested Application:
a) Code compliance with standards
b) Product/Performance test environment is fully installed

77) Login with Valid Credentials → Business Requirements.

78) Equivalence Partitioning is done in the → Analysis Phase.

79) Benefits of Model Based Testing:


a) Improves test quality
b) Helps detect requirement defects
c) Facilitates evolution of requirement
d) Reduces testing cost and time in Maintenance Phases.

80)
81) Content of Query Log
a) Log No. of errors
b) Log Defects
c) Logged No. of resources
d) Logged Key Issues.

82) Requirement Testability → Test Analysis.


Requirement Traceability → Test Implementation.

83) Which of the following types of Traceability identifies the origin of items:
ANS: Vertical Traceability

84) Which of the factors are monitored in the Interpretation phase of Exploratory Testing:
a) Test Coverage
b) Risk
c) Test execution log
d) Issue, Queries
e) All of the above

85) In which phase are intention and approach defined:

ANS: Solution Planning Phase/Project Planning.

86) Data Items that the project will require in order to test the application is:

ANS: Data Identification.

87) Performance of an Application is ensured by:


a) Planning and Designing
b) Testing and Tuning
c) Modelling and Forecasting

88) SCM is related to People Management.

89) Advantages of common data test:


a) Improves testing productivity
b) Reduces the burden from the Developer to create their own data.
c) Simplifies Regression testing
d) Reduced time spent in preparation activities.

90) Weaknesses of V-Model:


a) No Risk Analysis
b) No iteration of phases

91) Weaknesses of Waterfall Model


92) Benefits of ALM

93) Planning is related to a Single Delivery Date in which model?

ANS: Waterfall Model.

94) A defective test is more dangerous than a defective product:

TRUE

95) Who can perform UAT?

ANS: Users and Super-Users

96) Which two phases are NOT present in Discrete Testing but are present in Embedded Testing?

ANS: Plan and Support.

97) Need for TDD:


a) More focussed classes
b) Process Critical analysis and Design
98) SCM is related to :
a) Quality Management
b) People Management
c) Change

99) Benefits of ALM


100) Which phase of testing ensures Testability Test Implementation:
ANS: Analysis

101)

102) Login with Valid Credentials → Business requirements

103) Automated using framework, are set of Automation guidelines which help in :

a) Test Structuring
b) Extent of Reusability
c) More time spent on training for usage of tool
d) Involvement of data wherever appropriate

NILESH’S QUESTION BANK

1) Which of the following are entry criteria as for Transition Assembly Tested Application?
a) Product Test Team received all assembled & tested components.
b) Code compliance with standard.
c) Product Oblique Performance test environment is fully installed configured.
d) Assembly team tested all assembled components.

2) Equivalence Partitioning is planned in which stage?

ANS: Analyse stage.

3) Benefits of Model Based Testing


a) Improves test quality.
b) Helps detect requirement defects.
c) Facilitates evolution of requirements.
d) Reduces testing cost and time in Maintenance phases.

4)

5) Regression Testing techniques:


a) Retest- All Technique
b) Regression Test Selection Technique
c) Dataflow Technique
d) Test Case Prioritization Technique.

6) Poorly Managed test environment :


a) Non-licensed software.
b) Unskilled or temporary resources on staff.
c) Following poorly defined infrastructure.
d) Using old version of software.
e) Lack of management or ownership.

7) Model Based Test techniques


a) State
b) Use-Case
c) Decision
d) Boundary

8) In Automated Testing Framework, there are set of Automation guidelines which helps in:
a) Less test structuring.
b) Extent of Reusability.
c) More time spent on training for using of tool.
d) Involvement of data wherever appropriate.

9) Query Log :
a) Log
b) Number of errors.
c) Log defects.
d) Log number of resources
e) Log user Questions & Issues.

10) Valid Credentials to Login → Business Requirement.

11) What defined what testing technique we should use?


a) How confident the tester is to use that particular technique.
b) Objective of testing
c) Whether there is a tool to support the technique.
d) How appropriate is the technique to test that particular application.

12) In which phase are solution and approach defined?

ANS: Project Planning approach.

13) Data item that the project will require in order to test the application is called:
a) Data Mining
b) Data Acquisition
c) Data stub
d) Data Identification

14) What is Baselining?

ANS: One user… Multiple iterations.

15) Developing test based on program’s or programmer’s weak points is:


a) Error Guessing
b) Risk Based
c) Negative Testing
d) Exceptional Handling

16) Need for TDD:


a) More focus classes.
b) Follows Critical Analysis & Design.
17) SCM (Supply Change Management) is related with:
a) Quality Management.
b) Change Management.
c) People Management.
d) Risk Management.

18) Advantage of Common Test Data:


a) Reduces the burden on developers to create their own data.
b) Simplifies Regression Testing
c) Reduced the time spent in Test Preparation Activities.

19) Planning is oriented to a single delivery date → Waterfall Model.

20) Benefits of ALM:


a) Uses single dashboard to plan and track projects and releases for predictability.
b) Manage and create traceability between requirements, tests, defects, code changes and
build management system tasks.
c) Unify functional, performance, security, and quality management.
d) Increase visibility with milestones and KPIs to better align business and IT.
e) Allow Testing Teams to provision and deploy a test lab themselves in a hybrid delivery
environment.

21) Weaknesses of V-Model:


a) No Risk Analysis.
b) No iteration of phases.
c) Difficult task tracing system.
d) Rigorous testing effort.

22) Which of the phase of testing ensures Testability?


a) Test Implementation
b) Analysis
c) Design
d) All of the above.

23) Which of the phase of testing ensures Traceability?


ANS: Test Implementation.
24) THIS ensures “Design and build the Right system”, while THIS ensures that “The system
works as designed”

ANS: Verification & Validation.

25) Which of the following factors all monitored in the Interpretation phase of Exploratory
testing?
a) Test Coverage
b) Risk
c) Test execution log
d) Issue, Queries
e) All of the above

26) Data Acquisition falls in which phase of Test Data Management Approach?
a) Plan Phase
b) Preparation Phase
c) Execution phase
d) All of the above

27) Performance Engineering of an application is ensured by:


a) Planning & Design
b) Testing and Tuning
c) Modelling & Forecasting
d) All of the above.

28) Discreet Testing has what phases in it?

ANS: Plan & Support.

Non HSFP Test Questions

1) If customer requirements are incomprehensible, then which testing is used?


a) Waterfall Model
b) RAD
c) Prototype Model
d) Agile Model
e) V-Model.

2) What induce risks?


a) New Technology
b) New automation
c) …….
d) All of the above.

3) Which option is right for Peer Review?

ANS: It is done by….

4) When all main functionality are checked & critical bugs are fixed, the testing is stopped.

ANS: True

5) What is the Entry Criteria for Transition Assembly Tested Application?


a) Product Test Team receives all assembled and tested components.
b) Application passed Assembly test
c) The product tested environments are fully installed and configured.
d) The Assembly test team tested all Assembled components.
e) Code complies with Standards.

6) Regression Test is also used to test the defects rising due to change in the Test
Environment.

ANS: True

7) Waterfall Model Drawbacks:

ANS: Requirements are needed at the beginning itself.

8) Incremental Waterfall Model drawbacks:


a) Requires good planning, design and careful partitioning of the product.
b) Requires well-defined interfaces between the increments, specially during the
simultaneous development of interfaces.
c) Requires early definition of a fully functional product to define the increments.

9) Retesting is one answer.

10) What steps are in Test Approach?


a) Stage Containment
b) Test overview.
c) ….
d) All of the above.
11) In which phase is Test Approach made?

ANS: Test Analysis.

12) A,B and C are modules of a project. Defect is found in C and it gets fixed. What kind
of testing should one perform?

ANS: Retest.

13) Post release check is done by whom?

ANS: Client.

14) Agile Method Weaknesses:


a) Constant client interaction means added time pressure on all stakeholders.
b) Flexibility to continuous change requests is needed to ensure the delivery of the right
product.

Advantages of Agile Method:

a) Possible to make changes in the project at any time to comply with the requirements.
b) The incremental testing approach helps minimize risks.

Navina Question Bank:

1) A client is currently struggling with late-stage integration and manual deployments. They want to
find another method that will better suit their needs, and they are reviewing the DevOps approach.
Which statement describes an advantage of DevOps?

Answer: It can deliver services faster with higher reliability and quality.

2) Which Agile approach helps teams improve their project cycle time by considering team capacity?

Answer: XP

3) SAFe is a set of organization and workflow patterns, which combines Scrum, Kanban, XP, and
DevOps in a super framework, intended to guide businesses in implementing practices more broadly
across their Enterprise. What does the acronym SAFe stand for?

Answer: Scaled Agile Framework (SAFe)

4) Organizations following Waterfall methodology usually begin with requirements gathering, in


which the development team attempts to fully understand the product and all its desired features. This
process may take months under the traditional approach. How is the Agile way of working different?
Answer: Agile recommends breaking the work into distinct functional phases and creating
timelines for each of them

5) An Accenture Technologies team located in the US has added a new feature to an existing online
ticketing platform. The team would like to have the new feature reviewed by other global teams using
individual instances of the platform. Which technology, when combined with Agile and DevOps, will
help the team receive real-time feedback?

Answer: Cloud

6) How does Accenture generate value for clients through Agile and DevOps?

Answer: through improved speed to market, increased product quality, and increased customer
satisfaction.

7) What is the definition of a unit test from a DevOps perspective?

Answer: It allows all of the new functionality created during a sprint to be tested at once.

8) What is the rationale for Scrum teams implementing short sprints?

Answer: to break work into smaller chunks that can be delivered early and often.

9) What is a principle of DevOps?

Answer: follows a sequential development structure.

10) How should companies incorporate Agile methodology into their initiatives?

Answer: by using frameworks that fit their needs and tailoring the approach to match their
unique attributes.

11) What is a benefit DevOps brings to the way a company works?

Answer: It prevents bottlenecks by limiting the amount of work in progress.

12) What is an accurate description of Agile and DevOps?

Answer: values and principles to develop better solutions faster.


13) Which term describes the traditional methodology of project management and software
development?

Answer: Waterfall

14) Accenture is helping a client improve their business agility by reducing time to market, increasing
product quality, and enabling continuous delivery. The client team responsible for quality checks
sometimes takes longer to finish testing all aspects of their product. What should Accenture suggest
the client do to decrease the testing time?

Answer: apply the Scrum framework to create and track a backlog of tests

15) How can a DevOps team take advantage of Artificial Intelligence (AI)?

Answer: by focusing on multiple views into systems, and pushing DevOps issues across the
process

16) What is an Agile perspective on errors and mistakes in project development?

Answer: Mistakes can be caught early by working in short spurts that allow for immediate
review, learning, and adjustment.

17) Which statement describes a benefit of DevOps?

Answer: It enables the capability to continuously release software with high confidence.

18) -------- model in which a service provider makes resources and infrastructure management
available as needed, and charges them for specific usage rather than a flat rate.

Answer: Utility Computing

19) The development practice that requires developers to integrate code into a shared repository
several times a day or atleast once daily is __________ .

Answer: Continuous Integration

20) _______ tool is used as build and release orchestration tool.

Answer: Jenkins
21) As per Accenture Definition, DevOps is defined as _________.

Answer: Engineering Discipline

22) ___________ is an on-demand self-provisioned platform with user selected tools and cartridges of
his choice from myWizard DevOps marketplace.

Answer: myWizard DevOps platform

23) _________ activity during CI/CD pipeline is to ensure the quality of the code written. It helps the
developer to write the clean code by notifying the developer with the possible Bugs, Vulnerabilities
and Maintainability Defects.

Answer: Code Review

24) _________ meeting with the Project team reflects on the experiences of the Sprint.

Answer: Sprint Retrospective

25) ________ is a Time-boxed iteration during which a potentially releasable product Increment is
created.

Answer: Sprint

26) Who will be facilitating the team on the sprint processes?

Answer: Scrum Master

27) Who will be responsible for adding new items in Product Backlog?

Answer: Product Owner

28) What does the Sprint Backlog consist of?

Answer: Selected Backlog Items and Tasks


29) A _________ is created during the first half of the Sprint planning meeting and a ___________ is
created during the second half of the Sprint planning meeting?

Answer: Sprint Goal, Sprint Backlog

30) What is the frequency of performing regression testing in a project?

Answer: Whenever there is a change in the application

31) Which of the following SDLC models involve the division of tasks into time boxes to deliver
specific features for a release?

Answer: Agile

32) Kevin is trying to understand Requirement Traceability. He seems to be confused between


horizontal and vertical traceability.

Answer:

a) Horizontal Traceability shows the relationship of related work products to avoid


potential conflicts
b) Vertical Traceability traces the sources of requirements typically from requirements to
design, to source code and to test cases

33) Use the equivalence partitioning technique and identify the values which belong to the same class.

Scenario: The AC is adjusted to turn off when the temperature falls below 18 and turns on when the
temperature is more than 21.

Answer: 22,23,24

34) V model emphasizes on verification and validation. Match these 2 terms with their correct
explanation.

1. Ensuring that the software has been built correctly

2. Ensuring that the software meets the requirements

Answer: 1-Verification, 2-Validation

35) Kevin has been given a responsibility to create a Test Strategy document. He is slightly confused
between the Test Strategy and Test Plan.
Answer:

a) Test Strategy is input to Test Plan


b) Test Strategy is a high-level document which describes the way testing is carried out

36) James has executed the test cases on the Login User story and raised a defect. The developer
mentioned that this defect is insignificant for the current release and can be moved to next release.
What will be the status of the defect?

Answer: Deferred

37) Which steps are involved in the Test Plan stage, when working with ALM?

1. Define Parameters

2. Requirements and Test Coverage

3. Create a Test folder

4. Specify the requirements

5. Define Test Types

6. Create Automated Tests

Answer: 1, 2, 3, 5, 6

38) James has created and logged all the requirements in the Requirements module of ALM.
Samantha has to create tests based on the logged requirements. Can she create the tests directly from
the logged requirements?

Answer: Yes

39) James has been given a responsibility to map the logged defects. Which of the following
components can be mapped with the defects?

1. Requirements

2. Tests

3. Release Cycle

Answer: 1,2,3

40) James wants to export the data from excel into the ALM. Which types of data can be imported
into ALM from excel?
Answer: Requirements, Defects, Test Cases

41) Sam is creating Releases and Cycles in the ALM project. Which of the following statements is
incorrect about releases and cycles?

Answer: The date range of a release must be within the date range of the cycle to which the
release belongs

1) Most popular and common examples of Agile methodology


A) Scrum , Feature Driven Development , Kanban

2) Verification: Lalitha is updating the test script after the review


Validation: Raju is updating the product requirements after BA’s confirmation

3) Which of the following technique is implemented when the requirement is complex with multiple
conditions and actions?
A) Decision Table

4) Which of the following input documents is used to create test scenarios and conditions?
A) Use Cases

5) Which of the following styles of writing test scenario ids will represent clearly the referenced test
scenario and help the testing team for tracking purposes?
A) UCA1.0.TS1.0 [Use Case ID.Test Scenario ID]

6) Suppose, we have an application page with a “role” text box.Users can enter a role in the text
box.The application will accept any one of the three roles(Buyer,Seller,Broker).Which of the
following options indicates a proper collection of equivalence classes to design the test scenarios?
A) Buyer , Seller , Broker , Any other role , No role

7) Which of the following from ALM Test Plan section allows tester to map requirements to tests
from test plan?
A) Requirements Coverage

8) A DevOps engineer is planning to adopt continuous deployment in his project for faster delivery of
the product. Which tool can be used to accomplish his goal?
A) Jenkins
9) Scrum is used for managing a product/application. One of the team members, peter has the
responsibility of delivering the overall project vision. Which scrum role is played by peter?
A) Scrum Master

10) Sarah adopted Agile and DevOps methodologies in her project. What are the benefits offered by
Agile and DevOps practices?
A) Communication gap between teams, Faster Delivery, Failing Fast, Fast Feedback

11) Which of the following options align with agile principles?


A) Welcome changing requirements, Requirements defined upfront, ensure customer
satisfaction, Testing occurs at early phases of SDLC

12) Which of the following defect status is marked by the developer when he is analyzing the defect
description?
A) Open

13) Which type of testing is intended to validate the system’s usability and operability and is
performed by clients?
A) OAT

14) Which of the following testing activities determines if the QA team has the necessary work
products and is ready for the test execution phase?
A) Test Preparation Review

15) Same defect is logged by two testers. What is the status of the defect?
A) Duplicate

16) To successfully launch the ALM web application on the IE browser, suggest recommended
settings under internet options?
A) Add ALM URL to the trusted sites and ensure that Protected Mode is checked for different
zones

17) By default, what does Application Lifecycle Management (ALM) assign when a new defect is
created?
A) An unique defect ID

18) Which of the following defines ALM as an integrated repository?


A) Link between Requirements with Releases and Cycles
Link between Requirements with Tests
Link between Defects with Releases and Cycles
Link between Requirements with Defects

19) Which of the following fields/columns are mandatory to map the ALM defects from the excel file
for entity type as defects?
A) Summary, Detected By, Severity, Defected on Date

20) Characteristics offered by DevOps?


A) Stable and operable software , Consistent and optimized release process

21) Match the scrum roles


A) 1. Product Owner → Creates and maintains product backlog
2. Scrum Master → Conducts daily stand-up meetings
3. Scrum Team → Develops working software

22) Different techniques to perform white box testing


A) Statement Coverage
Path Coverage
Branch Coverage
Condition Coverage

23) Which section in ADM helps to access the deliverables?


A) Work Products

24) How many defects can be associated to a requirement?


A) Multiple Defects

25) Which is not a part of agile manifesto?


A) Comprehensive Documentation over working software

26) Which work product is continuously updated by the test team with test execution work allocation
and status?
A) Requirement Traceability Matrix (RTM)
27) Sam has created a Test set and added tests into it. He wants to configure the test run schedule in
ALM Test Lab. Which test lab panel allows him to configure the test run schedule?
A) Execution Flow

28) Which user group in ALM has full privileges to all modules in ALM?
A) TDAdmin

29) Sarah wants to create reusable tests, so that she can call the existing tests from other tests.
Appropriate option to achieve this is ALM is?
A) Mark as Template Tests

30) Which of the following fields in the Test Script template are filled during the test preparation
phase of STLC?
A) Expected Result, Test Condition ID

31) Who is responsible for prioritizing the product backlog?


A) Product Owner

33) The development lead found the raised defect is not valid. What should be the status of the defect?
A) Rejected

34) Which of the following options are specific to operations (Ops) in DevOps?
A) Deploy, Monitor

35) Which filed is mandatory while creating requirement in ALM?


A) Requirement Type

36) Which of the following fields provides traceability between the “Test Script “ and “Test Scenarios
and Conditions” Document?
A) Test Condition ID in test script

37) To check if the fix implemented is not introducing new defects on the system, what type of testing
is performed?
A) Regression Testing

38) Which of the following fields/columns are mandatory to map the ALM test steps from the excel
file for entity type as tests?
A) Path, Test Name

1) Which of the following field/column for requirements in excel format is used to map the
requirements folder in ALM?
Ans: Path

2) Which of the following best defines ALM as an integrated repository?


Ans: Link between requirements with releases & cycles
Link between defects with releases & cycles

3) By default, what does application life cycle management (ALM) assign when a new defect is
created?
Ans: A unique defect IO

4) Which of the following sections allows you to view coverage by cycle?


Ans: Requirement coverage

5) How many defects can be associated with a requirement?


Ans: Multiple defects

6) Which of the following elements of JMeter determines the order in which the requests have to get
processed?
Ans: Logic controllers

7) Which one of the following is not a controller in JMeter?


Ans: Condition controller

8) Which of the following represents a process where samplers are executes with multiple sets of user
input data?
Ans: Parameterization

9) Which of the following statements is true about pre-processors?


Ans: Pre-processors execute before the sampler requests are executed in the test plan (only a)

10) Which assertion is used to test whether the API server response was received within a given
amount of time or not?
Ans: Duration

11) Which of the following defect states is marked by the developer when he is analyzing the defect
description?
Ans: Open

12) Which of the following test defines “Verification” & “Validation”?


Ans: Verification: Lalitha is reviewing the test script conduct by raju
Validation: Raju is updating the requirements traceability matrix for the requirement coverage

13) John has raised a high priority defect in the morning and is waiting for the fix to be completed. At
5pm he got a fix from the developer. Now he also need to check the fix implemented does not
introduce any new defects on the system. What type of testing is he performing?
Ans: Regression testing

14) Consider the below html code snippet


Email:<label id=”Email” class=”Style1” name=”input”> Which of the best locator to identify the
Email web element?
Ans: By id (“Email”)

15) Which method in the web driver library is used to get the attribute value of a web element?
Ans: getAttribute(“AttributeName”)

16) Sarah is coding an automation script, where she has to validate the price of the holiday package
based on the drag and drop of island only from the menu. The price is fetched from the server and
displays without reloading the webpage. Which web driver library class has the pre defined conditions
for handling dynamic waits in selenium webdriver library?
Ans: WebDriver wait

17) Which of the following statement(s) is/are about the extent reports?
Ans: All of the above : Extent reports are customisable HTML Reports
Extent reports can be integrated with Selenium webdriver using TestNG/Junit test frameworks
Extent reports can add events, screenshots, tags, devices, and any other related information
about test environment
18) Sean is coding an automation script for emulating user actions by mouse using the webdriver
library. Assist sean to choose the correct syntax to create an object for actions class from the
following
Ans: Actions act=new Actions(driver instance)

19) Which Java interface is used to capture screenshot of a webpage using webdriver API?
Ans: TakeScreenshot

20) Sean wants to switch to multiple frames on a webpage when an operation is completed on a frame
an test flow needs to move to another frame, calling the driver.SwitchTo().frame() immediately will
not move the context to the next frame which is at the same level in DCM. The test will first need to
switch to the main document and then activate the desired frame which method is used to switch back
to the main document from the frame?
Ans: driver.SwithTo().defaultContent()

21) Samatha wants to write an automation script that determines the count of hobbies check boxes.
These check boxes have a name attribute as ”hobbies”. Assist Samatha by choosing the correct
command
Ans: Driver.dindElements.By.name(“hobbies”).size()

22) Samatha is automating a test scenario. This scenario involves a pop up of a confirmation window.
She wants to interact with the pop up window and decline the confirmation pop-up window that
shows a message “Do you want to cancel the payment?”. Choose correct code
Ans: Driver.SwithchTo().alert().dismiss()

23) Sarah is coding an automation script to switch to frame in a web application. Help her to switch a
particular frame on a web page using the window library. She wants to interact with the pop up
window and decline the confirmation pop up window show a message “Do you want to cancel the
payment?”. Assist Samantha to interact with
Ans: Driver.SwitchTo().frame(int index)
Driver.SwitchTo().frame(String name or id)

24) Which of the following is correct about generating an XML Suite file is TestNG for Test Suite
execution?
Ans: Test NG XML suite file
Can be generated at the time of creating TestNG class
TestNG XML suite file can be generated using convert to TestNG option in Eclipse after a java code
25) Sarah is designing an automation script using descriptive programming in UFT for a web based
Flight GUI application. Assist sarah with a tool to identify the property of the test scripts
Ans: Object Spy

26) Sarah wants to slice a text to perform a test on a message. She used the split function in VB
Scripting to chop the strings. Predict the output for the below code
Arr=Split(“this ”is ”VB”Scripting”,” ‘ ”)
Msgbox arr(2)
Ans: VB

27) In UFT which type of variable can be accessed by all actions, function libraries and tests that have
a global scope?
Ans: Environment variable

28) Which of the following types of applications can be tested using UFT?
Ans: Web app, SOAP and REST APIs

29) A retail application generates an order id on successful order placing. Order id follows the pattern.
Starts with TXN, followed by 3 digit number and ends with any capital alphabet
Ans: ^TXNd[3]{A-Z}$

30) Jack wants to apply checkpoint in an existing test script. He decides to use keyword view to insert
checkpoint. Which all checkpoints can be inserted using keyword view?
Ans: Only standard

31) What type of action can we create if others want to reuse that action, but at the same time, it
should be non-editable for others?
Ans: Reusable action

32) Chetan wants to add some additional information like the environment for test execution, which
method can be used to add the information in the test method?
Ans: Add Run Information

33) Predict the output for the below code snippet Msgbox (“UFT” & String(3,”T”))
Ans: 6
34) Many wants to add the HTML report snippet to have better clarity in the test results. Which
Reporter object method can be added to achieve the task?
Ans: ReportHTMLEvent

35) There are various elements in a SOAP message. Which element of the SOAP message shows
error message and status information?
Ans: Fault

36) Lisa is a new joiner to cucumber project assigned to execute the scenarios marked as both OAT
and UAT tags. Which of the following will assist Lisa to execute the desired Scenario using tags from
Cucumber option?
Ans: @CucumberOptions(tags=(“@OAT”,”@UAT”))

37) Henry wants to write some comments in the feature file. Which character command is used to
define comments in the feature file?
Ans: #

38) Kevin is creating a feature file with multiple scenarios. He wants to apply multiple tags to a
scenario. Which of the following best requirements the technique to apply multiple tag names?
Ans: @Tag1,@Tag2

39) Which statements are true about feature file?


Ans: only 1, 2 & 3 : A feature file contains multiple scenarios
Feature Gherkin keyword is always written as first high level keyword in a feature file
There can be multiple feature file in a project

40) No question
@when(“Kevin enters quantity as{int}item(3)”)
@Then(“Shopping cart icon shows {int}”)

41) Which of the following is not a valid element in the JMeter test plan?
Ans: Annotation

42) Which of the following is past processor in JMeter?


Ans: Regular expression Evaluator

43) Which of the following parameters can be configured using a thread group?
Ans: Ramp-up period
Loop count

44) Which among the following is an invalid controller in JMeter?


Ans: State controller

45) Which of the following fields in the defect log helps the tester to prioritize and fix the defect?
Ans: Severity

46) Sean is coding an automation script to test a web application. He has to store the largest link in a
java variable using a driver find element() method. Suggest Sean with a compatible return type to
store the logout test object?
Ans: WebElement

47) James want to automate the selection of ID proofs drop down box in the web application . He has
to verify the drop down box has a selection of more than one option. Which of the following method
is suggested to JMeter?
Ans: Ismultiple()

48) When verification fails in TestNG. What forces the test to stop execution and mark as fail?
Ans: Assertion Fail

49) Kavin wants to generate extensive report for the test automation project. He decides to use Extent
reports library. Which class in this library is used to create labels, code blocks and labels in the
report?
Ans: Markup Helper

50) Sean configured this project for the test Suite execution using TestNG. He wants to perform
parallel execution using TestNG. Which attribute represents the parallel execution of the test cases?
Ans: Parallel=”tests”

51. Kevin is using CSS selector as a locator strategy for the following element <h1 id =”msg1”
name=”success”>Registration completed</h1>. He must identify the element efficiently.
Ans: .By CSS Selector(“h1[id=’msg01’]”)
.By CSS Selector(“h1[id=’msg01’][name=’success’]”)
52. There is an element on the webpages when inspected on the browser it looks like <div
call=”errorMsg”>Error Message</div>. James wants to use selenium locations to identify the
element. Choose the correct set of commands to locate the elements efficiently.
Ans: By CSS Selector(“div.errorMsg”)

53. Sarah wants to automate the selection of only one option from a dropdown box as shown below
<html>
<body>
<select multiple>
<option value=”web”>html</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
<option value=”prog”>python</option>
<option value=”prog”>java</option>
</select>
</body>
</html>.
Sarah has to select only the fourth option,i.e,python from the options field.
Ans: Select By Index()

54. Identify the valid statement from the below given options.
Ans: Browser(name i=Demowebshop).page(page i=”.*”).WebEdit(“Emailiq”) Set Prince

55. Neha is an automation tester working for TestMe project. She wants to log some information in
the UFT tet result pane. Which reporter object method is more relevant in the situation?
Ans: MicDone

56. UFT supports various debugging techniques that help us in finding the issues in the automation
script. Which technique allows us to change the value of local variables at runtime to understand the
behaviour?
Ans: Console

57. Which of the following statements regarding actions in UFT is incorrect?


Ans: In actions, parameters are passed by value and by

58. To execute a cucumber scenario, which file(s) are important and must be created in the maven
project?
Ans: .feature file, .step definition

59. Henry wants to generate JSON reports on the execution of Test Runner in cucumber. Assert
Henry with the right option to configure the JSON report generation in @Cucumber options?
Ans: @Cucumber Options({plugin=pretty,”html:report.html”})

60. Henry has created a feature file with tagged scenarios. He wants to execute all the scenarios
excluding “SevereTag” scenarios. What command should he use in cucumber options for TestRunner
class?
Ans: tags=(“~@SevereTag”)

61. Which of the following will control the amount of time Jmeter will execute a test plan?
Ans: Test duration

62. Which of the following types of applications can be tested using Jmeter?
Ans: All of these

63. Jude is testing the login page of an application that contains 10 fields. He has analyzed the data
dictionary to derive the test data for the login page. He has tested the application with all the
combinations as it was a mandatory task required for the project. However, he is sure that 0% of
defects do not guarantee the process success from the customers perspective, please predict the testing
principle that he is referring to in the above statement?
Ans: Exhausting testing not possible

65. Sean is coding to automate a test scenario in which he has to click on a dynamic link to navigate
to the shopping cart page. The web element looks like <a href=”icart.jsp? params”>cart[19]</a>.
Which locator is most recommended for the scan to identify the cart web element for all test
iterations?
Ans: By.partial link Text()

66. Kevin wants to fetch all the data from the country dropdown menu and verify the data against data
from the database. He is looking into the library for a method to fetch all the data from the country
dropdown box .Which method helps Kevin?
Ans: get options()

67. What does double forward slash // represent in xpath selenium locations?
Ans: relative xpath
68. Kevin is planning to write automation script for below scenario.
Given the user is on the payment page. He views a textbox with attribute values. “Enter Mobile
Number” written in the box. The user must enter the mobile number in the box to proceed. Please
choose the correct command to help Kevin in automating the scenario. Assume the textbox element is
already identified and stored in mobile txt box variable.
Ans: mobileTxtBox.sendKeys(“xxxxxxxxxx”)

69. Henry is designing a script and using CSS selector as the locator strategy. He must locate the
element efficiently. The element inspected looks like <input id=”new password” type=”password”>.
Ans: By CSS Selector(“input[id=password]”)

70. Kevin is designing an automation test, where test data is specified in an external excel file. Which
command will be helpful to write the data into a cell of the excel file? Assume c1 is the cell object.
Ans: c1.SetCellValue(‘data’)

71. <html>
<body>
<ul class = ”cities” >
<li>Bangalore</li>
<li>Chennai</li>
<li>Mumbai</li>
<li>Bangalore</li>
<li>Pune</li>
</ul>
</body>
</html>
Sarah wants to locate the 3rd child element i.e. Hyderabad.Suggest the appropriate locator strategy by
Sarah.
ANS- CSS=”ul.cities.li inth of type(“Hyderabad”)”

72. UFT supports various synchronization techniques that helps us to manage web applications.
Which technique is applied only to webpages and browsers?
ANS- Sync.

73. Consider a test String to be “order 200 completed”. which of the below regular expression(s) will
not match the given string?
ANS- order [0-9]+Completed
74. Henry had bined a project team. The team is using the BDD framework for effective testing.
Henry must understand keywords in Cucumber. Which gherkin keyword indicates the pre-conditions /
pre- requests steps in a feature file?
ANS- Given

75. Samantha has created a feature file in a project. she wants to configure the Test Runner class using
feature files/glue tags. Which of the following is the correct set annotations to be used in the test
runner?
ANS- @Runwith ; @Cucumber options.

77. Which of the following elements of Jmeter executes after the sampler requests are executed in the
test plan?
ANS- Post Processors.

78. Sarah is coding in a test scenario, in which she must fetch the booking id as a text message from
the span element
The web element looks like <Space> order completed with Booking id:6665<Space>
Help Sarah to find a method from the webdriver library to fetch the booking ID?
Ans- get Text();

79. James is automating a script and using CSS Selector as a locator. What are the primitive types for
designing the CSS selector?
ANS- .id, . Attribute, .innerText()

80. Which expression is used in CSS Selectors to match the attribute value with a prefix?
ANS- ^=

81. Sean is coding an automation Script to launch the web application on a browser window. Which
of the following listed option(s) will help Sean to launch the designed application on a web browser in
Selenium?
ANS- .driver.get(“URL”) , .driver.navigate().to(“URL”)

82. Which date format is used to customize the system date to Year-Month-day format?
For example 2019-04-24
ANS- new Simple Date Format(“YYYY-MM-dd”).
83. Select the correct order of execution of annotations, as per the life cycle of Test NG which can be
applied for test methods along with before XXXX-after XXXX methods
ANS- Before test, Before class, Before method , test , After method, After class , After test .

84. Sam has created a Test NG project with below specified Test class
Public class Test class
{
@Test (Priority = 1)
Public void method 1() (-----)
@Test
Public void method 3() (-----)
@Test
Public void method 2() (-----)
@Test
Public void method 4() (-----) }
ANS- Method 2 - Method - 3 Method - 1 Method – 4

85. What are the various status options available in the Extent Reports library?
ANS- PASS , FAIL , SKIP , FATAL , ERROR , Warning , INFO

86. Sarah wants to perform a few scenarios using a do-while loop in UFT. She has written the below
code. Predict the number of times the loop will be executed ?
i=10
Do while (i<5)
msg box i
i=i+1
loop
ANS- Does not execution in the condition

87. Predict the Output for the below code snippet


Dim Str
Str = Str Reverse (mid (“Unified functional testing”,4,9))
Print Str
ANS- couf deif

88. Predict the Output for the below code snippet


Dim a,b
a= ”vbscript”
b= Left (Right (a,3) 2)
print
ANS- ip

89. Which of the following reports can be generated using plugins from Cucumber options?
ANS- All of the above

90. James wants to design a scenario in a feature file, in which the complete scenario runs multiple
times for different data sets . Suggest James with a Gherkin keyword to activate drop-down testing in
the feature file ?
ANS- Use Scenario outline.

91. Jack had created the feature file with the below mentioned scenarios as shown below:
@smoke
Scenario: This is the first scenario
@crash
Scenario: This is the second scenario
In test runner class, Jack mentioned @cucumberoptions (tags=(“smoke”)) predict which scenario
is/are gets executed
Ans: Execute first scenario

92.Which of the following is the logical container that contains all the elements which drive the
performance test?
Ans: Load Testing

93. Which of the following assertions is not applied in Jmeter?


Ans: web

94. Which of the following is an invalid configuration element in Jmeter?


Ans: FTP cookie manager

95. Which of the following input documents is used to create test scenarios and conditions?
Ans: Use cases

96. Which of the following Java classes are from the extent API library?
Ans: ExtentReports, Status
97. Sean is coding to automate a web application using the webDriver library. He had set the implicit
wait of 30 seconds. However, the webelement was found within 10s . Will the webdriver wait for
further 20 seconds before executing the next line of code?
Ans: Yes, webDriver will wait 20 more seconds.

98. Which method is used in the Apache POI library to fetch the cell value from a row? Identify the
correct format of invoking the library functions to get the value from the cell
Ans: sheet.getRow(rowno).getcell(col no).getStringCellValue()

99. Sarah is coding to automate script to switch to multiple windows in a web application. She has to
store all the window instances in a java variable which is retrived by driver.getWindowHandles().
Suggest sarah with a compatable return type to store the window references.
Ans: list <string>

100. Mary is struggling to find a suitable simple wild cart character that matches any single character .
Please suggest to her which of the following characters many be relevant to her search
Ans: .(wildcard character)

101. Which Gherken keyword is used to create/execute as a common given step for all the scenarios
in the feature table?
Ans; Background

102. sarah has her code in git local repository, but her team lead had pushed the new changes into the
remote repository, which git command would you recommend Sarah with new changes into her
working copy?
Ans: put

104. Which parameter types in cucumber expressions matches text without white space?
Ans:{ word}

105. Sean is automating a test scenario in which he has to fetch the URL of the webpage using
webDriver API. Suggest a method fo Sean to get the link address
Ans: getCurrentURL()

106. Ans: No such element Exception


107. Sean is performing verification using assert class functions from TestNG. Suggest him the
correct method to verify the reference/address of the two objects to be identical?
Ans: assertSame(object1,object2)

108. Sam is designing an automation test where test data is specified in an external excel file. Which
command will be helpful to get access to the 2nd sheet of the excel file. Assume web is the writebook
object
Ans: who.getSheetA1(1)

110. Which of the following is a listener in JMeter?


Ans: All the above (Assertion results, Monitor results, Aggregate report)

111. Sarah is coding to automate a scenario for the selection of the “from Cities” drop down box on
the flight booking application web page, which class is used?
Ans: Select Class

112. Which of the following elements of JMeter helps to validate whether on application is returning
on excepted response or not?
Ans: Assertion

113. Which controller in JMeter you organize the samples & other logic controllers?
Ans: Simple

115.
Ans: WebElement element 01 = driver.findelement(By.id(“Searchbox”));

116.
Ans: Test Driven Development

117. Trigger all scenarios


Ans: Feature file

118. BDD Process


Ans: 2-3-1-4-5

119. Selenium Grid (Multiple Box)


120. standard
Standard, Text and Bitmap (Active Screen)

You might also like