How to get the background color of a weblist?
Answer Posted / 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 |
Post New Answer View All Answers
Explain some uses of vb script?
What is dictionary object in vbscript? Explain?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
how to set one column as primary key in QTP and fetch values accordingly
What purpose does ‘on error resume next’ serves?
how to automatically update the sql server2005 database records when insert in vb6?
what is resorceallocation
In what way program "hello world" you can write in vbscript?
Is vbscript a case-sensitive or case-insensitive?
What is the event handling in vbscript?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Explain a few date functions in vbscript
How will you convert a string to lower case string using vbscript?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'