Package com.hybris.cockpitng.testing
Class CockpitTestIdUIListener
- java.lang.Object
-
- com.hybris.cockpitng.testing.CockpitTestIdUIListener
-
- All Implemented Interfaces:
org.zkoss.zk.ui.sys.PropertiesRenderer
public class CockpitTestIdUIListener extends java.lang.Object implements org.zkoss.zk.ui.sys.PropertiesRendererLife cycle listener to manage test IDs used to test the UI (ytestid attribute). The IDs should be set as custom attributes in zul files using ca namespace (xmlns:ca="client/attribute"). If no ytestid is provided or it's value is blank than by default component's id attribute's value is set as ytestid's value. Example:
<widget xmlns="http://www.zkoss.org/2005/zul" xmlns:ca="client/attribute">
<div ca:ytestid="someValue">
<!-- content -->
</div>
</widget>- See Also:
PropertiesRenderer
-
-
Constructor Summary
Constructors Constructor Description CockpitTestIdUIListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrenderProperties(org.zkoss.zk.ui.Component component, org.zkoss.zk.ui.sys.ContentRenderer renderer)
-