QTP Questions 30 - Sharing Information Between Actions

1)
A Dictionary object is the equivalent of a PERL associative array.

A) True
B) False

2)
Values from one part of a run session cannot be used later in the run session

A) True
B) False

3)
For other actions to use the value in the Data Table as an input parameter, you can store a value in the Data Table by outputting the value to the ..... Data Table

A) local
B) global
C) action
D) both A & B

4)
The Dictionary object enables you to assign values to variables that are accessible from .... actions

A) local
B) external
C) both A & B
D) None of above

5)
After you have added the reserved Dictionary object to the registry, it is .... to restart QuickTest.

A) required
B) not required
C) may or may not be
D) None of above

6)
It is possible to create nested Dictionary objects.

A) True
B) False

7)
A function cannot return a dictionary object.

A) True
B) False

8)
A function can accept a dictionary object as a parameter.

A) True
B) False

9)
By default if you want to debug a dictionary object, then QTP debug window helps a lot in that.

A) True (QTP debug window can be used with Dictionary objects)
B) False (QTP debug window cannot be used with Dictionary objects)

10)
............ Removes a key, item pair from a Dictionary object

A) Remove Method
B) RemoveAll Method
C) Delete Method
D) DeleteAll Method

Answers