Open GoogleCodeExporter opened 8 years ago
Please find one more additional update on this issue
ffbrowser
.getEval(" this.browserbot.getCurrentWindow().frames[\"test-
iframe\"].document.getElementById(\"coloredSquare\").getAttribute(\"src\") ");
this statement is working perfectly fine , it gives result as below
18:44:04.836 INFO - Command request: getEval[ this.browserbot.getCurrentWindow
().frames["test-iframe"].document.getElementById("coloredSquare").getAttribute
("src") , ] on session f35d42d683584efcab66784c881fcf41
18:44:04.868 INFO - Got result:
OK,http://flashselenium.t35.com/ColoredSquare.swf on
session f35d42d683584efcab66784c881fcf41
but when I run as
ffbrowser
.getEval(" this.browserbot.getCurrentWindow().frames[\"test-
iframe\"].document.getElementById(\"coloredSquare\").click() ");
it throws below error
18:53:27.834 INFO - Command request: getEval[ this.browserbot.getCurrentWindow
().frames["test-iframe"].document.getElementById("coloredSquare").click() , ]
on
session e5f64298af694b4b8cf39abb198678f5
18:53:27.892 INFO - Got result: ERROR: Threw an exception:
this.browserbot.getCurrentWindow().frames['test-iframe'].document.getElementById
("coloredSquare").click is not a function on session
e5f64298af694b4b8cf39abb198678f5
com.thoughtworks.selenium.SeleniumException
: ERROR: Threw an exception: this.browserbot.getCurrentWindow().frames['test-
iframe'].document.getElementById("coloredSquare").click is not a function
Original comment by vikram.s...@gmail.com
on 2 Feb 2010 at 1:28
Original issue reported on code.google.com by
vikram.s...@gmail.com
on 2 Feb 2010 at 10:42Attachments: