One Testing Center

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center - QC.

QTP - Frameworks

QTP - Frameworks. Record and Play back Framework. Action Driven Framework. Data Driven Framework. Functional Decomposition Framework. Keyword Driven Framework. Hybrid Framework. Test Driven Framework.

QTP - Automation

QTP - Basics. QTP - Intermediate. QTP - Advanced. QTP - Frameworks.

QTP - Training

Friends, Welcome to OneTestingCenter. I am HP Functional Test ExportOne. I am HP Automation Functional Test Certified Professional. I am certified for HP Functional Test 11.x. Happy to share my knowledge.

QTP - Books

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center.

Recent Post

Showing posts with label QTP - Test / Action Template. Show all posts
Showing posts with label QTP - Test / Action Template. Show all posts

QTP - Test / Action Template

QTP - Test / Action Template

If you need any default Template to be loaded whenever you create a new test script;
Just do the below  steps.

·         Design the template with all the statements and comments using a text file / text editor.
·         Save the text file as "ActionTemplate.mst" to the "QuickTest Installation folder" under \dat folder.  
·         Start QTP and see that the template that you have created is activated and appeared as default QTP Action Template.
·         Whenever you create new tests/actions, you can find that this template by default loaded.

Example:  
'*********************************************************
' @ (C) COPYRIGHT Automation
' @ ALL RIGHTS RESERVED
'   This software contains information which represents
'   trade secrets of Automation and may not be copied
'   or disclosed to others except as provided in the license with Automation

' @ Script Name      :           Script Name 
' @ Author           :           Author Name
' @ Overview         :           General purpose of functions used for
'***********************************************************************
'@ Creation or Modification Log: 
'@ Date               By           Notes                                    
' ---------        --------     ---------
'  Date             Author      Created
'***********************************************************************
'@ Notes          :     If there are any 
'@ Assumptions    :     If there are any
'**********************************************************************
'**********************************************************************
' @    Declaration  and Definitions:
‘ @    Variables  or any
'**********************************************************************

Example: 

'This file includes following functions
'General Reporter  
'------------------------------------------------------------------------
'@ DESCRIPTION  : Opening a new instance of IE browser with the specified URL
'@ Input parameter    : URL (Application Invocation path)
'@ Output parameter   : none
'@ Author             : G A Reddy
'@ SCOPE & PURPOSE    : GLOBAL - GENERAL
'------------------------------------------------------------------------

GAReddy @ OneTestingCenter @ All Articles