2014-04-08 60 views
1

这是我的代码的html:检查的背景颜色

​​

我现在要检查中硒的颜色:

Command: verifyAttribute 

Target : style 

Value : background-color= #0000FF 

检查后,我得到了答案:error-style not found

我在做什么错?

回答

2

你错过了外卡,尝试:

command: verifyAttribute 

Target : css=td#[email protected] 

value : *background-color= #0000FF* 

更改您的TD:

<td id="my_div" class = "en" style = "background-color= #0000FF"> 
+0

我尝试这样做,继续同样的信息:没有找到错误的风格。帮助 – user3412962

+0

@ user3412962试试这个....... –

+0

谢谢!是工作... – user3412962