|
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.LogManager
public class LogManager
A collection of utility methods for managing the files created when a script is played.
Field Summary | |
---|---|
static java.lang.String |
DOJO_INSTALLATION_DIR
|
static java.lang.String |
DOJO_WIDGET
|
static java.lang.String[] |
logFilenames
These are the names of the log files we recognize. |
static java.lang.String |
SEARCH_STRING
|
static java.lang.String |
TRANSFORMATION_RESULT_FILE
|
static java.lang.String |
XML_LOG_FILE
|
Constructor Summary | |
---|---|
LogManager()
|
Method Summary | |
---|---|
static java.lang.String |
getBrowserCommand(java.lang.String htmlLog)
Return the browser command to open the html Log |
static java.lang.String |
getDatastoreFromLog(java.lang.String logstore)
|
static java.lang.String |
getDojoJSLocation()
Return the dojo js location from the installation directory |
static java.lang.String |
getLinuxBrowserCommand()
Utilty method to get a browser command that we can shell execute on Linux. |
static java.lang.String |
getLogFile(java.lang.String folderName)
|
static boolean |
hasLog(java.lang.String folderName)
whether the folder is a log directory |
static boolean |
isLogBrowserBased(java.lang.String logFileName)
Returns true if the log dosen;t require the eclipse IDE, to open the log. |
static boolean |
openLog(java.lang.String logFilePath)
Returns true if the log is of dojo type and got opened successfully, false otherwise |
static void |
removeScriptLogAssets(java.lang.String logFolder,
java.lang.String logName,
java.lang.String script)
Remove script log assets (log file and VPs) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TRANSFORMATION_RESULT_FILE
public static final java.lang.String XML_LOG_FILE
public static final java.lang.String DOJO_INSTALLATION_DIR
public static final java.lang.String DOJO_WIDGET
public static final java.lang.String SEARCH_STRING
public static final java.lang.String[] logFilenames
Constructor Detail |
---|
public LogManager()
Method Detail |
---|
public static void removeScriptLogAssets(java.lang.String logFolder, java.lang.String logName, java.lang.String script)
script
- The script namepublic static boolean hasLog(java.lang.String folderName)
public static java.lang.String getLogFile(java.lang.String folderName)
public static java.lang.String getDatastoreFromLog(java.lang.String logstore)
public static java.lang.String getLinuxBrowserCommand()
public static java.lang.String getBrowserCommand(java.lang.String htmlLog)
htmlLog
-
public static java.lang.String getDojoJSLocation()
public static boolean openLog(java.lang.String logFilePath)
logFilePath
- The log file path
public static boolean isLogBrowserBased(java.lang.String logFileName)
logFileName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |