error not getting displayed
use thisxpath ring errorMess = driver.findElement(By.xpath("/[color=#FF0000:fcq7r2as]/span[@id='errormsg_0_Passwd'][/color:fcq7r2as]")).getText();