Now, I have solved the problem, using ‘&’ instead of '&'.
Both the two methods below can work.
$ie.link(:xpath, "//td[contains(text(),'Edit & Log')]").fire_event("onclick")
$ie.element_by_xpath("//td[contains(text(),'Edit')]").click
[ 本帖最后由 cjq_999 于 2008-7-18 08:56 编辑 ]