Thursday, March 12, 2009

Automation Object Model

This is the Post for Automation Object Model....

'Sample code for automate Quick Test

Dim qtp

'Creating QTP instance using CreateObject for QuickTest Professional Application

set qtp=createobject("QuickTest.application")

'Launching the QTP Application


'View the QTP on Desktop by using Visible property by default it is false


'Maximize the QTP window ' By default it is small window.

qtp.windowstate="maximized" "F:\baba 3+,2+\tests\trail" "F:\baba 3+,2+\tests\temperature conversion" "F:\baba 3+,2+\tests\inbuilt functions"



set qtp=nothing

Thanks & regards

Baba Fakruddin.D

No comments:

There was an error in this gadget