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?
how to load .vbs files which are stored in c drive into uft 11.5 or 12.0
157 Views Asked by user3274086 At
2
There are 2 best solutions below
0
Reshma Shaik
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
Related Questions in FUNCTION
- What is the code of the sorted function?
- I'm trying to make the "merge function" work by writing a Callback.
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Recursive function in PHP function : how to prevent return value?
- Javascript function onclick
- Borland c++: Error while assigning OnChange to another function?
- Control BX Slider from outside of function
- Jquery Resize: how to check if a screen has been resized at any point
- OrientDB - SQL command to pass array value as parameter in OrientDB function
- Check if a private function exists inside an object in JavaScript
- Python - Cannot sort properly my list by alphabetical order
- refactor 'execute and log' pattern
- Javascript: Add multiple fields together and insert into Totals column on Form
- Is it possible in matlab to declare functions that will be accessible from other m files in a similar way as in c coding?
- Defining Callbacks for custom Javascript Functions
Related Questions in VBSCRIPT
- Run VBScript from C# with hidden window and capture output
- Calculate if trend is up, down or stable
- How to click a plain button on a webpage using VBScript?
- Error when attempting to get all elements with specific Class
- Read Hyperion Planning webform XML with VBScript
- Force OK the Privacy warning message in macro enabled MS excel using VBA
- Swapping attributes in AD
- Find and Replace code between #region tags in .cs file
- VBS- Can I exit a VBS message box that repeats itself without going to the task manager or cmd?
- Alternative of IN keyword of SQL in Siebel Server scripting for search spec?
- How to find files and then PSFTP to local system?
- Object CRT in VB script
- How can I get a one liner xcopy command to run in vbscript?
- Get a process path with VBS
- How do I reload an ASP page with a new querystring?
Related Questions in QTP
- Value of WEBEDIT object during recording, is not stored in OR in QTP
- How to get the Test Configuration name in UFT?
- Get dates from AUT?
- How to identify the class of an Object which is in a cell of webtable
- Automated tests not executing in UFT except first one
- Create new method
- Dynamically Rename Shared OR object names
- QTP UFT Unable to find row count from table
- QTP 10 with IE8 (Descriptive method)
- Saving PDF in particular folder from IE browser through UFT
- how to load .vbs files which are stored in c drive into uft 11.5 or 12.0
- How to close all broswers except quality center in QTP?
- Need to validate the HTML tags using QTP
- Change browser language preference programmatically
- QTP Using if statement for Run Time Object
Related Questions in HP-UFT
- Get dates from AUT?
- How to get Test variable through custom code in HP UFT - ApiTest
- Automated tests not executing in UFT except first one
- Configure Jenkins to Execute tests in UFT
- Create new method
- Oracle DB View -> Copying View to Excel using VBScript
- Dynamically Rename Shared OR object names
- Mobile Automation using HP UFT
- Passing value from GUI Test to API Test
- How to handle virtualized WPF controls in UFT
- QTP UFT Unable to find row count from table
- Automation of Flash based application using UFT
- UFT-Object Repository
- QTP 10 with IE8 (Descriptive method)
- Can not connect to license server with UFT 12.52 on Windows 10
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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.