how to load .vbs files which are stored in c drive into uft 11.5 or 12.0

122 Views Asked by At

I have some code that I have written in VBScript and is stored as a .vbs file in my C:\ drive. How can I use that code in my UFT program?

2

There are 2 best solutions below

0
On

It depends what you want to do with this code, you can add it to your test as a function library, then its contents will be available for use in the test.

0
On

In your UFT program (GUItest) you can use the option of "Associate Function Library" by right clicking your test Associate Function Library in UFT. After selecting the option you can select your .vbs file and the functions in that file will be available for use