Interview Questions

How you can enhance your test?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

How you can enhance your test?

There are variety of options to enhance your test: (1) You can add checkpoints to your test. A checkpoint is a step in your test that compares the values of the specified property during a test run with the values stored for the same test object property within the test. This enables you to identify whether or not your Web site or application is functioning correctly. (2) You can parameterize your test to replace fixed values with values from an external source during your test run. The values can come from a Data Table, environment variables you define, or values that QuickTest generates during the test run. (3)You can retrieve values from your test and store them in the Data Table as output values. You can subsequently use these values as an input parameter in your test. This enables you to use data retrieved during a test in other parts of the test. (4) You can divide your test into actions to streamline the testing process of your Web site or application. (5)You can use special QuickTest options to enhance your test with programming statements. The Step Generator guides you step-by-step through the process of adding recordable and non-recordable methods to your test. You can also synchronize your test to ensure that your application is ready for QuickTest to perform the next step in your test, and you can measure the amount of time it takes for your application to perform steps in a test by defining and measuring transactions. (6)You can also manually enter standard VBScript statements, as well as statements using QuickTest test objects and methods, in the Expert View.

(Continued on next question...)

Other Interview Questions