How to programmatically call api test from uft function?
Question ID: 107845
0
0

How to programmatically call api test from uft function?

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on August 25, 2017 1:09 pm
297 views
Answers (1)
0
Private answer

You cannot call API test from Function library. For a work around most customers create a GUI Test that calls the API test using the RunAPITest Statement.

Please review this statement in the UFT user guide because it has the following statement.

IMPORTANT

You add this statement using the Call to API Test/Action dialog box. You cannot add this statement manually in the Editor. For more details about the Call to API Test/Action dialog box, see the HP Unified Functional Testing User Guide.

The Service Test or API test is loaded only when the step runs (and not when the test opens). This can affect test maintenance because no warning is displayed if the called Service Test or API test is moved or deleted.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on August 25, 2017 1:10 pm
EyeOnTesting

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

X
Scroll to Top