It seems to me that in SmartGWT 4.0, AutoTest Locators (a.k.a. ScLocators) are generally not generated correctly.
-Open http://www.smartclient.com/smartgwt/...ce_columnorder
-Open the Developer Console
-Click "Enable AutoTest subsystem..."
-Click on the colum header "Flag"
I am expecting a locator similar to
as in SmartGWT 3.1d, but I am getting
A locally run showcase exposes the same problem. Tested browsers are Chrome 24, Firefox 19.0 and IE 9. The behaviour is not different with Selenium IDE + your extensions in Firefox.
On the other hand, a click on the "Featured Samples" node in the tree on the left of the 4.0-showcase yields
as expected.
Can you confirm that this is a bug?
-Open http://www.smartclient.com/smartgwt/...ce_columnorder
-Open the Developer Console
-Click "Enable AutoTest subsystem..."
-Click on the colum header "Flag"
I am expecting a locator similar to
Code:
/ListGrid[ID="isc_ListGrid_0"]/header/headerButton[fieldName=countryCode]/Code:
/VLayout[ID="isc_Showcase_1_0"]/member[Class=HLayout||index=1||length=2||classIndex=0||classLength=1]/member[ (truncated for briefness)On the other hand, a click on the "Featured Samples" node in the tree on the left of the 4.0-showcase yields
Code:
//TreeGrid[ID="isc_SideNavTree_0"]/body/row[nodeTitle=Featured%20Samples||0]/col[fieldName=nodeTitle||0]Can you confirm that this is a bug?