Categories

Apr 16 in QuickTest Professional (QTP)
Q:

In QTP explain what is crypt object

1 Answer

Apr 16
Crypt object in QTP is used to encrypt a strings.

Syntax

Crypt.Encrypt(“madanswer”)

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
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Apr 12 in QuickTest Professional (QTP)
Apr 25 in QuickTest Professional (QTP)
Jan 16 in QuickTest Professional (QTP)
...