Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is deference between normal QTP testing and
descriptive programming?

Answer Posted / sabareesh

Descriptive Programing is nothing but We define the
Description about an object and create an object and we
perform the action over the object.

the basic syntax of the Descriptive Programming is

‘—-Create Object—-’
Dim oDesc
Set oDesc = Description.Create
‘—-Set ID properties & values—’
oDesc("property1&#8243;).Value = "value1&#8243;
oDesc("property2&#8243;).Value = "value2&#8243;
‘—-Use and reuse the description object—’
VBWindow(oDesc).Type "Something"
VBWindow(oDesc).Close
‘—-Release description object—’
Set oDesc = Nothing

One More syntax is for an object Button
Set Obj = Brower("title:=Y").Page("html tag:=x").Button
("Name:=h")
if obj.exist
obj.Click
else
endif


Here the Advantage is that :
we skip the OR cocept so we save more space
Remove machine dependency
Increase clarity of the script

In any case we can go to the Descriptive Programming
provided we know the object Properties with\without
Application.

Mainly people will go for Desc Prog only if it is a Product
where the Reusability of the script is high with minimal
change in the script

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

2106


Is QTP supports Unix. If yes, then how the test automation is done?

2184


Which functionalities of QTP used in banking project?

2441


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

2212


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

2174


What are the key elements available in test result window?

1158


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

1088


how to download mercury qtp9.2 ny internet ?

3477


Explain how you can find length of array in qtp?

1068


Generic function to search for the unique link in webtable and click on it

3060


Explain quicktest professional testing process?

1024


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

2072


What is the meaning Work bench?

2220


How is UFT 11.5 version different from UFT 12.0?

1071


What is the difference between per-action and shared?

1133