After upgrading our Enterprise skin from 8.2-3-26-2013 to any SC 8.3 build, we noticed that some of our Selenium testcases started failing.
For example, when trying to get the slider width using the code below, if we use the latest skin, we get 148px. If we revert back to the old skin, we get 150px which is what we had recorded originally.
Other code such as the click() have also become unresponsive using the following code:
Also, we noticed that the SectionStack section header locator have been modified:
Could you please let us know if this is a bug or if it's one of those changes that we have to deal with. If so, how do we deal with them?
Thanks
For example, when trying to get the slider width using the code below, if we use the latest skin, we get 148px. If we revert back to the old skin, we get 150px which is what we had recorded originally.
Code:
Code:
selenium.click("scLocator=//DynamicForm[ID=\"page$content$$content$SliderElement$gridWrap\"]/item[name=page%24content%24%24content%24SliderElement||index=0||Class=SliderItem]/canvas/track[Class=StretchImg||index=0||length=1||classIndex=0||classLength=1]/stretch");
Code:
Before: var expanded = selenium.getEval("selenium.browserbot.getCurrentWindow()['isc_ImgSectionHeader_0'].expanded"); After: var expanded = selenium.getEval("selenium.browserbot.getCurrentWindow()['isc_SectionHeader_0'].expanded");
Thanks
Comment