Ehat is the descriptive programing in QTP?

Answer Posted / ksuresh_999

In Three Situations we go for Descriptive Coding
a)When QTP is unable to identify the "Object" in
the Application?
b)When the "Object repository" become large to avoid that
c)When we are writing "Script" the application is not
ready, then we go for "Descriptive coding". For that dev
team provide LLD Docs.

Each object has default properties like Text Box has Text,
Attached Text, Native Class, Window ID.


Ex:- for login window

Dialog("Name:=Login").Winedit("Name:=User
Name :").set "Abcedf"


Dialog("Name:=Login").Winedit
("Name:=Password :").setsecure "Mercury"


Dialog("Name:=Login").Winbutton("Name:=Ok").Click


That means we provide the properties in scripting for
identify the objects in application.




Suresh K
09341899039
ksuresh.testing@gmail.com
Bangalore

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1737


What is difference in global and action sheet in qtp?

820


How do you know the location Id of an object if you know its index id?

789


What are main panes available in qtp test browser?

718


What are the different types of functions available in qtp and explain ?

778


what is the difference between development and testing

2913


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1729


Does Low-level recording capture mouse movements?

773


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1868


Does QTP run in any environment?

806


How would you export a script from one pc to another in qtp?

867


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

787


What are the features and benefits of quick test pro (qtp 8.0)?

788


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1733


is there any addin for remedy user application

1970