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

write a vb script to find the size of d drive?

3 Answers  


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

1 Answers  


What purpose does ‘on error resume next’ serves?

0 Answers  


Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.

0 Answers  


What is difference between Active screen and movie screen recorder in QTP 9.2?

1 Answers  






Which object provide information about a single runtime error in a vbscript?

0 Answers  


Explain different types of segment?

0 Answers  


What are the special sub-types in vbscript?

0 Answers  


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

0 Answers  


Explain the extension .hta?

0 Answers  


write a vb script to calculate factorial of a number?

5 Answers  


The function template cocept is implemented in vb.net is ???

0 Answers  


Categories