>How to find password using winrunner

Situation: You are required to find someone's password using winrunner. How would you do that?

Passwords are saved in the winrunner script in encrypted form. The value that can be checked in the script file is the encrypted form of the original password only. When the script is run and the user enters a password, stored value is decrypted and checked against the user entry. To fetch this encrypted password, edit the script and make winrunner write the encrypted format onto a non-secure editbox. This will display the password in the UI.

Eg from QTP:

Browser("Gmail").Page("Gmail").WebEdit("Email").Set "someaccount"
Browser("Gmail").Page("Gmail").WebEdit("Passwd").SetSecure "493844a99bee0e3ab952f2e867fd08e3"

The above is the original form that gets stored while recording. Make script write this encrypted format onto a non secure text field as follows:

Browser("Gmail").Page("Gmail").WebEdit("Email").SetSecure "493844a99bee0e3ab952f2e867fd08e3"

This will show the original password in the "Email" field.
Difference between versions of winrunner
Winrunner 8.2 is the only version that supports SAP integration as well as multimedia processing.........
Testing - What is PDCA cycle?
What is PDCA cycle? - PDCA cycle stands for Plan Do Check Act; commonly used for quality control.......
Testing - What are white-box, black-box and gray-box testing?
What are white-box, black-box and gray-box testing? - White Box testing: white box testing involves thorough testing of the application. It requires knowledge of code and the test cases chosen verifies if the system is implemented as expected.........
Post your comment