| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a test asset - collection of tests, test step or test suite.
Test asset can share files/directories for test server.
To provide access to them use addProperty("shared",pathToFileOrDirectory);
| Method Summary | |
void | addUserObject(String key, Object val)Associates the key with any object. |
ITestAssetRO | copy()Creates a copy of asset. |
ITestAssetRO | cut()Cuts element from model. |
boolean | delete()Deletes element from collection. |
URL | getLocation()Deprecated. |
ITestCollection | getParent() |
boolean | isReadOnly()Deprecated. |
void | pasteAttachments()Callback method which is invoked from ITestCollection.paste(..) It performs paste of referenced files for test asset ( if any ) . |
void | removeUserObject(String key, Object val) |
void | removeUserObjects(String key)remove all elements with tag name = |
void | setAttribute(String attributeName, String attributeValue) |
void | setName(String name) |
| Methods inherited from interface com.togethersoft.testing.shared.ITestAssetRO |
getCategory |
| Methods inherited from interface com.togethersoft.testing.shared.IElementRO |
getAttribute, getChild, getContent, getName, getRefId, getUserObjects, hasUserObject |
| Method Detail |
public void addUserObject(String key, Object val)
public ITestAssetRO copy()
throws TestHostException
public ITestAssetRO cut()
throws TestHostException
public boolean delete()
throws TestHostException
public URL getLocation()
public ITestCollection getParent()
public boolean isReadOnly()
public void pasteAttachments()
public void removeUserObject(String key, Object val)
public void removeUserObjects(String key)
public void setAttribute(String attributeName, String attributeValue)
public void setName(String name)
throws TestHostException
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||