How to load vbs functions in qtp
Answers were Sorted based on User's Feedback
Answer / ananymousb
U can directly use the function
ExecuteFile "vbsfunctionname.vbs"
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / bfakruddin
ExecuteFile "path of file"
this is useful for only one action where you have mentioned
this line
if your test should contain that vbs file you need to go for
menu item "File" --> "Settings" --> "Resources" --> click on
+ button and show the path of your .vbs file
it will take effect on all test
Is This Answer Correct ? | 3 Yes | 0 No |
How to select a value from a list box by using Selenium web-driver?
what is the differance between BYVAL,BYREF?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How will you convert a string to upper case string using vbscript?
What's the difference between vbscript and vb.net?
How to pass argument by reference to a function in vbscript?
write a vb script to display first 5 odd numbers from 1 to 100
Write a Script for ATM in QTP
Why do we use Option Explicit?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
Both Static and dynamic arrays are handled by VB script. Is it true?