Monday, 28 November 2011

How to use or call function in QTP

Ans: Please note down the Steps to Use the function insde the QTP as follows,
Note: Copy the Function in the notepad & save it with DLL or VBS extension
Step(1) Copy that .dll or .vbs file anywhere in ur system like C:\myfolder
Step(2) open QTP
Step(3) Test >> Settings >> Resource >> Associated library file( Click on the + tab ) Browse the .dll or .VBS file
Step(4) Select a) Sel as Default b) DataTable option : Default c) OR : per Action
Step(5) Click Ok button finally.
Step(6) Inside the Test Pane : Press F7
Step(7) In Step Genrator window , Select
Category : Functions
Library : Library Function
Username: Parameterize it ‘either parameterize or assign value
Password: Parameterize it
Click Ok .
Step(8) Playback ur script in QTP.

No comments:

Post a Comment