Can you attach a function library to a SOAP or REST API test? UFT
Question ID: 107248
0
0

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.

Marked as spam
Posted by (Questions: 63, Answers: 1)
Asked on November 3, 2016 1:59 pm
291 views
Answers (1)
0
Private answer

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.

1. Call a UFT GUI test action from UFT API.
2. 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.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on November 3, 2016 1:59 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top