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

why we use environment variables

5 Answers  


Can we do Load Teting with QTP?

12 Answers  


Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?

3 Answers  


-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,


How to Save your test using QTP?

1 Answers  






what is the difference between data driver & data driven and driver script?

0 Answers  


When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)

3 Answers  


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

0 Answers  


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


How to enable the text check point in qtp? By default it is disables

1 Answers   Sify, ssinformatics,


1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?

3 Answers   ANZ,


can any one tell me what is process metrics and what is product metrics if possible give me example. Thank You

2 Answers  


Categories