Explain the keyword Create Object
CreateObject with an example in QTP, Quick Test Professional
Example of Keyword CreateObject in QTP
A Reference need to create and returns
to an Automation Object:
SYNTAX:
CreateObject(servername.typenames
[, location])
Arguments pass
Servername:
Its a required arguments.
Application Name is providing the object.
Typenames:
Its a required arguments.
To create the class or Type of the object
Location:
Its a optional arguments.
Network Server Name where object need to be created
For
an Example: Set IE = CreateObject(“InternetExplorer.Application”)
example of keyword CreateObject |
No comments:
Post a Comment