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
is there any addin for remedy user application
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What are the types of environment variables in qtp?
How to handle dynamic objects in quicktest professional?
Explain the difference between call to action and copy action?
What is ‘object spy’ and what is the function of object spy in qtp?
There is an excel file of 1 to 100 sheets how you will iterate through it?
Limitations in QTP?
What are the different types of qtp test assets and their extensions?
In qtp, how you can exit for loop?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How to interact tool & application build in QTP?
in a web page How to check and display a particular word from a paragraph?
How you calling actions in qtp?
How many types of recording modes in qtp?