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 |
1. How do declare public variable in vb scripts?
reverse the string without using reverse string?
how to write validation function for date in vb script
Explain the tristate constants in vbscript?
Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex
What is a class in CSS?
Explain about tristate constants?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
write a vb script to find simple interest using functions
What is loose binding? Why is it not a good practice to use it?
what is the object hyrarchy in QTP for a web based application
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,