Open QTP (UFT) Using Java Script using Chrome

0
0

The following is the code I used to launch qtp, It is working well with IE but not in chrome.
What are the changes I shd Make to open through Chrome

    var qtApp = new ActiveXObject("QuickTest.Application");
qtApp
.Launch(); // Start QuickTest
qtApp
.Visible = true;
  • You must to post comments
0
0

Microsoft’s VBScript is integrated with COM and UFT also exposes a COM interface, this is why you were able to launch UFT from HTML using VBScript. However VBScript is not supported by Chrome and JavaScript is not integrated with COM (at least not Chrome’s JavaScript).

Therefore I don’t think there’s a simple way to launch UFT from an HTML page using Chrome. It is possible if you write a Chrome Extension but I don’t think this is worth the trouble.

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website