ItemExtension
com.froglogic.squish.extension.ItemExtensionInterface ItemExtension — This interface must be implemented when the Inspectable handles objects that have textual items, written in the test scripts using waitForObjectItem.
Synopsis
public interface com.froglogic.squish.extension.ItemExtension { // Public Methods public abstract java.lang.Object getObjectFromItem(java.lang.String item); }
Description
This interface must be implemented when the Inspectable handles objects that have textual items, written in the test scrips using waitForObjectItem For instance an inspectable for table objects can implement this interface to support row/column items, for example:
waitForObjectItem(":Table", "3/4")
See Also: com.froglogic.squish.extension.Inspectable, com.froglogic.squish.extension.TargetExtension
Methods
getObjectFromItem(String)
public abstract java.lang.Object getObjectFromItem(java.lang.String item);
Parameters | |
---|---|
item | textual representation of a sub object |
return | object |
Return sub object of inspectable object.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.