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

HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer

1 Answers  


Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.

1 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


regular expression that will recognize a browser as long as its name property starts with mybrowser

0 Answers   Banking,


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

0 Answers  






Give examples where vb script can directly run on users system with windows as os?

1 Answers  


How to pass the parameter from one function to another function in VB Scripting?

1 Answers   Fastenal,


write a vb script to display the size of the folder,date created and name of the folder

1 Answers  


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

0 Answers  


a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?

2 Answers  


Which function is used to perform string comparison?

0 Answers  


Why is error handling required?

0 Answers  


Categories