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

What is Object Spy?

8 Answers  


Basically why we need testing?

14 Answers  


What is business process testing(bpt) in qtp?

0 Answers  


Differentiate the two Object Repository Types of QTP.

5 Answers  


if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,






What are the things(properties, and other details) will be recorded while recording an object using normal recording?

0 Answers  


in one page we have 100 links i have to click the 99th link how can i click the 99th link.

4 Answers   GK Technologies, IBM,


What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0

1 Answers   DELL,


Explain the Different types of QTP test assets and their extensions?

0 Answers  


What is the pros and cons between QTP and Rational Robot

0 Answers   Virtusa,


in how many ways you perform batchtesting?

2 Answers   Sapient,


How to handle the exceptions using recovery scenario manager in QTP?

0 Answers   Crea, CTS,


Categories