Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How to use library files in QTP? how we can call these files in to script?




259
views
asked marvit August 20, 2014 04:23 AM  

How to use library files in QTP? how we can call these files in to script?


           

1 Answers



 
answered By Dharma   0  
We can load the library files using Scripting:
Use executefile function to load library files.
Example:
executefile "C:\Documents and
Settings\ukumar\Desktop\Sample.vbs"
x=20
y=55
result=SumOfTwoNumbers(x,y)
msgbox(result)

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert