|
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 |
| Fields inherited from interface com.rational.test.ft.services.ISimpleLog |
|---|
DISABLE_LOGGING, EVENT_APPLICATION_END, EVENT_APPLICATION_START, EVENT_APPLICATON_ACTION, EVENT_CALL_SCRIPT, EVENT_CONFIGURATION, EVENT_GENERAL, EVENT_SCRIPT_END, EVENT_SCRIPT_START, EVENT_TIMER_END, EVENT_TIMER_START, EVENT_VP, LOG_DISABLE_GUI_ACTION, LOG_ENABLE_GUI_ACTION, LOG_FAILURE, LOG_FAILURES, LOG_FAILURES_WARNINGS, LOG_FAILURES_WARNINGS_PASS, LOG_FAILURES_WARNINGS_PASS_INFO, LOG_INFORMATION, LOG_PASS, LOG_WARNING |
| 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 LogExtensionAdapterLogExceptionpublic void closeLog()
closeLog in class LogExtensionAdapter
public void writeLog(ILogMessage logMsg)
throws LogException
writeLog in class LogExtensionAdapterLogException - Something went wrong when logging the eventmessage - The message (i.e. resultCode, eventCode,
note, and details)public java.lang.String getLogDirectory()
getLogDirectory in interface ILoggetLogDirectory in class LogAdapterpublic 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 ILogtimerStart in class LogExtensionAdaptername - 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 ILogtimerEnd in class LogExtensionAdaptername - 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 ILoggetTimerAndEnd in class LogAdaptername - The timer name.language - The language used for the script ( i.e. java )
public boolean viewerKnowsHowToBringUpComparator()
viewerKnowsHowToBringUpComparator in interface ILogviewerKnowsHowToBringUpComparator in class LogAdapterpublic boolean openLogViewer()
openLogViewer in interface ISimpleLogopenLogViewer in class SimpleLogAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||