Friday, March 14, 2014

Quality Center : Recover lost password..... That's not hacking!!!

Question:
Hi ,
I have lost my QC password and dont want to ask my client to reset it 
Can we do something to recover it?
In a trouble right now. Please help.
Thanks
XXXX
Solution:

1. Open the C:\Program Files\HP\QuickTest Professional\bin\mic.ini file using notepad.

2.  Go to  [TestDirector] section (usually at the bottom ) .

3. Copy the encrypted password corresponding to your QC UserID.

To decrypt it run the following code in QTP:

'Open Google page and set password in the search box
systemutil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "www.google.com"
Browser("title:=Google").Sync
Browser("title:=Google").Page("title:=Google").WebEdit("name:=q","type:=text").SetSecure <Encrypted Password From mic.ini>

No comments:

Post a Comment