|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
System Object is a convention to represent the setup/system you are working on with a single object. The steps in the tests will be operations on the setup/system object.
Field Summary | |
static int |
PERMANENT_LIFETIME
Set the object lifetime to permanent lifetiem. |
static int |
TEST_LIFETIME
Set the lifetime of the object to the test life time. |
Method Summary | |
void |
close()
Close the object. |
int |
getLifeTime()
Get the object lifetime. |
String |
getName()
Get the system object name. |
String |
getXPath()
Get the object XPath in the sut XML file. |
void |
init()
Init the system object. |
boolean |
isClosed()
Is the object close. |
void |
setClose(boolean isClosed)
Set the object isClosed status. |
void |
setLifeTime(int lifeTime)
Set the object lifetime. |
void |
setName(String name)
Set the System Object name. |
void |
setXPath(String path)
Set the object XPath. |
Field Detail |
public static final int TEST_LIFETIME
public static final int PERMANENT_LIFETIME
Method Detail |
public void setName(String name)
name
- The object name.public String getName()
public void init() throws Exception
Exception
public void close()
public boolean isClosed()
public void setClose(boolean isClosed)
isClosed
- the isClosed status.public int getLifeTime()
public void setLifeTime(int lifeTime)
lifeTime
- The object lifetime.public String getXPath()
public void setXPath(String path)
path
- Object XPath.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |