Thursday, March 3, 2011

HP QTP Certification Practice Exam Questions Set 6

1) You can manage the test actions and the test or function library steps using the ... menu commands
A) File
B) Edit
C) Automation
D) Tools

2) To expand all the steps in the keyword view which option you would use from the View menu.
A) Expand
B) Expand All
C) Expand Items
D) Expand Rows

3) What is the shortcut key to open a Step Generator.
A) F2
B) F5
C) F6
D) F7

4) Function Definition Generator in found in which menu option.
A) File
B) Tools
C) Insert
D) View

5) The shortcut keys for Record, Stop and Run respectively are
A) F3, F4, F5
B) F4, F3, F5
C) F4, F5, F3
D) F3, F5, F4

6) What is the shortcut key for opening an Object Repository.
A) Alt+R
B) Shift+R
C) Ctrl+R
D) Shift+O+R

7) Shortcut key to Insert/Remove a breakpoint is
A) F9
B) F8
C) Ctrl+b
D) Shift+b

8) .........runs only the current line of the script. If the current line calls a method, the method is displayed in the view but is not performed.
A) Step Over
B) Step Out
C) Step Into
D) Step Till

9) .........runs only the current line of the script. When the current
line calls a method, the method is performed in its entirety, but is not
displayed in the view.
A) Step Over
B) Step Out
C) Step Into
D) Step Till

10) What is the shortcut key to Clear all Breakpoints
A) Ctrl+Shift+F9
B) Shift+Ctrl+F9
C) Alt+Shift+F9
D) Alt+Ctrl+F9

11) Object Spy can be found in ........menu.
A) Tool
B) Tools
C) Task
D) Tasks

12) ............ displays the open documents side-by-side.
A) Tile Vertically
B) Tile Horizontally
C) Cascade
D) Tile Cascade

13) For opening the QuickTest Professional Help we can use.......
A) F3
B) F5
C) F1
D) F2

14) If QTP cannot find any object that matches the description, or if it finds more than one object that matches, QuickTest may use the............mechanism to identify the object.
A) Ordinal Identifier
B) Index Identifier
C) Smart Identification
D) Assistive Identification

15) You can configure the ........, ............ and ............ properties that QuickTest uses to record descriptions of the objects in your application
A) mandatory, assistive, and ordinal identifier
B) mandatory, required, and ordinal identifier
C) smart, assistive, and ordinal identifier
D) Index, assistive, and ordinal identifier

16) The .......... property set for each test object is created and maintained by QuickTest.
A) Run-Time Object
B) Test Object
C) Smart Identification Object
D) Assistive Object

17)You can access and perform ......... methods using the Object property.
A) Run-Time Object
B) Test Object
C) Smart Identification Object
D) Assistive Object

18) You can view or modify the test object property values that are
stored with your test in the .........
A) Information Pane
B) Data Table
C) Information Pane & Data Table Both
D) Object Properties & Object Repository dialog box.

19) You can retrieve or modify property values of the test object during the run session by adding ........ .statements in the Keyword View or Expert View.
A) GetROProperty & SetROProperty
B) GetTOProperty & SetTOProperty
C) GetTOProperty & SetROProperty
D) GetROProperty & SetTOProperty

20) 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.
A) The internal methods and properties
B) The mandatory methods and properties
C) The selective methods and properties
D) The assistive methods and properties



21) Using the Object Spy, you can view
A) the run-time or test object properties and methods of any object in
an open application.
B) the run-time or test object properties of any object in an open
application.
C) the test object properties and methods of any object in an open
application.
D) the run-time object properties and methods of any object in an open
application.

22) There are .........object type filters in Object spy dialog box.
A) Two
B)Three
C) Four
D) Five

23) In the Object Spy window, in the Properties Tab
A) Copying of Properties and its values is possible with CTRL+C
B) Copying of Properties and its values is possible by right clicking on
it and choosing copy.
C) Copying of Properties and its values is possible with both A) and B)
methods
D) Copying of Properties and its values is possible is not possible

24) In the Object Spy window, in the methods Tab
A) Copying of Methods is possible with CTRL+C
B) Copying of Methods is possible by right clicking on it and choosing copy.
C) Copying of Methods is possible with both A) and B) methods
D) Copying of Methods is possible is not possible

25) Object Spy dialog box
A) Can be resized
B) Cannot be resized

26) .............. are the highest level of the test hierarchy in the
Keyword view.
A) Tests
B) Steps
C) Call to Actions
D) Actions

27) You can copy and paste or drag and drop actions to move them to a
different location within a test
A) True
B) False

28) You can print the contents of the Keyword View to your Windows
default printer (and even preview the contents prior to printing).
A) True
B) False

29) In the Keyword View, you can also view properties for items such as
checkpoints.
A) True
B) False

30) In the step Browser > Page > Edit > Set "Sachin", identify container
object(s)
A) Browser
B) Edit
C) Page
D) Both Browser & Page

31) You can use the Keyword View to add a step ..........in your test.
A) at the end
B) below the currently selected step
C) at the beginning
D) at anypoint

32) The Documentation cell is .............
A) Read-only
B) Write-only
C) Read and Write
D) Read, write & execute

33) An Item column can be any of the following:
A) A test object
B) A statement like Dim
C) A step generated by step generator
D) All of above

34) The Operation cell in the keyword view specifies the operation to be
performed on the item listed in the ........... column.
A) Operation
B) Documentation
C) Item
D) Value

35) Even if the Item column in the Keyword View is displayed to the
right of the Operation column, you must still first select an item to
view the list of available operations in the Operation column.
A) True
B) False

Answers:

Question

Answer

Ques

Ans

Ques

Ans

Ques

Ans

1

B

11

B

21

A

31

D

2

B

12

A

22

A

32

A

3

D

13

C

23

A

33

D

4

C

14

C

24

A

34

C

5

A

15

A

25

A

35

A

6

C

16

B

26

D

7

A

17

A

27

A

8

C

18

D

28

A

9

A

19

B

29

A

10

A

20

A

30

D

Click here for more -->HP QTP certification sample questions

No comments:

Post a Comment

Please leave your comment here...