Hello,
a few days ago a test started to fail because of what seems to be an encoding issue.
The test is looking for this string: "by bill - Jan 26, 2012" using this method: boolean isPresent = selenium.isTextPresent(text);
The actual text that we see in the HTML captured by Selenium is:
byÂ
bill
 - Jan 26, 2012We just switched from Remote Control to Webdriver and we will replace this isTextPresent with the proper way to check text with Webdriver. But we don't understand why the " " do not show up properly anymore, as we don't think we changed anything in the environment that could affect change this behaviour.
We're using Selenium Webdriver 2.35 with Firefox 23.0.1 on Debian Squeeze, the web application is running on Tomcat 6.0.37. It's using a VNC session to start Firefox. If I log in this VNC session while the test is running, and look up at the HTML source from the page checked by the test when it fails, I don't have this problem, I see " ".
Any help on this issue would be really appreciated, I have no idea what to do now. Feel free to ask any information I could have forgotten.
Thank you!
Guillaume