How to load vbs functions in qtp

Answers were Sorted based on User's Feedback



How to load vbs functions in qtp..

Answer / ananymousb

U can directly use the function
ExecuteFile "vbsfunctionname.vbs"

Is This Answer Correct ?    4 Yes 0 No

How to load vbs functions in qtp..

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

Post New Answer

More VB Script Interview Questions

How to select a value from a list box by using Selenium web-driver?

2 Answers   HCL,


what is the differance between BYVAL,BYREF?

0 Answers  


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

0 Answers  


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

0 Answers  


How will you convert a string to upper case string using vbscript?

0 Answers  






What's the difference between vbscript and vb.net?

0 Answers  


How to pass argument by reference to a function in vbscript?

0 Answers  


write a vb script to display first 5 odd numbers from 1 to 100

4 Answers  


Write a Script for ATM in QTP

0 Answers  


Why do we use Option Explicit?

6 Answers  


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.

0 Answers  


Both Static and dynamic arrays are handled by VB script. Is it true?

0 Answers  


Categories