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 - An action cannot be splitted when :

  1. An external action is selected.

  2. The first step of an action is selected

  3. A reusable action is selected

  4. Recording a test

A - 1 only

B - (2) and (3) Only

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

D - All the Above

Answer : C

Explanation

An action cannot be splitted when an external or reusable action is selected or in a record session.

Q 2 - Which function can be used to convert data from one subtype to another?

  1. Date

  2. Format

  3. CInt

  4. CStr

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

B - (3) Only

C - (1) and(3) Only

D - (3) and (4) only

Answer : D

Explanation

CInt converts to Integer and CStr converts to string.

Q 3 - Input or Output action parameter name are not case sensitive.

A - True

B - False

Answer : B

Explanation

Input or output action parameter names are case sensitive.

Q 4 - Which UFT feature confirms that the application is functioning correctly?

A - parameterization

B - checkpoint

C - breakpoint

D - validation

Answer : B

Explanation

Checkpoint confirms if the application is functioning correctly.

Q 5 - Which Recording mode records mouse and keyboard operations.

A - Analog

B - Low

C - Normal

D - Insight

Answer : A

Explanation

Analog Recording mode records mouse and Keyboard Operations.

Answer : A

Explanation

DataTable.Export (Filename) to be used to export all sheets in a datatable.

Q 7 - When you insert a new step using step generator, where does it get added?

A - by replacing the current step.

B - after the selected step.

C - at the beginning of steps

D - at the end of steps.

Answer : B

Explanation

When you add a new step using step generator, it is added to the test after the selected step.

Q 8 - Which test object property is used to access native properties of a run-time object?

A - ChildObjects

B - GetROProperty

C - GetTOProperty

D - Object

Answer : D

Explanation

Object property of an object can be used to access native properties of a run-time object.

Q 9 - Which environment variable can be used to determine the path of the folder in which the test is located?

A - ProductDir

B - TestDir

C - ResultDir

D - None of the above

Answer : B

Explanation

Environement varaible ‘TestDir’ is used to get the test location.

Answer : B

Explanation

Description Properties followed by VRI then by Smart identification and finally by ordinal identifier.


qtp_questions_answers.htm

Advertisements
E-Books Store