Results 1 to 2 of 2

Thread: Template for new test script in QTP

  1. #1
    Geek_Guest
    Guest

    Template for new test script in QTP

    Question asked by visitor srinivas

    Each time you open a new test script in qtp, you all get a blank script with no code in expert view right. Now I want you to, add a template such that each time you open a new script in qtp, you get the following lines of comments in the qtp expert view.

    ''''''''Author:

    ''''''''ScriptName:

    '''''''''DAte created:


  2. #2
    Junior Member
    Join Date
    Jun 2007
    Answers
    1

    Re: Template for new test script in QTP

    To create an action template:


    • 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.


    • 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.


    Note: Only the file name ActionTemplate.mst is recognized as an action template.

    Last edited by aravi; 06-25-2007 at 02:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact