Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14th Jul 2011, 08:48
skmd skmd is offline
Registered Developer
 
Join Date: Mar 2011
Posts: 34
Default Setting ID's for Smart Gwt Widgets.

Hi Isomorphic,

We are using smargwt 2.5 and IE 8

Is there a way to programatically set the ID's to the smart Gwt widgets?

By default, the Id's are dyanamically generated when the code is translated to javascript. We are planning to do an automated testing for our project and its not possible to identify the widgets as every time the code is tanslated to javascript the value for the ID's change.

Inputs would be greatly appreciated.

Thanks,
Sunil
Reply With Quote
  #2  
Old 14th Jul 2011, 08:50
Isomorphic Isomorphic is online now
Administrator
 
Join Date: May 2006
Posts: 38,246
Default

Do not try to use DOM IDs or DOM information to identify SmartGWT components. See the "selenium" directory in your SDK for the correct approach and tool support.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a way to control logging outside war/log4j.isc.config.xml maksymg Smart GWT Technical Q&A 10 10th Dec 2013 16:18
advice: embedding GWT widgets and resizing/redrawing petrkalina Smart GWT Technical Q&A 0 7th Jan 2010 04:49
The Smart GWT FAQ Isomorphic Smart GWT Technical Q&A 0 27th Oct 2009 17:41
GWT widgets disappear after resizing the window... JimChill Smart GWT Technical Q&A 12 1st Aug 2009 19:25

© 2010,2011 Isomorphic Software. All Rights Reserved