Explain the keyword createobject with an example.



Explain the keyword createobject with an example...

Answer / sreeprasad

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.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

What kind of errors can b handled in QTP in real time scenario?

1 Answers  


Tel me what was the automation testing process you followed?

2 Answers  


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1 Answers  


Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?

5 Answers  


What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?

0 Answers   EDS,


What are the different types of checkpoints?

0 Answers  


Count the number of radio buttons and randomly select one.

1 Answers   Deloitte,


what will be the stmt if record any edit box in the Web application ?

2 Answers   eSymbiosis,


What is test object model in QTP?

1 Answers   Crea,


What is the Test Object model in QTP?

3 Answers  


How does QTP identifies the object in the application

6 Answers   Convergys,


Difference between test object and run time object?

0 Answers  


Categories