Pls explain me the difference between ........
Description.Create and CreateObject

Answers were Sorted based on User's Feedback



Pls explain me the difference between ........ Description.Create and CreateObject..

Answer / bhanuprakash

description.create is collection of an object which has se
of property and create
object is used to creating an object

Is This Answer Correct ?    4 Yes 1 No

Pls explain me the difference between ........ Description.Create and CreateObject..

Answer / nitin kumar

Discrition.create:
Here Description is a utility object, we can use
this utility object to get list of similar objects in given location of SUT
for ex: set desc=descrition.create 'description is builtin object

desc(micclass).value="browser".............
create object:
it used to create any objects for ex
we can create ms.word doc, and ms.excel doc, text file doc.....

etc

Is This Answer Correct ?    2 Yes 0 No

Pls explain me the difference between ........ Description.Create and CreateObject..

Answer / aparajita sharma

A Description Object in QTP is a collection of test object property and value pairs. Each object in the app classifies to be part of a collection. e.g all buttons in a web application will be part of property micclass "WebButton". So, to pull all such common property elements, we use Description.create.

CreateObject is a VBScript way of binding to a COM object like Scripting.Dictionary, Scripting.FileSystemObject, Mercury.Clipboard etc and using their methods from it.


Answer help taken from: http://relevantcodes.com/

Is This Answer Correct ?    1 Yes 0 No

Pls explain me the difference between ........ Description.Create and CreateObject..

Answer / sha

can u pls tell me when we write description. automatically create coming how its cming and y its coming?

Is This Answer Correct ?    0 Yes 0 No

Pls explain me the difference between ........ Description.Create and CreateObject..

Answer / divya

description.create is used to object description and create
object is used to creating an object

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

How u connect bugzilla with QTP

1 Answers   Deloitte, TCS, Wipro,


How would you export a script from one pc to another in qtp?

0 Answers  


Where we use data driver in qtp?

0 Answers  


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers   Covansys, Systel,


Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.

2 Answers   ME,


what is framework? which frame work u follow for writting script?

5 Answers   IBM,


We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario

1 Answers   HK, TCS,


How to see the screens after running test in QTP?

1 Answers  


I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In the next release the Name Property is same but the index property is changed.when i run the script will the script Pass or Fail

9 Answers   ADP,


WHICH PROCESS U FOLLOW IN COMPANY

1 Answers   IGT,


what are the metrics in general we use in testing.

6 Answers   TCS,


How can I use Call dlls in QTP ?

0 Answers  


Categories