Micro Focus QTP (UFT) Forums
QTP in Java / QTP java API - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP in Java / QTP java API (/Thread-QTP-in-Java-QTP-java-API)



QTP in Java / QTP java API - Carol - 03-19-2008

Hi there,

Does anyone know if QTP has a java API? The goal here is to write a java application to launch QTP and run a test case.

I have searched a bit , can only find vbscript for that as
Code:
Dim oQtp
Set oQtp = Createobject("QuickTest.Application")
oQtp.Launch
oQtp.Visible = "True"
oQtp.Open "c:\tests\mytest"
oQtp.Test.Run

Does anyone know the java version or give me some suggetion here? I have seem that they have java add-in. Correct me if I am wrong. I think the java add-in is for recording the java application only.

Many thanks for your great insight.

Carol