Package de.qytera.qtaf.xray.config
Class XrayConfigHelper
java.lang.Object
de.qytera.qtaf.xray.config.XrayConfigHelper
Xray configuration helper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGet bearer tokenstatic StringGet client idstatic StringGet client secretstatic StringGet Xray server URLstatic StringGet xray service (cloud | server)static booleanCheck if images should be attached as evidence to Xray test execution importstatic booleanCheck if HTML report should be attached as evidence to Xray test execution importstatic booleanCheck if Xray cloud is enabledstatic booleanCheck if Xray server is enabled
-
Constructor Details
-
XrayConfigHelper
public XrayConfigHelper()
-
-
Method Details
-
getBearerToken
Get bearer token- Returns:
- bearer token
-
getClientId
Get client id- Returns:
- client id
-
getClientSecret
Get client secret- Returns:
- client secret
-
getServerUrl
Get Xray server URL- Returns:
- Xray server URL
-
getXrayService
Get xray service (cloud | server)- Returns:
- xray service (cloud | server)
-
isXrayServerService
public static boolean isXrayServerService()Check if Xray server is enabled- Returns:
- true if enabled, false otherwise
-
isXrayCloudService
public static boolean isXrayCloudService()Check if Xray cloud is enabled- Returns:
- true if enabled, false otherwise
-
isScenarioReportEvidenceEnabled
public static boolean isScenarioReportEvidenceEnabled()Check if HTML report should be attached as evidence to Xray test execution import- Returns:
- true if enabled, false otherwise
-
isScenarioImageEvidenceEnabled
public static boolean isScenarioImageEvidenceEnabled()Check if images should be attached as evidence to Xray test execution import- Returns:
- true if enabled, false otherwise
-