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
ServiceException
public ServiceAccess(String aiqUrl, String login, Secret password) throws ServiceException
ServiceException
public List<ExecutionEnvironment> executionEnvironment() throws ServiceException
ServiceException
public TestCaseInfo getTestCaseInfo(Long testCaseId, TestCaseInfoType type) throws ServiceException
ServiceException
public Collection<DiscoveryResponse> getProjectData() throws ServiceException
ServiceException
public ExecuteTaskResponse runTestCases(Long projectId, List<Long> scriptIds, String testExecutionName, String platform, String browser, String executionType) throws ServiceException
ServiceException
public 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
ServiceException
public GetSauceConnect getsauceconnect() throws ServiceException
ServiceException
public 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
ServiceException
public String createSession() throws ServiceException
ServiceException
public List<TestScriptResponse> startTestScripGeneration(Long projectId, Collection<Long> testCaseIds) throws ServiceException
ServiceException
public List<TestCasesResponse> getTestCasesForProject(Long projectId) throws ServiceException
ServiceException
public List<GetTestSuitesResponse> getTestSuitesForProject(Long projectId) throws ServiceException
ServiceException
public TestCasesResponse getTestCase(Long projectId, Long testcaseId) throws ServiceException
ServiceException
public List<TestScriptResponse> getTestScript(Long projectId, Long testCaseId) throws ServiceException
ServiceException
public ExecuteTaskResponse getExecutedTask(Long executionId) throws ServiceException
ServiceException
public Job getJob(Long jobId) throws ServiceException
ServiceException
public UserVariable getUserVariable(Long projectId, String key) throws ServiceException
ServiceException
public void saveUserVariable(Long projectId, String key, String value) throws ServiceException
ServiceException
Copyright © 2016–2022. All rights reserved.