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
How you can write contexts to text file in qtp?
what is run-time data?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
How you can delete excel file in qtp?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
what is meant by source control?
How do I get the QTP scripts result in xml format by using vb script function?
Explain the concept of object repository and how QTP recognizes objects?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What are the challenges you faced during you entire life automation ?
wht type of User defined functions or Java Releated functions do we write in VB scripting
Which environments are supported by hp qtp?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Explain the difference between call to action and copy action?
How can i initiate the objects to find uniquely in OR