QTP Online Quiz


Following quiz provides Multiple Choice Questions (MCQs) related to QTP Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - How do you Interrupt/Pause a running session ?

  1. Automation > Pause.

  2. Run > Pause

  3. Tools > Pause

  4. Clicking on Pause button at toolbar

  5. Pressing Pause Keyboard button

A - (1) only

B - (2) Only

C - (2) (4) and (5) Only

D - (2) and (4) only

Answer : C

Explanation

A run session can be paused by pressing Pause keyboard button or Clicking the pause button or selecting Run > Pause menu option.

Q 2 - Which of the following is a recovery operation available in UFT?

  1. Click Button with label

  2. Click Link with Text

  3. Click Default Button/Press the Enter Key

  4. Click Cancel Button/Press the Enter Key

  5. Mouse Left/Right Click

  6. Press Key or Key Combination

A - (1) (2) and (6) only

B - (1) and (3) Only

C - (1) (2) and (3) Only

D - (3) (4) and (5) Only

Answer : A

Explanation

The valid recovery operations are Click Default Button/Press the Enter Key, Click Cancel Button/Press the Escape Key, Click Button with Label and Press Key or Key Combination.

Q 3 - Which UFT View Option will show you the repositories associated with each action?

  1. Resources

  2. Information

  3. Script Repository

  4. Active Screen

A - (1) (2) and (3) only

B - (1) Only

C - (1) and(3) Only

D - All (1) (2) (3) and (4)

Answer : B

Explanation

Resources pane shows the repositories associated with each action.

Q 4 - Which checkpoint type uses a query to validate expected value?

A - standard

B - table

C - database

D - SQL Checkpoint

Answer : C

Explanation

Database checkpoint is used to query to validate expected value.

Q 5 - Which tab in the Debug Viewer pane allows you to view or change variables or properties?

A - Watch

B - Variables

C - Command

D - View

Answer : A

Explanation

Watch tab in the Debug Viewer pane allows you to view or change variables or properties.

Q 6 - Which operator do you use to concatenate two strings in VBScript?

A - &

B - &&

C - concat

D - ++

Answer : A

Explanation

Concatenation can be done either by using & or using '+'

Q 7 - The Documentation cell in Keyword view is ____________.

A - Read-only

B - Write-only

C - Read-Write

D - read, write and execute

Answer : A

Explanation

You cannot edit documentation cell in keyword view.

Answer : B

Explanation

To disable a virtual object collection, select ‘Disable virtual objects in General options'.

Answer : B

Explanation

The correct syntax for importing a sheet is DataTable.ImportSheet “location of .xls file”,”sheet in .xls file”,”sheet in data table”

Q 10 - Which of the following datatable functions return the column name?

A - getcolumnname()

B - getparametername()

C - columnname()

D - parametername()

Answer : B

Explanation

getparametername return the column name.

qtp_questions_answers.htm
Advertisements