• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
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

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
...