How can I check text color or css image changes in my test case?

I use selenium. (I use Firefox and IDE). My test test should check if the toolbar color of my webpage has changed or not? using the Selenium IDE, it just gives me the option to "verifyText", but not the color. Is there a way to read the css changes I want to check?

I am not a programmer. I have limited programming knowledge, so I was wondering if it is possible that selenium is not suitable for me. Do you think that Watir will work better when testing such cases? Can I use Watir with some recorders to create test files?

Thank! Any response to my inquiry would be highly appreciated.

+3
source share
1
  • CSS, .
  • , .

: - http://www.w3schools.com/css/css_colors.asp assertTrue(selenium.isElementPresent("css=td[bgcolor=#ff0000]"));

+4

All Articles