SmartGWT 2.2, Firefox 3.6.8, IE 8.0, Selenium-RC 1.0.3 (SmartClient 2.2 JavaScript extensions only), Java 1.6.0_19
Hello,
I've noticed a problem with the way the SmartClient [IDE] extensions escape the forward slash character ("/") when recording compared to what works during playback. When recording object interaction in the IDE, the SmartClient extension replaces instances of forward slashes with:
%24fs%24
in the scLocator string.
So, an interaction with an image named: "USA/50" would be identified like this using the extension:
However, when replaying this in Selenium Remote Control, the following error is observed in the log:
Interestingly, when I manually change SmartClient extension-generated scLocator to include the actual forward slash, instead of the %24fs%24] escape sequence, everything works fine.
succeeds:
Anyone else encounter anything similar?
Thanks in advance,
Nathan
Hello,
I've noticed a problem with the way the SmartClient [IDE] extensions escape the forward slash character ("/") when recording compared to what works during playback. When recording object interaction in the IDE, the SmartClient extension replaces instances of forward slashes with:
%24fs%24
in the scLocator string.
So, an interaction with an image named: "USA/50" would be identified like this using the extension:
Code:
scLocator=//ListGrid[ID="isc_ListGrid_0"]/body/row[name=USA%24fs%2450||image=USA50.png||0]/col[fieldName=image||0]
Code:
...INFO - Got result: ERROR: Element scLocator=//ListGrid[ID="isc_ListGrid_0"]/body/row[name=USA%24fs%24A50||image=USA50.png||0]/col[fieldName=image||0] not found on session...
Code:
scLocator=//ListGrid[ID="isc_ListGrid_0"]/body/row[name=USA/50||image=USA50.png||0]/col[fieldName=image||0]
Code:
..INFO - Got result: OK on session...
Thanks in advance,
Nathan
Comment