Hi,

Can anyone please let me know if we are able to use Watir to test JavaScript-drive web pages? By JavaScript-driven, I mean that most of the links/buttons/tree views/forms/drop-down menus are generated by JavaScript libraries. For example, WebSphere Commerce's administration consoles are all like that. When I issued ie.showAllObjects, all that was returned as something as follows:
irb(main):006:0> ie.showAllObjects
-----------Objects in  page -------------
text/css          id=
text/javascript id= src=/wcs/javascript/tools/common/Util.js text/javascript id= src=/wcs/javascript/tools/common/URLParser
.js
text/javascript   id=                 src=
text/javascript id= src=/wcs/javascript/tools/common/NumberFor
mat.js
text/javascript   id=                 src=
HTML Document     name=mccbanner      id=                 src=ToolsUIBanner
HTML Document     name=mccmenu        id=                 src=ToolsUIMenu
HTML Document     name=mccmain        id=                 src=ToolsUIMain


However, the page does show all kinds of links, drop-down menus, or forms. I know it would be hard to handle such situation, but is it at least possible to test such web pages using Watir, say click a link or pull down a drop-down menu? Thank you very much!
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to