Element found in Spy but not in Test
Posted: Thu Jul 19, 2012 1:16 pm
Hi,
several elements of my repository are found if i highlight them via the spy. If i run the test, the elements aren't found anymore. In another case the element (a list) is found in test, but isn't found anymore after changing the selection.
My elements:
Thanks
several elements of my repository are found if i highlight them via the spy. If i run the test, the elements aren't found anymore. In another case the element (a list) is found in test, but isn't found anymore after changing the selection.
My elements:
Code: Select all
<item name="ButtonChannelForceValueStatusOn" id="3d714d66-57a5-4d40-8fab-b5e44b1da2e1" searchtimeout="30000ms" capname="buttontag" addcaps="unknown,webelement,buttontag">
/dom[@caption~'PMX UE']/.//div[#'p_PMXAmplifierSetting']/div[2]/div[@childindex=$channelindex]/div[14]/div/button[@innertext='on']
</item>
Code: Select all
<item name="SelectPhysicalUnit" id="9742a56b-6ab3-4314-8616-7af3954e4ef0" searchtimeout="30000ms" capname="selecttag">
/dom[@caption~'PMX UE']/.//div[@class='PMX_PeakValueChannelGrid']/..//div[@innertext='Physical Unit']/following-sibling::select
</item>