QTP Sample ques
-
Upload
testinggeeks -
Category
Documents
-
view
90 -
download
1
Transcript of QTP Sample ques
Co-Cubes
1. Defect Removal efficiency (DRE) =
Quantity of Bugs during Software Testing/ (Quantity of Bugs during Software
Testing+ Quantity of Bugs found by user)
Answer: Hence DRE=E/E+D)
2. Which of the following VB script commands will help to print the exact size of
the array in QTP?
Answer: Print L bound (array)
3. Which of the following is not a quality characteristic listed in ISO 9126
Standard?
Answer: Supportability
4. Which of the following shortcut key is used for opening an Object Repository?
Answer: Ctrl+R
5. In QTP which of the following will help Quick Test in identifying similar
objects?
Answer: Smart Identifier
6. The __________ provides a list of the resources that are specified in your test but
cannot be found.
Answer: Missing Resources Pane
7. The___________ tab enables you to run a line of script to set or modify the current
value of a variable or VBScript object in your test or function library.
Answer: Command
8. If an object is contained in both local and shared repositories then, during a
run session.
Answer: Quick Test will use the object in the local object repository
9. The natural join is equal to :
Answer: Combination of projection and Cartesian product
10.To delete a particular column in a relation the command used is:
Answer: Alter
11.In a select statement that includes WHERE clause where should be the GROUP
By clause placed in the SELECT statement?
Answer: After the WHERE Clause
12.Which of the following is a valid statement in VB script?
Answer: msgbox “greetings”
13.In Selenium Web driver which of the following command is used to replace the
existing text content?
Answer: Send Keys Command
14.A Quality problem found only after the software has been released to the end-
users is known as:
Answer: Failure
15.Which of the following testing technique examines the basic program
structure and derives the test data from the program logic that all statements
and conditions are executed at least once?
Answer: White Box Testing
16.Given the following code, which is true about the minimum number of test
Cases required for full statement and branch coverage:
Read P
Read Q
IF P+Q > 100 THEN
Print "Large"
ENDIF
If P > 50 THEN
Print "P Large"
ENDIF
Answer: 1 test for statement coverage, 2 for branch coverage
17.Which one of the following describes the major benefit of verification early in
the life cycle?
Answer: It reduces defect multiplication.
18.If the available test object methods or properties for an object do not provide
the functionality you need, you can access ______________ of any run-time object
using the Object property.
Answer: The internal methods and properties
19.Which CSS selector is a valid statement to select Opera?
Answer: css = ul > li:nth-of-type(4)
20. What is the output of the following statement?
<div><span id="name">Name 1</span><span class="name">Name 2</span></div>
Answer: Output is Name 1
https://www.linkedin.com/pulse/20140715050238-153509697-qtp-
certification-questions
http://www.testingexcellence.com/istqb-quiz/istqb-foundation-practice-
exam-1/