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 - Which of these checkpoints does not require the test to be in recording mode?.

  1. Standard checkpoint

  2. Database checkpoint

  3. XML checkpoint

  4. Page checkpoint

  5. Bitmap Checkpoint

A - (1) and (2) only

B - (1) (2) and (4) Only

C - (2) and (3) Only

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

Answer : C

Explanation

You can insert database and xml checkpoint without being in recording mode.

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 - Where can you reset the add-in manager if it does not display when you launch UFT?

A - General Options

B - Run Options

C - Test Properties

D - Test Settings

Answer : A

Explanation

It is available under Tools menu.

Q 4 - What is compared in a bitmap checkpoint?

  1. bits

  2. RGB

  3. pixels

  4. text

  5. jpegs

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

B - (3) Only

C - (4) and(5) Only

D - (1) (3) and (5)

Answer : B

Explanation

Bitmap checkpoint compares pixels only.

Answer : C

Explanation

local data sheet iterations are specified in Action call Properties.

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 - A checkpoint returns a _________ value.

A - Integer

B - Float

C - Boolean

D - Checkpoint does not return a value

Answer : C

Explanation

Checkpoint returns a Boolean value.

Q 8 - When you set the path of your application at 'Record and Run Setting' to automatically open the application on recording, what is the statement that gets added in expert view for this step of opening application?

A - SystemUtil.Run

B - ExecuteFile

C - InvokeApplication

D - QTP does not add a statement for this statement.

Answer : D

Explanation

When you specify an application to open using the Record and Run Settings dialog box, QuickTest does not add a SystemUtil.Run or any other statement to your test.

Q 9 - There are two objects on a webpage with same description. How will you distinguish between these two objects?

A - using 'text' property

B - using 'class name' property

C - using 'index' property

D - using 'html tag' property

Answer : C

Explanation

For more than one object with same description, you can define the index property for the description.

Answer : A

Explanation

Data is overwritten when column headers in Excel and the data table match.


qtp_questions_answers.htm

Advertisements