how to get the object property
Answers were Sorted based on User's Feedback
Answer / sathish
we can get the object property in two ways one is
gettoproperty and another one is getroproperty the get to
property retuns the property from object repository where
as getro property retuns the property of an object on the
application
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ganesh kumar
if U want to view the object property at runtime use
GetROProperty Method to view the Property value of an
Object.
If u want to view the testobject property then use Object
spy option is used to view the test object properties of
that object.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajasekhar
using getroproperty or using objspy or in the treeview we
can select particular object and right-clicking we can see
all propeties
right any thing mistake make it correct
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
Just spy that obect by using GUI spy,then it will show the
object properties,if it is not having the standered
properties then go for GUI mapconfiguration and add whatever
the properites u want
| Is This Answer Correct ? | 0 Yes | 0 No |
In real time ,How to run all scripts in QTP? i,e in projects
How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?
I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
Output values? i want a practical example
What’s the basic concept of QTP?
what is descriptive programming?
Can we record a video in qtp recording??
What is a Web Table?
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.
write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???