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
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
How many types of actions are there in quicktest professional (qtp)?
How will you find the current time of the remote machine using QTP script?
how to explain a claims and insurance project?
How to record application running on the Virtual machine?
explain structured testing? plz guys with exp. do answer
Give the syntax to import/export xls into qtp.
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
what are the utilities and drivers
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
What is the use of running the scripts in Hidden-mode in UFT?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
is it possible to add sheets to excel at runtime