Wednesday, January 5, 2011

QTP Variables - Multiple Choice Questions

QTP Variables - Multiple Choice Questions

1. When you create a new data table parameter, a new column is added at the ..... of the data table and the current value you parameterized is placed in the first row.

A) Start
B) End
C) Middle
D) None

2. If you parameterize a value that is defined as a variant value, then when QuickTest retrieves the value from the data table, it will retrieve it as a string.

A) True
B) False

3. Environment parameters can be used for testing the same application on different browsers.

A) True
B) False

4. You can create several external variable files with the same variable names and different values and then run the test several times, using a different file each time.

A) True
B) False

5. Variables that represent information about the test and the computer on which the test is run, such as Test path and Operating system. These variables are accessible from all tests, and are designated as ........

A) Read & Write only
B) Read Only
C) Write only
D) None

6. You cannot select built-in environment variables when parameterizing values.

A) True
B) False

7. You can also store environment variable files in Quality Center.

A) True
B) False

8. When working with Quality Center and environment variable files, you must save the environment variable file in the ........ module in your Quality Center project before you specify the file in the Environment pane of the Test Settings dialog box.


A) Test Management
B) Test Library
C) Test Resources
D) Any of Above

9. QuickTest also has a set of predefined environment variables that you can use to set the values of the Record and Run Settings dialog options.

A) True
B) False

10. By outputting values to the global data table sheet from one action and using them as input parameters in another action, you cannot pass values from one action to another.

A) True
B) False

1)b, 2)a 3) a 4) a, 5) b, 6) b, 7)a 8) c 9)a, 10) b