can objects recogonised without repository?

Answers were Sorted based on User's Feedback



can objects recogonised without repository?..

Answer / naresh

I dont know exact answer but,

Yes. In descriptive programing, we dont use object
repository. we give proprties of the object in order to
recognise it uniquely, in script.

Plz correct me if i'm wrong

Is This Answer Correct ?    4 Yes 1 No

can objects recogonised without repository?..

Answer / megha s iyer

Descriptive programming is doing programming giving
description for an object in terms of value of the
properties of the object and recognising the object during
runtime without storing the object and its properties in
object repository.
For example:
If you want to identify the winedit object with the value
100 and ie editable in it we can write descriptive
programming for this in the below given manner:
Set objdesc=Description.Create()
objdesc("Class Name").value="winedit"
objdesc("text").value= "100"
objdesc("Enabled").value=True
Window("XYZ").Winedit(objdesc).Set "123"

Is This Answer Correct ?    3 Yes 0 No

can objects recogonised without repository?..

Answer / suresh

Yes Naresh.. Ur absolutly correct..
U can use Descriptive Programming where object Repositary is
not necessary..

Is This Answer Correct ?    2 Yes 0 No

can objects recogonised without repository?..

Answer / prasad vasala

yes, descriptive programming is the best way for
recognizing the objects uniquely.

Is This Answer Correct ?    1 Yes 0 No

can objects recogonised without repository?..

Answer / bharat

Maha Lakshmi, you are wrong we can recognise objects using
descriptive programming as suggested by naresh and megha or
the other way round is we can specify the properties in the
statements itself like

Browser("name:=Google").Page("title:=GoogleHome").Link
("name:=Search").Click

You can see about Descrition.Create() in QTP help.

Is This Answer Correct ?    1 Yes 0 No

can objects recogonised without repository?..

Answer / kamal

Yes Mahalakshmi what bhara provided is also correct. Now we
are following the same for descriptive programming .
By
Kamal (EDS Company)

Is This Answer Correct ?    1 Yes 0 No

can objects recogonised without repository?..

Answer / maha lakshmi

please clear my doubt what is meant by "Descriptive
Programming"?

Is This Answer Correct ?    0 Yes 0 No

can objects recogonised without repository?..

Answer / jagan paruchuri

ya without object repository the object can identified by creating the desription for that object

ie, for example we have one edit box

dim oedt
set oedit=description.create()
oedit("any property").value="WinEdit"(for windows application) or "WebEdit"(for webapplications)

Browser("").page("").WinEdit("").set"XXXXXXXXXX"

Is This Answer Correct ?    0 Yes 0 No

can objects recogonised without repository?..

Answer / chaitanya

ya its can recognize by descriptivt progrrame

Is This Answer Correct ?    0 Yes 0 No

can objects recogonised without repository?..

Answer / maha lakshmi

without repository the objects cannot be recognonised

because while we running the script,objects should be there
in the object repository

Is This Answer Correct ?    0 Yes 11 No

Post New Answer

More QTP Interview Questions

How to add check point?

2 Answers  


What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?

1 Answers   Bank Of America,


How we can differentiate between stand alone application and web application in QTP?

3 Answers   Deloitte,


Tell me about qtp?

0 Answers  


w is recovery senario manager

3 Answers   Infosys,






Explain synchronization types in QTP

2 Answers  


what is the script to select 2 or more than 2 options from a listbox.

2 Answers   Polaris,


what is TOM in qtp?

5 Answers   Accenture,


What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

1 Answers   Accenture,


What type of framework you are using in your company and explain it?

4 Answers   CTS,


What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.

2 Answers  


Hi, i am mallishwari, i am veryn ew to testing but i have very much interest in testing. plse give me some guidence to get the job in testing. send me required documents and faqs to my personal id: mallishwari_urs@yahoo.co.in thans for advance.

2 Answers  


Categories