in QuickTest Professional (QTP) by
Q:

In QTP explain what is crypt object

1 Answer

0 votes
by
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

0 votes
asked Apr 12, 2020 in QuickTest Professional (QTP) by amita rallin
0 votes
asked Apr 25, 2020 in QuickTest Professional (QTP) by Robindeniel
+1 vote
asked Jan 16, 2020 in QuickTest Professional (QTP) by JackTerrance
0 votes
asked Apr 25, 2020 in QuickTest Professional (QTP) by Robindeniel
0 votes
asked Jan 14, 2020 in QuickTest Professional (QTP) by GeorgeBell
...