+1 vote
in QuickTest Professional (QTP) by

Explain the keyword CreateObject with an example.

1 Answer

0 votes
by

Creates and returns a reference to an Automation object

SYNTAX: CreateObject(servername.typename [, location])

Arguments

servername: Required. The name of the application providing the object.

typename :  Required. The type or class of the object to create.

location :  Optional. The name of the network server where the object is to be created.

Example : Set IE = CreateObject("InternetExplorer.Application")

Related questions

0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Apr 13, 2020 in QuickTest Professional (QTP) by amita rallin
...