Creating an Action Template

Creating an Action Template

If you want to include one or more statements in every new action in your test, you can create an action template. For example, if you always enter your name as the author of an action, you can add this comment line to your action template. An action template applies only to actions created on your computer.

To create an action template:

  1. Create a text file containing the comments, function calls, and other statements that you want to include in your action template. The text file must be in the structure and format used in the Expert View.
  2. Save the text file as ActionTemplate.mst in your <QuickTest Installation Folder>\dat folder. All new actions you create contain the script lines from the action template.
  3. Note: Only the file name ActionTemplate.mst is recognized as an action template

Comments

  1. This option can be very handy when script has predefined headers like
    Script Created on
    Script Created by
    Test Cases Covered etc. etc.

    ReplyDelete

Post a Comment

Popular posts from this blog

Overall QuickTest Workflow