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

How many tabs are available in debug viewer pane?

0 Answers  


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

0 Answers  


What is API

2 Answers   Satyam,


What are the advantages of Automation objects than Test Objects?

2 Answers   Adobe,


What are the recording modes in qtp?

0 Answers  






write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?

3 Answers   IBM,


1. how can you handle exceptions without using recovery scenario?

5 Answers   TCS,


What is the file extension of the code file & object repository file in QTP?

2 Answers  


How do we connect QC by using QTP?

2 Answers   Infosys,


what is difference between wait and synchronization point.

3 Answers   IBM, Intel,


What is Active Screen in QTP?

11 Answers  


Can u call winRunner scripts from QTP?

4 Answers  


Categories