• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

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

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners