QuickTest Professional (QTP) Question:
Download Questions PDF

Explain the keyword createobject with an example?

Answer:

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.

Download QTP Interview Questions And Answers PDF

Previous QuestionNext Question
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?What are the different scripting languages you could use when working with QTP?