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
Explain how you can replace string in qtp?
What is action?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What are the different kinds of test steps?
what is ODC and GDC?
Hi Samrat, Thank u very much, what u said it is right.
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What Folder Structure following in Keyword Driven Frame work?
What is file database?
what type of framework u r using in ur organization
terminal services client
What does it mean when a check point is in red color? What do you do?
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?