what is the use of descripting programming?

Answers were Sorted based on User's Feedback



what is the use of descripting programming?..

Answer / satyanarayana

We can go for descriptive programming in the following
situations
1).When application under test (AUT) is not ready.But if we
the objects and their properties then we can prepare the script
2).If same type of objects present in multiple pages then it
is difficult to maintain object repository then also we can
go for descriptive programming

Is This Answer Correct ?    4 Yes 0 No

what is the use of descripting programming?..

Answer / kk

we can improve performance if we use DP instead of using OR

Is This Answer Correct ?    1 Yes 0 No

what is the use of descripting programming?..

Answer / kiran

1) Avoiding OR
2).When application under test (AUT) is not ready.But if we
the objects and their properties then we can prepare the script
3).If same type of objects present in multiple pages then it
is difficult to maintain object repository then also we can
go for descriptive programming
4)we can improve performance if we use DP instead of using OR

Is This Answer Correct ?    1 Yes 0 No

what is the use of descripting programming?..

Answer / siva

We no need to depend on OR.
we will write the property and values in the script
statements it self. so that qtp will identify based on that
properties. no need to depend on OR

ex: window("flightreservation")winedit("userid").set "siva"
with the above example it will go to identify the userid
edit box using OR

and where as in Discriptive programming.

window("attachedtext:flightreservation")winedit
("attachedtext:userid",.......(no of values to
identify).set"siva"

Is This Answer Correct ?    0 Yes 0 No

what is the use of descripting programming?..

Answer / haribabu

hai siva

window("attachedtext:=flightreservation")winedit
("attachedtext:=userid",.......(no of values to
identify).set"siva"


this is correct script
if you want any dout
make a call i will explain


9916398678

Is This Answer Correct ?    0 Yes 0 No

what is the use of descripting programming?..

Answer / shamsher singh

There is 2 methods 1 using Object repository . 2 using
Descriptive programming.

In descriptive programming we can create own COM object and
use them in application.

Is This Answer Correct ?    0 Yes 0 No

what is the use of descripting programming?..

Answer / ram.polavarapu

-descriptive programming is used to find more similar objects.
-there is no object repository for descriptive scripting so
size of the script is less executing is fast.
ex->
print the all links in Google page

dim link
set link=description.create
link("micclass").value="Link"
set a=browser("").page("").childobjects(link)
for i=0 to a.count-1
s=a(i).getroproperty("text")
print s
next

Is This Answer Correct ?    0 Yes 0 No

what is the use of descripting programming?..

Answer / krishna

You dont have to use the Object repository.

u can write scripts using the Scenarios,u dont have to wait
for the application to come.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,


Explain the terms test and business component?

0 Answers  


can we run the scripts of QTP8.2 in QTP7.0?

1 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


How to parameterize a text field and the same field as combo field on next page. Means inserting values in Text field will appear in the combo field. for example country name, state name. Kindly reply it is urgent !!!

1 Answers   Adobe,


In QTP how to interact tool and application build?

2 Answers  


Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne

4 Answers   Siemens,


What is throw object?

0 Answers  


what are the cases in which we use XML and accessibility check points.

2 Answers  


Ehat is the descriptive programing in QTP?

4 Answers  


QTP -object reposistory spy tool is not able to spy the pop up message appearing in the application, so how is that i can handle such run time pop ups in QTP by code???

2 Answers   CGI,


What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.

1 Answers   HCL,


Categories