Micro Focus QTP (UFT) Forums
API Testing Automation Using QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: API Testing Automation Using QTP (/Thread-API-Testing-Automation-Using-QTP)



API Testing Automation Using QTP - ShrikantBiradar3449 - 05-03-2011

Hi Guys,

We have a Java Swing application which calls API(for Java) and through TOPLINK it updates the records in Database.

My Manager is planning to bypass the GUI(as it is very unstable for automation) and to call API somehow to update the DB and to validate it further.

So I wanted to know can we Automate these kind of API testing?

Can we call API (having Functions and Classes written in Java) from QTP or from VB code?

If yes , will it be a correct alternative to get rid of the unstable GUI?