object method can be used to access runtime object properties and can have propertis like font, color etc..
e.g if you need to retrieve the background color or font name used for your test object then you will have to use object method as you cannot use GetROProperty method here.
you will have to use something like.. <Your Test OBject>.object.currentstyle.backgroundColor
or .Object.Currentstyle.fontfamily
I am sure you can find some example here, try searching this forum.
you may refer https://www.learnqtp.com/forums/Thread-H...ject.style
e.g if you need to retrieve the background color or font name used for your test object then you will have to use object method as you cannot use GetROProperty method here.
you will have to use something like.. <Your Test OBject>.object.currentstyle.backgroundColor
or .Object.Currentstyle.fontfamily
I am sure you can find some example here, try searching this forum.
you may refer https://www.learnqtp.com/forums/Thread-H...ject.style