How to verify the color of Progress bar control?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to verify the color of Progress bar control?
Hi all,
I want to verify the color of the progress bar control. It's green. The progress bar is in status bar like image
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you able to see the progress bar with Object Spy? You may be able to find a color attribute that way.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, I see it on Object spy but don't see any attribute or method to get the color
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What technology (.Net, C++, VB, ...) your tested application is created with?
Can you talk to developers for their piece of advice of how color can be obtained?
Is this progress bar of uniform color? (I.e. without those fancy gradients.) If it is, then you may take its picture and get a color of the first pixel. I.e.:
var color = <progressBar>.Picture(0, 0, 5, 5).Pixels(2, 2);
if (clGreen == color)
...
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can find the code for the updated, styled example on Github, and view it live. The custom video controls and <progress> element are now contained color for styling the progress bar's background color as it increases.
