Let start with the simplest QTP script, which have only one statement that will print "Hello World" to the console
I saved this QTP Script as "Hello" script.
Then I run this QTP from Java using QTPUtil library.
QTPUtil.callQTPTest(false, "resources/QTP_Scripts/Hello");
The QTPUtil.callQTPTest method take in two parameters. The first one is the flag indicate whether we want QTP to be visible or not, the second one is the path to the QTP script. The path to QTP script can be absolute or relative. In this example I'm using the relative path.
Automate the unix session
13 years ago
Hi;
ReplyDeleteplease tell me that where u got the package junit4qtp.core.QtpUtil if it is a jar file can u please share the jar file or give me the path so i downloaded it
if it is not a jar file than from where u got this package
have u written your own QTP framework that u are use in your java program?
ReplyDeleteWhere are the required jar files wiht the QTP related classes?
ReplyDeletePlease can you share the package junit4qtp
ReplyDeleteThanks
Hello, please, where are de .jar of class QTPUtil?, what is the url to download it?. Thx.
ReplyDeleteHello Sir,
ReplyDeleteCan you please provide me the path for junit4qtp package ??
Are you kidding me..There is no jar for invoking QTP. I searched it all over the internet.
ReplyDeleteDo fool around if you have one, share it
Thanks and I have a tremendous offer: What Does A Full House Renovation Cost house renovation exterior
ReplyDelete