Creating A Vba Function Library For Use In QTP/VBSCRIPT

6,359 views
6,131 views

Published on

Creating A Vba Function Library For Use In QTP/VBSCRIPT

Published in: Technology, Education
1 Comment
8 Likes
Statistics
Notes
No Downloads
Views
Total views
6,359
On SlideShare
0
From Embeds
0
Number of Embeds
138
Actions
Shares
0
Downloads
0
Comments
1
Likes
8
Embeds 0
No embeds

No notes for slide

Creating A Vba Function Library For Use In QTP/VBSCRIPT

  1. 1. Creating A VBA Function Library For Use in VBSCRIPT/QTP By Hari Sreekanth Upadrasta Bughunterz.blogspot.com
  2. 2. Open Excel Click ALT + F11 Keyboard Keys
  3. 3. Create a Module
  4. 4. Write Your Functions In The Module
  5. 5. You Are Done With Creating a Function lib using VBA <ul><li>Now It’s Time To Use It </li></ul>
  6. 6. Writing The Code In QTP <ul><li>'Create Execl application Object </li></ul><ul><li>'Use Run Method Of Application to run the function </li></ul><ul><li>'Run(&quot;'Path of excel File'!Modulename.Function Name&quot;,&quot;i/p Args&quot;,&quot;i/p Args&quot;) </li></ul>
  7. 7. Thank You <ul><li>The Uses of Creating a VBA Function library in QTP/VBSCRIPT Will be discussed in my next Blog Entry </li></ul>

×