To clarify, this issue is not just specific to Set Encrypt Text. This is an issue when trying to use Global Variables and using “Use Existing Session”. In my specific case it is is a Profile other than default. This was working prior to 6.1.4 as it is something I regularly do when troubleshooting test cases that may be failing.
Steps to Reproduce:
1.) Create a new Profile
2.) Create a new Global Variable for that Profile (username)
3.) Create a new Global Variable for that Profile (password)
4.) Encrypt the text for the password and set to GlobalVariable.password
5.) Create a Test Case (Login TC)to use the username and password variable to login
6.) Create a Test Case (Open Browser TC) with only the command Open Browser
7.) Set the Execution Profile
8.) Play the Open Browser TC (Using Chrome)
9.) Open the Login TC
10.) Click the drop down next to the Play button
11.) Click on the Existing Session to run Login TC against
Expected Results:
-The username and password global variable will be used
Observed Results:
-The username and password variables are not used
-The following error is displayed in the Console:
2019-05-10 08:13:09.803 ERROR c.k.k.core.keyword.internal.KeywordMain -
Unable to set text ‘null’ of object ‘/Username’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘null’ of object /Username’