QTP 10.0 Sample Questions Set - 15



  1. When a procedure is created in the Function Library editor, what is the extension on the file?

A.    .INI
B.    .TXT
C.    .QFL
D.   .VBS

  1. What are the categories in the Step Generator?

A.    Object, Operation, Value
B.    Library, Built-in, Local Script
C.    Operation, Arguments, Return Value
D.   Test Objects, Utility Objects, Functions

  1. In Test Settings ->Run the Data Table iteration options are for which data sheet?

A.    Local
B.    Global
C.    Run-time Data Table
D.   Design-time Data Table

  1. What can you use to handle unpredictable testing exceptions?

A.    A Do Loop
B.    Recovery scenario
C.    IF THEN Statement
D.   Select Case statement

  1. In which command can you associate a function library to a test?

A.    Run Options
B.    Test Settings
C.    View Options
D.   Function Definition Generator

  1. Where do you set the action iterations for a specified action?

A.    Action Settings
B.    Action Properties
C.    Action Run Settings
D.   Action Call Properties

  1. Where do you mark an action as reusable?

A.    Action Settings
B.    Action Properties
C.    Action Run Settings
D.   Action Call Properties

  1. After running a test that contains both input and output parameters, where can the results of an output parameter be found?

A.    Local DataSheet
B.    Global DataSheet
C.    Run-time Data Table
D.   Design-time Data Table

  1. If you have a Virtual Object Collection stored on your machine, and you don't want to use it, what must you do?

A.    Disable Virtual Objects in Test Settings
B.    Remove the Collection from your machine
C.    Disable Virtual Objects in General Options
D.   Remove the Collections from the Resources list

  1. Which method for the Data Table utility object will allow you to retrieve information from the Data  Table during a test run?

A.    Value
B.    Import
C.    Get Cell
D.   Get Value

  1. What does the source property of a database checkpoint object represent?

A.    The SQL query
B.    The identification number of the database
C.    The number of rows returned from the query
D.   The connection string used to connect to the database

  1. What is created, by default, with each new action?

A.    Local Data Sheet, Global Data Sheet, Folder
B.    Local Object Repository, Local Data Sheet, Folder
C.    Global Data Sheet, Local Object Repository, Folder
D.   Local Data Sheet, Global Data Sheet, Local Object Repository

  1. What are the available environment variable type(s)?

A.    Built-in
B.    User-defined
C.    User-function
D.   Built-in, User-defined
E.    Built-in, User-function

  1. If the Global Data sheet contains no data and the Local Datasheet contains two rows of data, how many times will the test iterate?

A.    1
B.    2
C.    3
D.   5

  1. What is the first thing that must be defined in a Recovery Scenario?

A.    Trigger
B.    Recovery Operation
C.    Recovery Scenario Name
D.   The Function used in the scenario

  1. What are bitmap checkpoints sensitive to?

A.    Image size and object type
B.    Object type and image type
C.    Screen resolution and object type
D.   Screen resolution and image size

  1. If the Local Data sheet contains two rows of data, how many times will the action iterate, by default?

A.    1
B.    2
C.    3
D.   5

  1. How do you close the database session after examining the results of an SQL query? 

A.    Call the ADO.Close function
B.    Use the close method for the RecordSet object
C.    Set the RecordSet and Connection objects equal to Nothing
D.   Use the close method for the RecordSet and Connection objects

  1. What are the available trigger event types?

A.    Pop-up window, object state, VBScript event
B.    Object State, VBScript event, Application crash
C.    Pop-up window, object state, test run error, QTP crash
D.   Pop-up window, object state, test run error, application crash

  1. What is the keyword used to define how the counter variable in a For Next loop increments?

A.    ++
B.    NEXT
C.    SKIP
D.   STEP

1
2
3
4
5
6
7
8
9
10
C
D
B
B
B
D
B
C
C
A
11
12
13
14
15
16
17
18
19
20
A
B
D
A
A
D
A
D
D
D

No comments:

Post a Comment