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

What are the different attribute used with regular expression?

536


How will you report the bug and explain the defect tracking sheet you handled?

2555


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1338


What r the different filters in defect in quality center

3285


Is any limitation to xml checkpoints?

561






In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1529


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1600


How to use descriptive programming?

616


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1580


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

611


What are the views available in qtp?

591


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1632


what is clean sweep?

1516


How to export quicktest professional results to an .xls file?

573


How to use checkpoints in qtp ?

586