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 |
How to check the particular window is exist or not with out using check points
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
Which operator is used to perform the comparison among 2 operands in the vbscript language?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
Which operator can be used to check if two numbers are equal or not in vbscript?
how to write vb script code for login gmail page by using notepad and how to run script in notepad
write a vb script to display ***** ***** ***** ***** *****
How to write VB script for login module?
Illustrate briefly about the different types of statement
Difference between dim,public and private variables in vb script?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)