Hi,
We observe a behavior change for calling the selenium.getText() method on the picklist record of a SelectItem in 8.2p and 8.3p. In 8.3p, we got an extra "/"(screenReaderCellSeparator?), which fails our test cases.
We are using v8.2p_2013-03-04 and v8.3p_2013-06-03. This issue can be reproduced on both IE9 and FF12 in Feature Explorer with the following code.
Steps to reproduce:
1. Click the picker icon to show the picklist of the selectItem.
2. We can check the extra "/" by either
a) directly check the html element of a record. For example if we inspect the third record "--Select One--", in 8.3p, we get "<nobr id=""> --- Select One --- <div style="overflow:hidden;width:0px;height:0px;">/</div></nobr>" while in 8.2p we only get "<nobr>--- Select One ---</nobr>"
b) calling isc.AutoTest.getElement().textContent with the locator of the picklist record in the isc console. For example, if we call "isc.AutoTest.getElement("//DynamicForm[ID=\"GridLayout_cw\"]/item[title=%3Cnobr%3ECase%20Select%20Space%26nbsp%3B%3C%24fs%24nobr%3E||index=0||Class=SelectItem]/pickList/body/row[name=Empty||2]/col[fieldName=name||0]").textContent", in 8.3 it gives "--- Select One ---/" but in 8.2 it gives "--- Select One ---".
This issue also happens on selectItem/textItem in ListGrid but we suspect it might be caused by the same reason as this example.
Thanks!
We observe a behavior change for calling the selenium.getText() method on the picklist record of a SelectItem in 8.2p and 8.3p. In 8.3p, we got an extra "/"(screenReaderCellSeparator?), which fails our test cases.
We are using v8.2p_2013-03-04 and v8.3p_2013-06-03. This issue can be reproduced on both IE9 and FF12 in Feature Explorer with the following code.
Steps to reproduce:
1. Click the picker icon to show the picklist of the selectItem.
2. We can check the extra "/" by either
a) directly check the html element of a record. For example if we inspect the third record "--Select One--", in 8.3p, we get "<nobr id=""> --- Select One --- <div style="overflow:hidden;width:0px;height:0px;">/</div></nobr>" while in 8.2p we only get "<nobr>--- Select One ---</nobr>"
b) calling isc.AutoTest.getElement().textContent with the locator of the picklist record in the isc console. For example, if we call "isc.AutoTest.getElement("//DynamicForm[ID=\"GridLayout_cw\"]/item[title=%3Cnobr%3ECase%20Select%20Space%26nbsp%3B%3C%24fs%24nobr%3E||index=0||Class=SelectItem]/pickList/body/row[name=Empty||2]/col[fieldName=name||0]").textContent", in 8.3 it gives "--- Select One ---/" but in 8.2 it gives "--- Select One ---".
This issue also happens on selectItem/textItem in ListGrid but we suspect it might be caused by the same reason as this example.
Thanks!
Code:
isc.screenReader = true; isc.DynamicForm.create({ ID:"GridLayout_cw", titleOrientation:"top", fields: [{title:"<nobr>Case Select Space <\/nobr>", width:"100", vAlign:"bottom", ID:"TT18510", allowEmptyValue:true, _constructor:"SelectItem", emptyDisplayValue:"--- Select One ---", valueMap: {"NormData1":"Norm Data 1","Empty":"","NormData2":"Norm Data 2","Space":" "}} ] })
Comment