|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.services.SimpleLogAdapter
com.rational.test.ft.services.LogAdapter
com.rational.test.ft.services.LogExtensionAdapter
com.rational.test.ft.services.TestScriptServicesLog
public class TestScriptServicesLog
This log implementation interfaces with the Test Script Services (TSS). The log is then available for other Rational products to use/view.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.rational.test.ft.services.LogExtensionAdapter |
---|
LogExtensionAdapter.ImageMetadata |
Field Summary |
---|
Fields inherited from class com.rational.test.ft.services.LogExtensionAdapter |
---|
MAX_IMAGE_DIMENSION |
Fields inherited from class com.rational.test.ft.services.LogAdapter |
---|
spaceDelimeter |
Constructor Summary | |
---|---|
TestScriptServicesLog()
Create an object which writes to the TSS log |
Method Summary | |
---|---|
void |
closeLog()
This method closes the connection to TSS and also brings up LogViewer. |
java.lang.String |
getLogDirectory()
Return the directory the log and VP files are written to. |
double |
getTimerAndEnd(java.lang.String name,
java.lang.String language)
gets the timer value for the given timer |
void |
initLog()
Open a TSS log |
boolean |
openLogViewer()
The callback function to open the viewer for the log. |
void |
setLogBuild(java.lang.String logBuild)
Set the Test Manager log build name |
void |
setLogFolder(java.lang.String logFolder)
Set the Test Manager log folder |
void |
setPassword(java.lang.String password)
Set the Test Manager user password |
void |
setProject(java.lang.String project)
Set the Test Manager project |
void |
setUserName(java.lang.String userName)
Set the Test Manager login user name |
void |
timerEnd(java.lang.String name,
java.lang.String language)
Stop a timer. |
void |
timerStart(java.lang.String name,
java.lang.String language)
Start a timer. |
boolean |
viewerKnowsHowToBringUpComparator()
This answers yes/no whether the log-viewer associated with this log knows how to bring up our comparator. |
void |
writeLog(ILogMessage logMsg)
Write a message into the log. |
Methods inherited from class com.rational.test.ft.services.LogExtensionAdapter |
---|
applicationStart, applicationStart, callScript, close, configuration, createApplicationStartMessage, createConfigurationMessage, createTestResultMessage, createTimerEndMessage, createTimerStartMessage, createVPMessage, exception, exception, getLogFilename, getScriptName, getTimestamp, open, persistImage, scriptEnd, scriptStart, setLogDirectory, setLogName, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestScriptServicesLog()
Method Detail |
---|
public void initLog() throws LogException
initLog
in class LogExtensionAdapter
LogException
public void closeLog()
closeLog
in class LogExtensionAdapter
public void writeLog(ILogMessage logMsg) throws LogException
writeLog
in class LogExtensionAdapter
LogException
- Something went wrong when logging the eventmessage
- The message (i.e. resultCode, eventCode,
note, and details)public java.lang.String getLogDirectory()
getLogDirectory
in interface ILog
getLogDirectory
in class LogAdapter
public void setUserName(java.lang.String userName)
public void setPassword(java.lang.String password)
public void setProject(java.lang.String project)
public void setLogBuild(java.lang.String logBuild)
public void setLogFolder(java.lang.String logFolder)
public void timerStart(java.lang.String name, java.lang.String language)
timerStart
in interface ILog
timerStart
in class LogExtensionAdapter
name
- The timer name.language
- The language used for the script ( i.e. java )public void timerEnd(java.lang.String name, java.lang.String language)
timerEnd
in interface ILog
timerEnd
in class LogExtensionAdapter
name
- The timer name.language
- The language used for the script ( i.e. java )public double getTimerAndEnd(java.lang.String name, java.lang.String language)
getTimerAndEnd
in interface ILog
getTimerAndEnd
in class LogAdapter
name
- The timer name.language
- The language used for the script ( i.e. java )
public boolean viewerKnowsHowToBringUpComparator()
viewerKnowsHowToBringUpComparator
in interface ILog
viewerKnowsHowToBringUpComparator
in class LogAdapter
public boolean openLogViewer()
openLogViewer
in interface ISimpleLog
openLogViewer
in class SimpleLogAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |