Explain the keyword Create Object with an example in QTP, Quick Test Professional



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
example of  keyword CreateObject





















Virtual Objects with Example in QTP
Cross Platform Testing


QTP TESTING STEPS How to Record a QTP Script






No comments:

Post a Comment

Popular Posts