Tuesday, March 8, 2011

QTP – 17 General tips from HP.

  1. NEW!! You can check syntax errors by clicking CTRL + F7. If your script contains errors you can view them in the new Information pane.

  2. You can export test results to an HTML file to easily view the test results when you are not working in a QuickTest environment.

  3. To maximize performance, load only the add-ins you need.

  4. You can define a recovery scenario to handle unexpected behavior during your run session.
  5. You can insert XML output values to your script.

  6. You can verify that your XML is structured according to a specific schema.

  7. You can create multiple application areas to suit different components.

  8. NEW!! Business components associated with an application area use only the resources and settings that are defined in the application area. In previous versions of QuickTest Professional, business components could have custom settings.

  9. If you need to recover Active Screen files after you save a test without Active Screen files, re-record the necessary steps or use the Update Run option to recapture screens for all steps in your test.

  10. You can use a PathFinder.Locate statement in your test to retrieve the complete path that QuickTest uses for a specified relative path based on the folders specified in the Folders tab.

  11. By default, in order to conserve disk space, QuickTest does not save screen captures with your test results for steps that pass. You can change the default setting in the Tools > Options > Run tab.

  12. The Active Screen loads faster if you clear the Load Images check box in the Web Page Appearance dialog box (Tools > Options > Active Screen tab > Advanced button).

  13. From QuickTest, you can run WinRunner tests and call TSL functions in compiled modules. The results of the WinRunner test or function are integrated into the QuickTest test results.

  14. You can define custom environment variables for use in your test.

  15. You can set a parameter to use a random numeric value.

  16. You can use the Window Script Host and the VBScript Runtime Library to further extend your test. For more information choose Help > QuickTest Professional Help > VBScript Reference.

  17. You can write automation scripts to control virtually every QuickTest feature and capability using the objects, methods, and properties included in the QuickTest Professional automation object model.

No comments:

Post a Comment

Please leave your comment here...