Explain the keyword createobject with an example.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1622


How many types of recording modes in qtp? Describe each type with an example where we use them?

808


Get the count of files of similar types from a folder.

1203


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1547


which type of testing process are you following in ur company? how to recognize a qtp page?

1574


Can any suggest me what is exposure testing?

1558


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

1716


Why qtp the best testing tool?

753


What is the Difference between copy to action and call to action?

811


In qtp, how you can use xpath to identify objects?

823


How can you identify the browser and its information using the qtp script?

772


What are metrics and matrix?

1541


How to save your test using quicktest professional (qtp)?

838


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1637


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1598