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 |
what is the object hyrarchy in QTP for a web based application
How will you get a random number between 0 and 1 in vbscript?
Diff between web table ,datatable and data base (QTP)
int a=4857 i need output as 7584.without using any inbuild function?
input values to accept 2 numbers & print the product, difference and sum using switch case
Explain the string concatenation function in vbscript?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Can automation testing find ssame no. of bugs what we can find by manual testing?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How can constants be declared in the vbscript language?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Both Static and dynamic arrays are handled by VB script. Is it true?