You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that variables needed during Suite Setup are not automatically decrypted even though the library is imported during Suite Setup with variable_decryption = True. To get this to work, I had to move any setup steps where I need to decrypt a variable value into a test case instead of in Suite Setup (or call Get Decrypted Text). See my rough examples below. Is the library intended to work this way?
*** Settings ***
Resource ./Example.resource
Suite Setup BuiltIn.Run Keywords Example.Setup Crypto
... AND Example.Login
*** Test Cases ***
Test Case 1
[Documentation] My First Test
Some Keyword
Working_Example.robot
*** Settings ***
Resource ./Example.resource
Suite Setup Example.Setup Crypto
*** Test Cases ***
Login
[Documentation] Logs into the system
Example.Login
Test Case 1
[Documentation] My First Test
Some Keyword
The text was updated successfully, but these errors were encountered:
I have noticed that variables needed during Suite Setup are not automatically decrypted even though the library is imported during Suite Setup with variable_decryption = True. To get this to work, I had to move any setup steps where I need to decrypt a variable value into a test case instead of in Suite Setup (or call Get Decrypted Text). See my rough examples below. Is the library intended to work this way?
Example.resource
NonWorking_Example.robot
Working_Example.robot
The text was updated successfully, but these errors were encountered: