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

How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

1235


what function you write to do database testing with the help of qtp?

1873


Explain how you can find length of array in qtp?

1103


What are the differences between table and db checkpoints?

1070


What is the use of ordinal identifier in qtp?

1058


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1874


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

1061


What are the factors on which script execution time is dependent?

1103


What are the five challenges you faced in QTP?

3259


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1745


What are the various types of Actions in UFT?

1110


what is the difference between data driver & data driven and driver script?

2799


If I change the object name in one action will it be updated in all the actions? Or not?

1116


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

2464


write a script to verify the image path(src property) of the images which are in web pages.

2267