Interface ICoreManager


public interface ICoreManager
The Core Manager provides Tests with access to some of the most common features within the Galasa Framework To gain access to the Core Manager, include the following in the test class:-
   @CoreManager
   public ICoreManager coreManager;
   
See Also:
  • Method Details

    • getRunName

      @NotNull @NotNull String getRunName()
      Returns the Run Name of the Test Run, unique during the length of this Test Run
      Returns:
      Unique Test Run name
    • getCredentials

      ICredentials getCredentials(@NotNull @NotNull String credentialsId) throws CoreManagerException
      Retrieve Credentials
      Parameters:
      credentialsId -
      Returns:
      A credentials object or null if id not found
      Throws:
      CoreManagerException - If there is a problem accessing the credentials store
    • getUsernamePassword

      ICredentialsUsernamePassword getUsernamePassword(@NotNull @NotNull String credentialsId) throws CoreManagerException
      Retrieve Username and Password Credentials only
      Parameters:
      credentialsId -
      Returns:
      A credentials object or null if id not found
      Throws:
      CoreManagerException - If there is a problem accessing the credentials store or if the credential is not of type ICredentialsUsernamePassword
    • registerConfidentialText

      void registerConfidentialText(String confidentialString, String comment)