How to get the background color of a weblist?

Answers were Sorted based on User's Feedback



How to get the background color of a weblist?..

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

How to get the background color of a weblist?..

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

How to get the background color of a weblist?..

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

Post New Answer

More VB Script Interview Questions

How will you release the memory acquired by an array variable in vbscript?

0 Answers  


What are class variables?

0 Answers  


How to create a function in vbscript?

0 Answers  


Explain the functionality of vbscript?

0 Answers  


Find Out Length of an array without using Ubound?

1 Answers  






VBscript for QTP,best tutorial?

2 Answers   Wipro,


What is the main difference between function and sub-procedure?

0 Answers  


How to Import data from a file (file is on the desktop) to the data table

1 Answers   IBM,


Explain some uses of vb script?

0 Answers  


how to increase the values in text box in a given text box increament by two values by clicking on button

0 Answers  


What is dictionary object in vbscript? Explain?

0 Answers  


What is select case statement?

0 Answers  


Categories