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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, I need code for how to execute qtp scripts from excell sheet

1916


how to convert 100 into hundred repees only and viceversa

1916


How to handle the exceptions using recovery secnario manager in quicktest professional?

1142


How can you write the scripts that operate on different objects depending on run-time information?

2598


Explain sub procedure of vbscript.

1053


How qtp identifies objects?

1000


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

1095


What are the methods used in UFT to handle exceptions or run-time errors?

1112


How many ways we can parameterize data in quicktest professional?

1038


In qtp, explain what is keyword driven automation framework?

1058


when a test case is written how u test using qtp

2126


How to recognise the webelement and verifying that webelement is enabled?

2192


How to define array in qtp?

1016


What is the differences between image check point and bit map check point?

1088


Explain the differences between table and db checkpoints?

1002