can objects recogonised without repository?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / prasad vasala
yes, descriptive programming is the best way for
recognizing the objects uniquely.
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
Answer / maha lakshmi
please clear my doubt what is meant by "Descriptive
Programming"?
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
Answer / chaitanya
ya its can recognize by descriptivt progrrame
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
What is Object Spy?
Basically why we need testing?
What is business process testing(bpt) in qtp?
Differentiate the two Object Repository Types of QTP.
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
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
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
Explain the Different types of QTP test assets and their extensions?
What is the pros and cons between QTP and Rational Robot
in how many ways you perform batchtesting?
How to handle the exceptions using recovery scenario manager in QTP?