Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In automation projects, the scripts deal with various user IDs and passwords, . These can be it application credentials or other similar things, and in many cases, the automation scripts are maintained by multiple people/teams. In such situations, encrypted data encryption is used to prevent exposure of original unnecessary data unnecessarily .


To encrypt critical data using Qualitia:

Qualitia provides two approaches to encrypt data: I.

  1. Using Environment Variable screen:

      ...

        1. Go to Setting > Environment Variable.

      ...

        1. Enter the critical data using ENCRYPT(...) token and move out from the cell.
           
          Image Modified
           Post encryption, the data reflects as under:
          Image Modified

      ...

      1. Using

      ...

      1. Test Cases Screen:
        1. Go to Development > Test caseCases.
        2. Create a new test case or open an existing test case.
        3. Enter the critical data using ENCRYPT(…) token and move out from the cell.
          This token uses static data as well as data sheet for encryption.

      ...

      Image Added
       Post encryption, the data reflects as under:

      ...

      Image Added

      Using Encrypted Data in Test Case(s):

      Qualitia provides the following actions to set encrypt data. ENCRYPT token is only used in the below actions:

        1. SecureSet
        2. SecureSetTextinCellEdit
        3. SecureStoreVariable

      These actions decrypt the encrypted data first and then set the original decrypted value in a password field.

      You can also use Environment Variable in these actions in encrypted format. 

      Limitations

      1. The actions are applicable to non-secured edit box as well. This should be allowed only for the password field and however, it can be done on normal edit boxes as well.
      2. There is no provision to store secured value at runtime as in encrypted state.
      3. Data once encrypted cannot be decrypted, not even within the application. This is to ensure utmost security.
      4. Once you have entered the data and it is encrypted, there is no way to validate if it is correct. This could be an issue if incorrect data is input and then it gets encrypted.
      5. Data comparisons for secured data will only be done on the encrypted data.