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

Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it

1 Answers   IBM,


Explain about scrrun.dll?

0 Answers  


what is event handling?

0 Answers  


what is the differance between BYVAL,BYREF?

0 Answers  


How to create MSAcess table foriegn key

1 Answers  






How will you convert a string to upper case string using vbscript?

0 Answers  


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

0 Answers   Quest,


What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>

1 Answers  


pls tell me which is good book or site for vbscript?

1 Answers   Mind Tree,


what is visual basic?

2 Answers   Seion Infotech,


how to write basic programs in VB Script like addition, multiplication?

14 Answers  


1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting

3 Answers  


Categories