what is the use of descripting programming?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can replace string in qtp?

607


What is action?

577


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1391


What are the different kinds of test steps?

577


what is ODC and GDC?

7355






Hi Samrat, Thank u very much, what u said it is right.

1349


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1379


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3058


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1682


What Folder Structure following in Keyword Driven Frame work?

2289


What is file database?

1696


what type of framework u r using in ur organization

1654


terminal services client

1792


What does it mean when a check point is in red color? What do you do?

570


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1456