Re: Automating GWT application

70 views
Skip to first unread message

Joseph Lust

unread,
Jul 11, 2012, 1:02:13 PM7/11/12
to google-we...@googlegroups.com
For most testing frameworks you can add a property (either in UiBinder or using element.setAttribute('debugId','myId')), and then your testing framework looks for that element. Since HTML spec says unknown attributes are silently ignored, you can just add "debugId='myId'" and then the browser ignores it, but the DOM will still allow you to select elements using it.


Hope that helps,

Sincerely,
Joseph
Reply all
Reply to author
Forward
0 new messages