Package com.hp.lft.sdk.apitesting.uft
Class APITestRunner
java.lang.Object
com.hp.lft.sdk.apitesting.uft.APITestRunner
A class intended for running API tests.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic APITestResultRuns the specified API Test and returns the test run results.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResultRuns the specified API Test with the specified test profile.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResultRuns the specified API test with the specified input parameters.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResultRuns the specified API test with the specified input parameters and test profile.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.
- 
Constructor Details- 
APITestRunnerpublic APITestRunner()
 
- 
- 
Method Details- 
runpublic static APITestResult run(String testPath, Map<String, Object> inParams, String profileName) throws GeneralLeanFtExceptionRuns the specified API test with the specified input parameters and test profile.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.- Parameters:
- testPath- the path to the folder containing the .st test file.
- inParams- the input parameters of this test.
- profileName- the name of the profile to use for this test. The profiles are created in OpenText Functional Testing in each test.
- Returns:
- the run results of this test run.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
runpublic static APITestResult run(String testPath, Map<String, Object> inParams) throws GeneralLeanFtExceptionRuns the specified API test with the specified input parameters.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.- Parameters:
- testPath- the path to the folder containing the .st test file.
- inParams- The input parameters of this test.
- Returns:
- The run results of this test run.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
runRuns the specified API Test with the specified test profile.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.- Parameters:
- testPath- the path to the folder containing the .st test file.
- profileName- The name of the profile to use for test. The profiles are created in OpenText Functional Testing in each test.
- Returns:
- The run results of this test run.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
runRuns the specified API Test and returns the test run results.
 Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.- Parameters:
- testPath- the path to the folder containing the .st test file.
- Returns:
- the run results of this test run.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-