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 - What information is displayed at System Monitor Tab in test result ?

  1. Application Name, Counter scale, Current Step

  2. Application Name, Product Name, System Information

  3. System Counter List, Maximum Counter Value

  4. System Information, Application Name and System Counter List

A - (1) and (3) only

B - (2) and (4) Only

C - (3) Only

D - (4) only

Answer : A

Explanation

System Monitor tab displays information related to Application Name, Counter Scale, Current Step, System Counter List, Maximum Counter Value. It does not show information related to Product Name or System information.

Q 2 - Which property/method can be used as custom checkpoints in UFT?

  1. Wait

  2. Exist

  3. Sync

  4. GetROProperty

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

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

C - (1) and(3) Only

D - (2) and (3)

Answer : D

Explanation

Exist and Sync can be used as custom checkpoints.

Q 3 - Which names are used to identify the status of your application before and after your automated test executes?

  1. initial condition

  2. static state

  3. end condition

  4. done condition

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

B - (3) Only

C - (1) and(3) Only

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

Answer : C

Explanation

A point to note here is that when you are iterating over a specific business process the initial and end conditions should be same.

Q 4 - After playing back a test containing output values, where can the output values be viewed?

A - global Data Table

B - local Data Table

C - design-time Data Table

D - run-time Data Table

Answer : D

Explanation

Run time data table is available in the Results viewer where the output values can be viewed.

Answer : B

Explanation

When call to copy of an action is performed all the steps, checkpoints, parameterizations, action parameters, and object repository are all copied over.

Answer : B

Explanation

WebEdit("Name:=Author" , "Index:=3") is the correct syntax of descriptive programming.

Answer : A

Explanation

The main difference between function and sub procedure is that function can return a value whereas sub procedure.

Q 8 - While comparing two object repository using Object Repository Comparison tool, If the same object is contained in both repositories but with different names, how this will be shown in repository?

A - as a single object

B - as two separate objects

C - removes the objects

D - there will be a conflict

Answer : B

Explanation

If the same object is contained in both the object repositories but with different names, they will be shown in the object repositories as two separate objects.

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.

Q 10 - What is the Return Type for Click method?

A - Number

B - String

C - Boolean

D - None

Answer : D

Explanation

Click method does not return anything.

qtp_questions_answers.htm
Advertisements