QTP Online Quiz


Advertisements


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 can you can hide Item column in keyword view?

  1. Right click on column header and unselect item

  2. Right click select 'view options' and remove item from visible column list

  3. Select Item column at Tools > View Options

  4. you cannot hide Item column in keyword view

A - (1) and (3) only

B - (1) and (2) Only

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

D - (4) only

Answer : A

Explanation

You can hide a column in keyword view by right clicking on column header and unselect the header name or select view Option and remove the header from visible column list.

Q 2 - Which of the following statements is/are false ?

  1. UFT is an object based testing tool.

  2. UFT is a Protocol based testing tool.

  3. UFT is a Functional and Regression testing tool.

  4. UFT is an open source testing tool.

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

B - (1) and (3) Only

C - (2) and (4) Only

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

Answer : C

Explanation

UFT is neither a Protocol based testing tool nor a open source testing tool.

Q 3 - How can you add recordable or non-recordable operations to your test?

  1. Use the Step Generator

  2. Insert through Keyword View.

  3. Drag objects from Available Keywords.

  4. Drag objects from the Data Table.

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

B - (3) and (4) Only

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

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

Answer : C

Explanation

It can be added using step generator or through keyword view or it can be dragged objects from available keywords.

Q 4 - Which bitmap checkpoint feature allows the checkpoint to pass even if bitmaps are not identical?

A - bit tolerance

B - RGB tolerance

C - BW tolerance

D - image tolerance

Answer : B

Explanation

Bitmap checkpoint checks for RGB Tolerance even if bitmaps are not identical.

Q 6 - Which DataTable method makes an external spreadsheet available to UFT?

A - GetSheet

B - OpenSheet

C - ImportSheet

D - ExportSheet

Answer : C

Explanation

ImportSheet method makes an external spreadsheet available to UFT.

Q 7 - Result.qtp file at Test Result Location stores all information on each of the test result nodes that are displayed in Test Result Viewer.

A - True

B - False

Answer : B

Explanation

The file that stores information about the test result nodes is Results.xml and not Result.qtp

Answer : C

Explanation

To call a test script in another script, you need to make the actions in corresponding script reusable.

Answer : B

Explanation

Childobjects returns the collection of child objects contained within the object.

Answer : A

Explanation

Contains information about license code and can be found under C:\Program Files\Common Files\HP\License Manager\lservrc


qtp_questions_answers.htm

Advertisements