I want to use some database validation functions we have in a function library in UFT to validate the database output of a set of API tests which validate the same functionality for both SOAP and REST request/responses. I can't determine if you can associate a function library with an API test or call the functions in some other fashion.
Answer by bubblehead712 · Nov 03, 2016 at 01:59 PM
From what I understand you would like to run a VB Script library from UFT API. UFT API does not use the VB Scripting engine like UFT GUI, it is based on C#. There are couple options to get a VB Script to run from UFT API.
Call a UFT GUI test action from UFT API.
Write custom code in C# to launch VBS file from UFT API. If this VBS code is using UFT GUI code, then you will have to start UFT API 1st which I recommend Item 1.
Captured data - convert link to text 1 Answer
Unable to View Result Viewer 1 Answer