How can we encrypt the username using recording mode in
login window? There is 2 encrypted types what are it
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 |
How to verify the Cursor focus of a certain field?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
how to test background color and dynamic images during runtime
3. How to handle the exceptions using recovery secnario manager in Qtp?
Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?
How to handle Java tree in QTP?
I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"
how to retrieve data from the data table (from a particular cell)
VB scrip has a special command named LBound, which returns the starting index of an arry. What are the possible indexes an array can start with? options are given below. and one only the correct answer. pl select it 1. any index 2. only even non-negative 3. only 0 4. any non-negative integer
How can i see test results in excel sheet ? test data not present in data table.
Explain measuring transaction.