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

Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1748


Can you write a script to check if the folder exists or not?

525


What is RTM (require ment tracebulity marix) fromate?

1538


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1478


What are the different attributes used with regular expression?

555






Can we record an application running on a remote machine using qtp?

732


Mention what are the different types of recording modes in qtp? Which will be used when?

570


what is profile tool?

1619


How to find the name of the machine where you are running your automation scripts in qtp?

529


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 ?

1561


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

618


Why qtp the best testing tool?

572


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1511


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1657


What are the main differences of qtp and win runner?

606