We have been using SmartGWT 4.1 (4.1-p20140914) for some time and just upgraded to 5.0 (5.0-p20141024).
In this version smartClientWebDriver.verifyText no longer works for AutoFitTextAreaItem.
Our code looks something like:
While this has worked for several months with 4.1, in 5.1 the verification fails and we get this in our log (in red):
It looks as though with 5.0 SmartClientWebDriver always thinks that our AutoFitTextAreaItem has nothing in it.
In this version smartClientWebDriver.verifyText no longer works for AutoFitTextAreaItem.
Our code looks something like:
Code:
String scLocator = "//DynamicForm[ID='CG$RECORDER$CONCLUDE$Notes']/item[title=isc_NoteTextArea_0||index=0||Class=AutoFitTextAreaItem]/element" By scByLocator = ByScLocator.scLocator(scLocator); boolean valueVerified = smartClientWebDriver.verifyText(scByLocator, text); // valueVerified is always returned as false in 5.1
Code:
Expected: 'Text sent to AutoFitTextAreaItem', found: ''
Comment