When there is descriptive programming, why do we go for
Object repository for desigining scripts.?? why cant we use
descriptive programming instead of using the Object
repository..??

Answer Posted / nanda

and also..

writing the script will take more time when writing in
DP. maintance of the script will be difficult.
if some of the object properties are changing from
build to build u have to update same in script also. but if
u are using Object Repository u can update those property
values in Object Repository. its one time change.or u can
handle this in object repository with reguler expression.

like this we can say many examples.

if any queries:
nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1716


What is text check point and text area check point?

829


What are the technics follow in writing VB script?

1703


Why we load add-ins in qtp?

845


How to do call a output parameter from one action to another action??/

2081


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1729


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2357


How to creating an output value using quicktest professional (qtp)?

777


How to delete an object from the object repository?

806


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1953


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2561


Explain the views in the QTP GUI?

787


How to use Environment parameterization? Explain with an example.

1725


can i compare two databases using QTP ?

2139


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1700