Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we encrypt the username using recording mode in
login window? There is 2 encrypted types what are it



How can we encrypt the username using recording mode in login window? There is 2 encrypted types w..

Answer / amarendra kothuru

Methods for Encryption in QTP are as follows

1)SetSecure method -used only for TextBox object like
WinEdit/WebEdit etc...
E.g:Browser("test").Page("test").WebEdit
("test1").SetSecure "1HG76BHGJ89sd8Jkl9hjs988dsnjsk" 'encryp
tedtext


2)Crypt.Encrypt(valueToBeEncripted)
E.g: var_Value = Crypt.Encrypt("Tester")


Methods usage in Test Script
E.g:
pwd = "GetPasswordfromSomewhere"
e_pwd = Crypt.Encrypt(pwd)
Browser("dfgd").Dialog("pass").WinEdit("pwd").SetSecure
e_pwd

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.

3 Answers  


how do check the links in a webpage ?

7 Answers   Accenture, Wipro,


what is meant by keyword driven frame work can any one answer plzzzzzzzzzzz

1 Answers  


How does QTP identifies the object in the application

6 Answers   Convergys,


Define object spy ?

0 Answers  


in which situation u will use recording and in which situation u will used to write script manually

1 Answers  


how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch

7 Answers   ADP, Hydus,


desribe a situation where u faced a stressful situation and how did u cope with it

0 Answers   DELL,


how to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.

3 Answers  


How does you pass optional arguments in qtp?

0 Answers  


Hi any body can tell me the synchranization point syntax thanks in advance

6 Answers   AppLabs,


How does you test a weblink which is changing dynamically?

0 Answers  


Categories