Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Object Method in QTP
#2
Not Solved
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

Reply


Messages In This Thread
.Object Method in QTP - by Shell - 01-25-2011, 08:00 AM
RE: .Object Method in QTP - by Saket - 01-25-2011, 06:42 PM
RE: .Object Method in QTP - by Shell - 01-27-2011, 07:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  click each web link in a page using Index or other method in QTP smeijer 13 24,726 04-29-2017, 04:53 PM
Last Post: kowshik
  cannot use the type method on object and submit is not working jove1776 5 8,844 01-27-2015, 10:08 PM
Last Post: Parke
  Object doesn't support this property or method: 'webedit' Divya Roopa 3 10,021 03-11-2014, 07:26 AM
Last Post: basanth27
  Error object doesnt support this property or method seerick 7 8,018 06-08-2013, 09:32 PM
Last Post: seerick
  Object doesn't support this property or method: sia sharma 2 4,067 07-04-2012, 10:27 AM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 3 Guest(s)