Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?

5 Answers   Wipro,


how to main tain the Old scripts in qtp?

1 Answers   IBM,


how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script

1 Answers  


MANUAL TESTING, AUTOMATION TESTING QTP,QC , Load Runner , SELNEIUM ONLINE TRAINING

0 Answers  


Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.

1 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

6 Answers  


In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?

2 Answers  


What is smart identification?

2 Answers   Ordain Solutions,


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

0 Answers  


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


Hi,All How to change background color of a cell in excel using qtp and that too with out using Excel Object.(I am importing the excel sheet by using ImportSheet method)

1 Answers  


I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?

6 Answers   NIIT,


Categories