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 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 is the best match for the regular expression for deer|dees

  1. deer

  2. deedess

  3. deerees

  4. dees

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

B - (3) Only

C - (1) and(4) Only

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

Answer : C

Explanation

'|' instructs UFT to match one of a choice of expressions.

Q 3 - Which directory is the default directory in the UFT file structure where the local Data Table is located ?

A - Action 0 folder

B - Local Action folder

C - Default Test folder

D - Data folder

Answer : C

Explanation

The local as well as Global data table can be found in Default.xls file located in correposnding test folder.

Q 4 - User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?

A - txt

B - xml

C - csv

D - html

Answer : B

Explanation

XML files are imported into environmental variables option under Test Settings > Environment > User Defined dropdown option.

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.

Q 6 -If you need to add the steps or update the object repository while running your test, which run mode can be used?

A - Normal Run mode

B - Maintenance Run mode

C - Update Run mode

D - Debug mode

Answer : B

Explanation

Maintenance Run mode can be used to repair your test during run session.

Q 7 - You decided to parameterize a value using Random Number parameter, what option you will choose to generate a new number and use it for the parameter throughout the test?

A - Generate new random number for each action iteration

B - Generate new random number once per entire test run

C - Generate new random number for each test iteration

D - None of these

Answer : B

Explanation

Select Generate new random number once per entire test run generates a new number which can be used throughout the test.

Answer : A

Explanation

Table checkpoint can be created by inserting a standard checkpoint on a table object.

Answer : C

Explanation

A date constant must start and end with a # e.g. Const sDate = #30-04-2014#

qtp_questions_answers.htm
Advertisements