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″).Value = "value1″
oDesc("property2″).Value = "value2″
‘—-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
How can i initiate the objects to find uniquely in OR
Explain the check points in quicktest professional?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What do you mean by iteration?
What is the difference between a Function and Action in QTP?
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
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
Without using gui map editor we can recognize the application in winrunner ?
how to do the batch testing in test director using manual testing procedure?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What is the difference between Keyword Driven test and Data Driven test?