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 |
How will you release the memory acquired by an array variable in vbscript?
What are class variables?
How to create a function in vbscript?
Explain the functionality of vbscript?
Find Out Length of an array without using Ubound?
VBscript for QTP,best tutorial?
What is the main difference between function and sub-procedure?
How to Import data from a file (file is on the desktop) to the data table
Explain some uses of vb script?
how to increase the values in text box in a given text box increament by two values by clicking on button
What is dictionary object in vbscript? Explain?
What is select case statement?