Question - In QTP explain what is crypt object
Answer -
Crypt object in QTP is used to encrypt a strings.
Syntax
Crypt.Encrypt(“Name”)
Example :
In this example, value in pwd variable is encrypted using the Crypt. Encrypt method.
Then this encrypted value is entered into editbox.
pwd= “myvalue”
pwd = Crypt.Encrypt (pwd)
Browser(“myb”).WinEdit (“pwd”). SetSecure pwd