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 exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
What are the recording modes in wave event?
How to handle dynamic objects in quicktest professional (qtp)?
What is the difference in the global and action sheet in qtp?
How to start recording using quicktest professional?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Explain xml checkpoints.
What is qtpro? What is quick test pro? What is a quick test professional?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What is the difference between run time object and test object in QTP?
Explain the parameter in qtp?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
how to test Web application using QTP software