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

w is configaration management

3 Answers   TCS,


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",

0 Answers  


How to fetch web elements count from Google Page which contains letter "e"

4 Answers  


I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm? I used the add fn also..

3 Answers   BirlaSoft,


write the regular expression for date format of mm/dd/yy?

10 Answers   CTS, HCL,






Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


What is the difference between systemUtil and invoke method..?

5 Answers  


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

0 Answers  


Can Any One Write How to Write the Script for Child Objects

4 Answers  


. Types of properties that Quick Test learns while recording?

2 Answers  


What are the types of environment variables in qtp?

0 Answers  


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

0 Answers  


Categories