Thursday, July 1, 2010

Write QTP test case in pure Java


As you know in my previous post, we can invoke java methods from QTP, also we can invoke VBScript from Java. However, it doesn't looking good when our Java code contains VBScripts, So it's better to write our test cases it in pure Java. Like the example below.



As you can see above my test case doesn't contains VBScript anymore. For more information regarding write QTP test case in pure java please go to http://jqtp.blogspot.com