how to test dom accessors by using a custom host html ?

12 views
Skip to first unread message

gau...@ainosoft.com

unread,
Feb 18, 2015, 12:00:01 AM2/18/15
to gwt-test-u...@googlegroups.com
Hi,

I am trying to write a simple AddressBook application by creating the ui based on the html tags present on the host page. 

so my typical approach is to 

Element ele = Document.get().getElementById("addressName") ;
TextBox box = new TextBox(ele) ;

so in short I am trying to attach a Gwt widget instance to an appropriate tag present on my html. 

I would like to use a custom host html in the test and verify / assert that an appropriate element was found.

How can I test this scenario ?

thanks,
Gautam
Reply all
Reply to author
Forward
0 new messages