Mr. Cluey : Classes


Mr. Cluey's QAP Classes

The most fun in writing test scripts using QA Partner is developing good window classes. Leaning on window classes moves your code from a function based model to an object oriented model - most windows applications are based on the object oriented programming model.

The most common uses of classes are those to define special windows. Here are examples of the classes that I use most frequently in my testing.

  • CFileDlg - Classes for the Open and Save windows dialogs.
  • CPerl - Integrating QAP and Perl
  • CFtp - Transfering documents with QAP
  • Handle Classes - Avoiding the dreaded HFILE
  • CTimer - A handle class for HTIMER
  • theDice - a CDice class for working with random value functions, and so of the problems that follow.
  • CReg - A class for manipulating Win32 Registry Keys

  • Mr. Cluey : Classes

    Return to ATS Automated Testing Resources Page