public abstract class FileUtil extends Object
Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
combinePath(String WorkSpace,
String relPath)
Combines the current workspace with a relative path
|
static String |
getAbsoluteReportDirectory(String workSpace,
String reportDirectory)
Tests if the given reportDirectory is Absolute,
|
static String |
getExecutableFromTestSuite(String TestSuiteFile)
Translate the TestSuitefilename to the TestExecutionfilename
|
static hudson.FilePath |
getRanorexWorkingDirectory(hudson.FilePath jenkinsDirectory,
String testSuiteFile)
Get the absolute path to the Ranorex Test Suite file
|
static boolean |
isAbsolutePath(String value)
Tests whether this abstract pathname is absolute.
|
static String |
removeFileExtension(String fileName) |
public static String getExecutableFromTestSuite(String TestSuiteFile)
TestSuiteFile
- The filepath for the Ranorex Test Suite filepublic static hudson.FilePath getRanorexWorkingDirectory(hudson.FilePath jenkinsDirectory, String testSuiteFile)
jenkinsDirectory
- The current workspace for the Jenkins JobtestSuiteFile
- The path to the Ranorex Test Suitepublic static boolean isAbsolutePath(String value)
value
- Input pathpublic static String combinePath(String WorkSpace, String relPath)
WorkSpace
- The current workspacerelPath
- A relative pathpublic static String getAbsoluteReportDirectory(String workSpace, String reportDirectory)
workSpace
- The current Jenkins Job workspacereportDirectory
- The Ranorex Report directoryCopyright © 2016–2019 Ranorex. All rights reserved.