How to get the background color of a weblist?
Answers were Sorted based on User's Feedback
Answer / prathyusha
It will work for internet explorer.
Browser("Name:=.*").Page("Title:=.*").weblist("name:=somename").object.currentstyle.color
But it displays hex color
For chrome
Browser("Name:=.*").Page("Title:=.*").weblist("name:=somename").object.style.color
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aparna
try the following statement:
Browser("micclass:=Browser").Page("micclass:=Page").Weblist
("name:=abc").Getroproperty("color")
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / venkata rajkumar b
a = Browser("title:=.*").Page("title:=.*").Weblist
("name:=abc").GetRoProperty("background color")
Msgbox a
' It Will Display background color Property Value
| Is This Answer Correct ? | 1 Yes | 4 No |
What are class properties?
How do you get the value of a combo box in Javascript?
How will you format a number in percetage format in vbscript?
What are the disadvantages of vbscript?
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false
What are the environments supported by vbscript language?
How do you declare a variable in vbscript?
Diff between web table ,datatable and data base (QTP)
What is the difference between vb debugger and the script debugger?
What is the event handling in vbscript?
am giving to one number u can set into that in date format.u can use any methods
How do display output message without using msgbox function?