Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Background color
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Scenario:

I have to capture the screen background color on my project application.There are 7 navigations and all the 7 pages have different background color.

What I followed:
I object spied on all the screens and was unable to find the test object property as bgcolor for my project application.(Using Getroproperty)

Hence, I am unable to capture the same. Or is there any other way where I could capture this detail
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Have you tried

Browser().Page.XXXX.YYYY.object.color ?
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
no...still cant
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
ok this might have to do with the CSS... use object.currentstyle.color or object.currentstyle.bordercolor

(Tip: Name of the defined color which the developer has given can be found from the View Source of web page.)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to capture screenshot for background application captain 0 2,191 06-29-2014, 02:36 PM
Last Post: captain
  Transparent Background mot0rola 1 1,891 07-09-2013, 10:28 AM
Last Post: Ankur
MyBB Is it possible to select JTree leafs by it's icon color? KUMAD 0 2,192 05-16-2013, 07:00 AM
Last Post: KUMAD
  Verify Text box border color qtpexpert 3 6,019 09-11-2012, 11:48 PM
Last Post: DevilkID
Exclamation How to validate color of image object in a web page qtplearner88 9 9,226 06-14-2012, 06:34 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 1 Guest(s)