Code to launch QTP

How to launch QTP from HTML page?

I have got one query from one of my friend, how to launch QTP from HTML page. It is very simple. Create a simple *.HTML page using notepad and call a simple *.VBS code which launches QTP. Below is the code snippet. HTML Snippet <html>   <head>     <script […]

Read More

How to launch QTP using VB Script?

We will see how to launch QTP using simple VB Script snippet. First we need to declare an object using below syntax: Dim qtpApp as QuickTest.Application Set qtpApp=new QuickTest.Application or Set qtpApp = CreateObject(“QuickTest.Application”) To check whether QTP is already open, use Application.Launched or Application.GetStatus To return all the addins […]

Read More