public class ServiceAccess extends Object
| Constructor and Description |
|---|
ServiceAccess(String aiqUrl,
String login,
Secret password) |
ServiceAccess(String proxyHost,
String proxyPort,
String proxyUser,
Secret proxyPassword,
String aiqUrl,
String login,
Secret password) |
| Modifier and Type | Method and Description |
|---|---|
String |
createSession() |
List<ExecutionEnvironment> |
executionEnvironment() |
ExecuteTaskResponse |
getExecutedTask(Long executionId) |
Job |
getJob(Long jobId) |
Collection<DiscoveryResponse> |
getProjectData() |
GetSauceConnect |
getsauceconnect() |
TestCasesResponse |
getTestCase(Long projectId,
Long testcaseId) |
TestCaseInfo |
getTestCaseInfo(Long testCaseId,
TestCaseInfoType type) |
List<TestCasesResponse> |
getTestCasesForProject(Long projectId) |
List<TestScriptResponse> |
getTestScript(Long projectId,
Long testCaseId) |
List<GetTestSuitesResponse> |
getTestSuitesForProject(Long projectId) |
UserVariable |
getUserVariable(Long projectId,
String key) |
ExecutedTaskResponse |
runTestCase(Long projectId,
Long scriptId,
String testExecutionName,
String platform,
String browser,
String executionType,
String environmentTypeTestcases,
String browserVersionTestcases,
String sauceConnectProxyTestcases,
String mobileplatformTestcases,
String mobilePlatformVersionTc,
String deviceNameTestcases,
String mobileSauceConnectProxyTc,
String deviceOrientationTc,
String enableAnimationsTc,
String autoGrantPermissionTc,
Boolean mobileDeviceTestcases,
Boolean crossBrowserTestcases,
String value) |
ExecuteTaskResponse |
runTestCases(Long projectId,
List<Long> scriptIds,
String testExecutionName,
String platform,
String browser,
String executionType) |
ExecuteSuiteResponse |
runTestSuite(Long testSuiteId,
String platform,
String browser,
String browserVersion,
String executionType,
String executionMode,
boolean isRemoteDriver,
String remoteDriverUrl,
Map<Long,String> caseSessionMap,
String environmentType,
String platformVersion,
String sauceConnectProxy,
String mobileplatformTestSuites,
String mobilePlatformVersion,
String deviceName,
String mobileSauceConnectProxy,
String mobileExecutionMode,
String deviceOrientation,
String enableAnimations,
String autoGrantPermission,
Boolean mobileDevice,
Boolean crossBrowser,
String value) |
void |
saveUserVariable(Long projectId,
String key,
String value) |
List<TestScriptResponse> |
startTestScripGeneration(Long projectId,
Collection<Long> testCaseIds) |
public ServiceAccess(String proxyHost, String proxyPort, String proxyUser, Secret proxyPassword, String aiqUrl, String login, Secret password) throws ServiceException
ServiceExceptionpublic ServiceAccess(String aiqUrl, String login, Secret password) throws ServiceException
ServiceExceptionpublic List<ExecutionEnvironment> executionEnvironment() throws ServiceException
ServiceExceptionpublic TestCaseInfo getTestCaseInfo(Long testCaseId, TestCaseInfoType type) throws ServiceException
ServiceExceptionpublic Collection<DiscoveryResponse> getProjectData() throws ServiceException
ServiceExceptionpublic ExecuteTaskResponse runTestCases(Long projectId, List<Long> scriptIds, String testExecutionName, String platform, String browser, String executionType) throws ServiceException
ServiceExceptionpublic ExecutedTaskResponse runTestCase(Long projectId, Long scriptId, String testExecutionName, String platform, String browser, String executionType, String environmentTypeTestcases, String browserVersionTestcases, String sauceConnectProxyTestcases, String mobileplatformTestcases, String mobilePlatformVersionTc, String deviceNameTestcases, String mobileSauceConnectProxyTc, String deviceOrientationTc, String enableAnimationsTc, String autoGrantPermissionTc, Boolean mobileDeviceTestcases, Boolean crossBrowserTestcases, String value) throws ServiceException
ServiceExceptionpublic GetSauceConnect getsauceconnect() throws ServiceException
ServiceExceptionpublic ExecuteSuiteResponse runTestSuite(Long testSuiteId, String platform, String browser, String browserVersion, String executionType, String executionMode, boolean isRemoteDriver, String remoteDriverUrl, Map<Long,String> caseSessionMap, String environmentType, String platformVersion, String sauceConnectProxy, String mobileplatformTestSuites, String mobilePlatformVersion, String deviceName, String mobileSauceConnectProxy, String mobileExecutionMode, String deviceOrientation, String enableAnimations, String autoGrantPermission, Boolean mobileDevice, Boolean crossBrowser, String value) throws ServiceException
ServiceExceptionpublic String createSession() throws ServiceException
ServiceExceptionpublic List<TestScriptResponse> startTestScripGeneration(Long projectId, Collection<Long> testCaseIds) throws ServiceException
ServiceExceptionpublic List<TestCasesResponse> getTestCasesForProject(Long projectId) throws ServiceException
ServiceExceptionpublic List<GetTestSuitesResponse> getTestSuitesForProject(Long projectId) throws ServiceException
ServiceExceptionpublic TestCasesResponse getTestCase(Long projectId, Long testcaseId) throws ServiceException
ServiceExceptionpublic List<TestScriptResponse> getTestScript(Long projectId, Long testCaseId) throws ServiceException
ServiceExceptionpublic ExecuteTaskResponse getExecutedTask(Long executionId) throws ServiceException
ServiceExceptionpublic Job getJob(Long jobId) throws ServiceException
ServiceExceptionpublic UserVariable getUserVariable(Long projectId, String key) throws ServiceException
ServiceExceptionpublic void saveUserVariable(Long projectId, String key, String value) throws ServiceException
ServiceExceptionCopyright © 2016–2022. All rights reserved.