UFT – need to set secure password to a variable

Question ID: 109132
0
0

I have a string… mySourceConn.Open "Driver = Teradata; DBCName = tdprod1; Database = " & DB_Source & "; uid = " & UID & "; pwd = " & Pwd in which I would like to pass the encrypted password into the "Pwd" field as the regular password.

Marked as spam
Posted by (Questions: 89, Answers: 4)
Asked on July 30, 2019 8:06 pm
8 views
Answers
0
Private answer

If I'm understanding the question correctly, you are wanting to know how to get the encrypted string that can be used with SetSecure? If so, there are two options available:

1. Use the Password Encoder tool that is installed with UFT.
2. Use the encryption feature of the DataTable by formatting a cell/column as encryped..

https://admhelp.microfocus.com/uft/en/14.50-14.52/UFT_Help/Content/User_Guide/Password_Encoder.htm?Highlight=password%20encoder

Marked as spam
Posted by (Questions: 2, Answers: 412)
Answered on July 30, 2019 8:07 pm