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
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
Is text area check point supports for web applications?
Explain step generator in qtp?
What is the diff between image and bitmap check point?
How do you send email with attachment from outlook using qtp ?
how to find that tools work well with your existing system?
What is the use of running the scripts in Hidden-mode in UFT?
What is quicktest professional (qtp)?
What is a recovery scenario?
What is debugging? How you debug your script?
Is any limitation to xml checkpoints?
Explain the difference between data driven testing and parameterization ?
How do you delete unwanted results in qtp?
How to analyzing test results using quicktest professional (qtp)?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?