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
161 views Asked by user3274086 At
2
There are 2 answers
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
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- Function is returning undefined but should be returning a matched object from array in JavaScript
- How do you import functions from one page to another in Jetpack Compose?
- Adding Modules to a Namespace using IIFE
- How to convert mathematical expression to lambda function in C++?
- Custom Bash functions & custom statements - Need some advice
- Why my code is working on everything except one instance?
- Getting a function to call an equation
- Create Symbolic Function from Double Vector MATLAB
- Recursive calls to function passed as a parameter of another method via Consumer interface
- How can I replace a word in SQL but only if it is the last word in the string for a scalar-valued function?
- iterating through raster bands to perform calculation
- How to make this sensor keep taking readings once its when_in_range function has been activated?
- TypeError: indice_delete() takes 0 positional arguments but 3 were given
- How to modify HTML in WordPress core file
Related Questions in VBSCRIPT
- use vbScript to detect whether the laptop is connecting the power supply
- Error Code 800A03EC in VBS when pasting formula into Excel
- Why is the WMI win32_Process commandline property is giving null for only some processes of non-admin users?
- Group By value to store as a Variable
- 0014 W3602 : Error 0 on line 19, column 1: : will trying to get value from table
- error "800A004C" with too long path with recursive folder serarch
- timer is not working for message box in vb script
- Comparing numeric values not as expected (VBScript)
- Received Script that is a possible virus. What does it do?
- Excel VBA Macro after M365 migration "Runtime error '380': A script engine for the specified language can not be created"
- Can I skip PDF form fields from being filled in an FDF?
- run VBScripts in DosBox-X
- Can I run a program and interfere with its interface using VBS? Possibly with sendkey/click?
- Varchar(max) causing other other accesses of the record set to return null
- Fixing roman numerals with regex and VBScript
Related Questions in QTP
- Without _JAVA_OPTIONS and JAVA_TOOL_OPTIONS, whether LeanFT will work or not?
- UFT .Highlight is working from repository but not from Action
- Qtp code : Download attachment from eml file
- how can i get first text[1] inside a complex DIV using UFT?
- UFT API - Unable to run a POST in uft but working fine on postman - JSON
- Cannot find the "agentName" object's parent "Micro Focus MyFlight Sample" when iterating over datatable
- If the application added new component, will UFT One still work for automation testing?,
- How to retrieve BackColor of highlighted or selected Toolbar item using UFT?
- UFT won't advance to the next line when a Windows security pop-up is present
- UFT :: Unable to select checkboxes from SWFTREEVIEW
- Unable to select checkboxes from SwfTreeView
- UFT / QTP :: Unable to select/click SwfTab
- QTP has stopped recording and spying
- UFT doesn't click a Radio button based on the adjacent text
- Use regex in UFT PDF comparison
Related Questions in HP-UFT
- ALM Octane UFT Discovery Job not working as expected
- Without _JAVA_OPTIONS and JAVA_TOOL_OPTIONS, whether LeanFT will work or not?
- UFT .Highlight is working from repository but not from Action
- Is possible duplicate or copy test sets templates from ALM using a Jenkins job?
- How can I reuse code in a UFT API script in other API scripts?
- How to open port 5814 on AWS EC2 machine. I need to open it for autopass licence server. UFT licence will be installed on autpass server
- Can I run my WebdriverIO tests on UFT Digital Lab from microfocus?
- UFT Spy object doesn't capture web objects
- Unable to read value from json file using UFT
- How to configure UFT 15.02 with a JDK 11 Java app
- Local device not visible in Record & Run settings
- UFT-ONE 2022 error Object Spy element GUI Desktop
- UFT issues using getitemproperty for a node in an WpfTreeView object (using HP-UFT 12.01)
- Handle a login dialoge box in UFT
- How to set qtRunResultsOptions.ResultsLocation to an ALM test set path
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?
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)
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.