Modifier and Type | Method and Description |
---|---|
int |
exportFromId(String sID,
String destinationFile,
String outputType,
boolean overwrite)
Export a specific project item, identified by its TestArchitect ID, to a file.
|
int |
exportFromId(String sID,
String destinationFile,
String outputType,
boolean overwrite,
boolean includePictureChecks)
Export a specific project item, identified by its TestArchitect ID, to a file.
|
int |
exportFromPath(String sourcePath,
String destinationFile,
String outputType,
boolean overwrite)
Export a specific project item, identified by its TA path, to a file.
|
int |
exportFromPath(String sourcePath,
String destinationFile,
String outputType,
boolean overwrite,
boolean includePictureChecks)
Export a specific project item, identified by its TA path, to a file.
|
Action |
getAction(String treePath)
Returns the desired
Action object based on the given tree path. |
ActionFolder |
getActionFolder(String treePath)
Returns the desired
ActionFolder object with the given relative tree path. |
Collection |
getActionFolders(boolean isRecursive)
Returns recursively a collection of action folders in the current
project.
|
Collection |
getActions(boolean isRecursive)
Returns recursively a collection of high-level actions in the current
project.
|
String |
getCreatedBy()
Returns the name of the user who has created the current project.
|
String |
getCreationDate()
Returns the date of project creation.
|
Dataset |
getDataset(String treePath)
Returns the desired
Dataset object with the given relative tree path. |
DatasetFolder |
getDatasetFolder(String treePath)
Returns the desired
DatasetFolder object with the given relative tree path. |
Collection |
getDatasetFolders(boolean isRecursive)
Returns recursively a collection of dataset folders in the current
project.
|
Collection |
getDatasets(boolean isRecursive)
Returns recursively a collection of datasets in the current project.
|
String |
getDescription()
Returns the value of the Description field in the current project.
|
Collection |
getInterfaceEntities(String treePath)
Returns the desired
InterfaceEntity object with the given relative tree path. |
String[] |
getLastProblems()
This function serves for error handling purpose.
|
Collection |
getLocalResults()
Returns a collection of all local results.
Local results are results that have not been stored into the repository. |
String |
getNotes()
Returns the value of the Notes field in the current project.
|
PictureCheck |
getPictureCheck(String treePath)
Returns the desired picture check with the given relative tree path.
|
Collection |
getPictureChecks(boolean isRecursive)
Returns recursively a collection of picture checks in the current
|
Result |
getResult(String treePath)
Return the desired
Result object with the given relative tree path. |
ResultFolder |
getResultFolder(String treePath)
Returns the desired
ResultFolder object with the given relative tree path. |
Collection |
getResultFolders(boolean isRecursive)
Returns recursively a collection of test result folders in the current
project.
|
Collection |
getResults(boolean isRecursive)
Returns recursively a collection of test result status in the current
project.
|
String |
getTestedApplication()
Returns the value of the Tested application field in the current project.
|
TestFolder |
getTestFolder(String treePath)
Returns the desired
TestFolder object with the given relative tree path. |
Collection |
getTestFolders(boolean isRecursive)
Returns recursively a collection of test module folders in the current
project.
|
TestModule |
getTestModule(String treePath)
Returns the desired
TestModule object with the given relative tree path. |
Collection |
getTestModules(boolean isRecursive)
Returns recursively a collection of test modules in the current project.
|
TestSuite |
getTestSuite(String treePath)
Returns the desired
TestSuite object with the given relative tree path. |
TestSuiteFolder |
getTestSuiteFolder(String treePath)
Returns the desired
TestSuiteFolder object with the given relative tree path. |
Collection |
getTestSuiteFolders(boolean isRecursive)
Returns recursively a collection of test suite folders in the current
project.
|
Collection |
getTestSuites(boolean isRecursive)
Returns recursively a collection of test suites in the current project.
|
int |
importToId(String sourceFilePath,
String sID,
boolean overwrite)
Import a project item from a file to a project location identified by TestArchitect ID.
|
int |
importToId(String sourceFilePath,
String sID,
boolean overwrite,
boolean includePictureChecks)
Import a project item from a file to a project location identified by TestArchitect ID.
|
int |
importToPath(String source,
String destination,
boolean overwrite)
Import a project item from a file to a project location identified by TA path.
|
int |
importToPath(String source,
String destination,
boolean overwrite,
boolean includePictureChecks)
Import a project item from a file to a project location identified by TA path.
|
getFieldValue, getName
Collection getTestFolders(boolean isRecursive)
isRecursive
- Gets the test module folders recursively at all levels.false: Gets the test module folders at the top level only.
TestFolder
objectsTestFolder getTestFolder(String treePath)
TestFolder
object with the given relative tree path.treePath
- String with a path within the tree, starting with forward
slash ( / ), and the items in the path are also separated by
forward slashes ( / ).TestFolder
object, or nullCollection getTestModules(boolean isRecursive)
isRecursive
- true: Gets the test modules recursively at all
levels.TestModule
objectsTestModule getTestModule(String treePath)
TestModule
object with the given relative tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).TestModule
object, or nullCollection getResultFolders(boolean isRecursive)
isRecursive
- true: Gets the result folders recursively at all
levels.ResultFolder
objectsResultFolder getResultFolder(String treePath)
ResultFolder
object with the given relative tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).ResultFolder
object, or nullCollection getResults(boolean isRecursive)
isRecursive
- true: Gets the test results at all levels.Result
objectsResult getResult(String treePath)
Result
object with the given relative tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).Result
object, or nullCollection getLocalResults()
Result
instancesString getDescription()
String getCreationDate()
String getCreatedBy()
String getTestedApplication()
String getNotes()
String[] getLastProblems()
int exportFromPath(String sourcePath, String destinationFile, String outputType, boolean overwrite, boolean includePictureChecks)
sourcePath
- Location (TA path) of the item to be exported. Value must begin with a "/" character, and provide a full (non-case sensitive) TA explorer path, including the project name and project item subtree.destinationFile
- Location into which the exported file is to be placed. If the path includes a file name, this name is assigned to the export file; if not, a name is generated based on the name of the item being exported.outputType
- Type of file to export to. Current available options are "html", "zip" (TA's zip format), "csv" (comma separated values), "txt" (tab separated text) and "taresult" (TA's compressed format).overwrite
- true, overwrite existing item, if any; false, do not overwrite.includePictureChecks
- true, exporting test module contains Local Picture Checks; false, do not include Local Picture Checks (Only for 'Zip')int exportFromPath(String sourcePath, String destinationFile, String outputType, boolean overwrite)
sourcePath
- Location (TA path) of the item to be exported. Value must begin with a "/" character, and provide a full (non-case sensitive) TA explorer path, including the project name and project item subtree.destinationFile
- Location into which the exported file is to be placed. If the path includes a file name, this name is assigned to the export file; if not, a name is generated based on the name of the item being exported.outputType
- Type of file to export to. Current available options are "html", "zip" (TA's zip format), "csv" (comma separated values), "txt" (tab separated text) and "taresult" (TA's compressed format).overwrite
- true, overwrite existing item, if any; false, do not overwrite.int exportFromId(String sID, String destinationFile, String outputType, boolean overwrite, boolean includePictureChecks)
sID
- ID of the item to be exported.destinationFile
- File path for the exported file. If the path includes a file name, this name is assigned to the export file; if not, a name is generated based on the name of the item being exported.outputType
- Type of file to export to. Current available options are "html", "zip" (TA's zip format), "csv" (comma separated values), "txt" (tab separated text) and "taresult" (TA's compressed format).overwrite
- true: overwrite existing item, if any. / false: do not overwrite.includePictureChecks
- true, exporting test module contains Local Picture Checks; false, do not include Local Picture Checks (Only for 'Zip')int exportFromId(String sID, String destinationFile, String outputType, boolean overwrite)
sID
- ID of the item to be exported.destinationFile
- File path for the exported file. If the path includes a file name, this name is assigned to the export file; if not, a name is generated based on the name of the item being exported.outputType
- Type of file to export to. Current available options are "html", "zip" (TA's zip format), "csv" (comma separated values), "txt" (tab separated text) and "taresult" (TA's compressed format).overwrite
- true: overwrite existing item, if any. / false: do not overwrite.int importToId(String sourceFilePath, String sID, boolean overwrite, boolean includePictureChecks)
sourceFilePath
- Location (file path) of the file containing the item to import.sID
- ID of the project item or folder into which the item is to be importedoverwrite
- true: overwrite existing item, if any. / false: do not overwriteincludePictureChecks
- true, importing test module contains Local Picture Checks; false, do not include Local Picture Checks (Only for 'Zip')int importToId(String sourceFilePath, String sID, boolean overwrite)
sourceFilePath
- Location (file path) of the file containing the item to import.sID
- ID of the project item or folder into which the item is to be importedoverwrite
- true: overwrite existing item, if any. / false: do not overwriteint importToPath(String source, String destination, boolean overwrite, boolean includePictureChecks)
source
- Location (file path) of the file containing the item to import.destination
- Location (TA path) into which the item is to be imported. Value must begin with a "/" character, and provide a full (non-case sensitive) TA explorer path, including the project name and project item subtree.overwrite
- true: overwrite existing item, if any. / false: do not overwrite.includePictureChecks
- true, importing test module contains Local Picture Checks; false, do not include Local Picture Checks (Only for 'Zip')int importToPath(String source, String destination, boolean overwrite)
source
- Location (file path) of the file containing the item to import.destination
- Location (TA path) into which the item is to be imported. Value must begin with a "/" character, and provide a full (non-case sensitive) TA explorer path, including the project name and project item subtree.overwrite
- true: overwrite existing item, if any. / false: do not overwrite.Action getAction(String treePath)
Action
object based on the given tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).Action
object, or nullCollection getActions(boolean isRecursive)
isRecursive
- true: Gets the high-level actions recursively at all
levels.Action
objectsTestSuite getTestSuite(String treePath)
TestSuite
object with the given relative tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).TestSuite
object, or nullCollection getTestSuites(boolean isRecursive)
isRecursive
- true: Gets the test suites recursively at all
levels.TestSuite
objectsDataset getDataset(String treePath)
Dataset
object with the given relative tree path.treePath
- String with a path in the tree, starting with forward slash (
/ ), and the items in the path are also separated by forward
slashes ( / ).Dataset
object, or nullCollection getDatasets(boolean isRecursive)
isRecursive
- true: Gets the datasets recursively at all levels.Dataset
objectsCollection getActionFolders(boolean isRecursive)
isRecursive
- Gets the action folders recursively at all levels.ActionFolder
objectsActionFolder getActionFolder(String treePath)
ActionFolder
object with the given relative tree path.treePath
- String with a path within the tree, starting with forward
slash ( / ), and the items in the path are also separated by
forward slashes ( / ).ActionFolder
object, or nullCollection getDatasetFolders(boolean isRecursive)
isRecursive
- Gets the dataset folders recursively at all levels.DatasetFolder
objectsDatasetFolder getDatasetFolder(String treePath)
DatasetFolder
object with the given relative tree path.treePath
- String with a path within the tree, starting with forward
slash ( / ), and the items in the path are also separated by
forward slashes ( / ).DatasetFolder
object, or nullCollection getTestSuiteFolders(boolean isRecursive)
isRecursive
- Gets the test suite folders recursively at all levels.TestSuiteFolder
objectsTestSuiteFolder getTestSuiteFolder(String treePath)
TestSuiteFolder
object with the given relative tree path.treePath
- String with a path within the tree, starting with forward
slash ( / ), and the items in the path are also separated by
forward slashes ( / ).TestSuiteFolder
object, or nullCollection getInterfaceEntities(String treePath)
InterfaceEntity
object with the given relative tree path.treePath
- String with a path within the tree, starting with forward
slash ( / ), and the items in the path are also separated by
forward slashes ( / ).InterfaceEntity
object, or nullPictureCheck getPictureCheck(String treePath)
treePath
- String with a path in the tree, starting with forward slash (/),
and the items in the path are also separated by forward slashes (/).PictureCheck
object, or nullCollection getPictureChecks(boolean isRecursive)
isRecursive
- true: Gets the picture checks recursively at all
levels. PictureCheck
objects.Copyright © 2017. All rights reserved.