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
What is the Difference between test object and run time object?
What is keyword driven framework?
How to run a test using quicktest professional (qtp)?
How does qtp identify the object in the application?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
What are the common defects found in your project? (in qtp interview)
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
What is the virtual object?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
can the activities of test case design be automated?
How can you exit from an action?
please any one can explain the keyword driven framework. with gmail example.
How many types of status are there?
how do u plan test automation?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?