Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Color Text
#1
Not Solved
How to validate Color of Text?
Reply
#2
Not Solved
Maybe one way we can use browser(....).page(...)...Object..... DCOM technology
Reply
#3
Not Solved
thanks for reply,

It is available in 9.1 version?
Reply
#4
Not Solved
Hi ,

Try with the below ways :

1)
Code:
browser(..).Page(..).Link(..).GetROProperty("Color")

2)
Code:
print browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Sign up for Gmail").Object.currentStyle.Color
print browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Sign up for Gmail").Object.currentStyle.BackgroundColor
print browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Sign up for Gmail").Object.currentStyle.Fontsize
print browser("Gmail: Email from Google").Page("Gmail: Email from Google").Link("Sign up for Gmail").Object.currentStyle.Fontstyle
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read text from text file and save it into a variable in qtp arpan 3 12,106 06-19-2013, 08:34 PM
Last Post: arpan
MyBB Is it possible to select JTree leafs by it's icon color? KUMAD 0 2,099 05-16-2013, 07:00 AM
Last Post: KUMAD
  Verify Text box border color qtpexpert 3 5,706 09-11-2012, 11:48 PM
Last Post: DevilkID
  Need to compare two text files - ignoring some text nelly27281 2 4,376 09-09-2012, 12:09 PM
Last Post: freeboynil
Exclamation How to validate color of image object in a web page qtplearner88 9 8,635 06-14-2012, 06:34 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 1 Guest(s)