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

What are the disadvantages of recording test cases in qtp?

998


How do Parameterization and Data-Driving relate to each other in QTP?

1018


How many types of recording facility are available in quicktest professional?

1057


Define Environment Variable in UFT and its uses?

1016


What is system testing and what are the different types of tests you perform in system testing?

1118


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1857


How to check bitmap output value?

1128


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

2141


Explain process of smart Identification in QTP?

997


How QTP identify the system time that's changes every seconds?

1005


What is text/text area checkpoint?

1009


How will you handle java tree in qtp?

1058


What are the methods used in UFT to handle exceptions or run-time errors?

1067


how to know no.of mails in our g mail by using vb-script

2180


write a script to verify the image path(src property) of the images which are in web pages.

2189