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 |
There is a web Table where You will find Two Columns First Column consist of Check box and Second column consist of Test cases ID(Viz T1,T2,T3....Etc); If You select any Test case ID, respective Check boxes to be checked write a VBSCRIPT for this scenario?
How to return a value from function...? you should not tell msgbox, print.. etc.,
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
am giving to one number u can set into that in date format.u can use any methods
What is vbscript procedures?
Difference between Do while loop and while wend loop
how to retrive the tooltip by using descriptive programming in qtp?
What is the event handling in vbscript?
How to select a value from a list box by using Selenium web-driver?
Which function allows you to instantiate an object given its programmatic identifier or progid?
How can you destroy an object in vbscript?
Which operator can be used to do an xor operation in vbscript?