Modifier and Type | Field and Description |
---|---|
protected ScriptOperations |
m_ScriptOps |
protected LibrarySession |
m_Session |
protected AttributeValueTable |
m_Table |
Constructor and Description |
---|
TestAction() |
Modifier and Type | Method and Description |
---|---|
void |
configure(LibrarySession session,
AttributeValueTable avt,
ScriptOperations script)
Configures the action.
|
AttributeValueTable |
getAttributeValueTable()
Gets the settings specified in the operation that
launched this TestAction.
|
ScriptOperations |
getScriptOperations()
Gets the ScriptOperations context.
|
LibrarySession |
getSession()
Gets the session context.
|
void |
log()
Writes an empty line to the log.
|
void |
log(String message)
Writes a message to the log file.
|
void |
printStackTrace(Throwable e)
Prints an exception stack trace to the log.
|
abstract void |
run()
Runs the test.
|
protected LibrarySession m_Session
protected AttributeValueTable m_Table
protected ScriptOperations m_ScriptOps
public void configure(LibrarySession session, AttributeValueTable avt, ScriptOperations script)
session
- the session contextavt
- the settings specified in the operation that
launched this TestActionscript
- the script operation contextpublic LibrarySession getSession()
public AttributeValueTable getAttributeValueTable()
public ScriptOperations getScriptOperations()
public void log(String message)
public void printStackTrace(Throwable e)
printStackTrace
in interface Logger
e
- the exception to show in the logCopyright © 2023. All rights reserved.