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 |
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
does the vb script knowledge is mandatery in testing using QTP
How to handle Dynamically changing Objects in QTP?
In qtp is it possible to check broken links of a page?
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
How can we QTP Scripts in xml format? is there any way to do so?
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???
HOW TO DO THE BATCH TESTING USING QTP?
What will be happen if i load object repository at run time, but it has already associated.
What type of framework you are using in your company and explain it?
How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?