ItemExtension

com.froglogic.squish.extension.ItemExtension

Interface 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
itemtextual representation of a sub object
returnobject

Return sub object of inspectable object.