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

When should I use smart identification?

610


Explain the parameter in qtp?

585


images are dynamically changes how to compare two images with out using the bitmap

2009


Is it possible to split an action? How?

662


Is it possible to change the property value at runtime? How it is possible?

579






Define Canvas view of UFT?

624


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

1610


How to find array size in qtp?

589


what r the main attributes of test automation?

1482


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2761


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1502


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2176


how many maximum number of virtual users we can create?

1575


Explain different types of checkpoints?

566


Explain the check points in quicktest professional?

550