Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Password Encryption while entering during run time.
#1
Not Solved
'=============================================
'Action Name : To Login
'=============================================

Code:
'Initiaze the String variables
Dim InpUserName, InpPass, PassString

' To Enter  Network ID while running
InpUserName = InputBox ("Enter Username", "User Input")
Browser("micclass:=Browser").Page("micClass:Page").WebEdit("userid").Set InpUserName

'To enter Network ID Password
InpPass = InputBox ("Enter Password")
PassString = Crypt.Encrypt(InpPass)
Browser("micclass:=Browser").Page("micClass:Page").WebEdit("pwd").SetSecure PassString
Browser("micclass:=Browser").Page("micClass:Page").WebButton("Sign In").Click

--------------------------------------------------------------

Question: As we change the n/w password quiet frequently, I have used this method to login while running the script. But Even after trying lot of times I couldnt find a way to encrypt the password while runnig the script, Like Gmail password with asteriks (****). Anyone Please advise.
Reply


Messages In This Thread
Password Encryption while entering during run time. - by nyObject - 03-22-2011, 02:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,597 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  HI, i'm having a run time error ,please help? Awzar 0 2,400 01-24-2015, 06:52 AM
Last Post: Awzar
  Loading objects in qtp at run time nitin 0 2,315 12-03-2013, 09:11 PM
Last Post: nitin
  Run time error RPS_QTP 1 2,347 10-04-2012, 01:57 PM
Last Post: krr
  Run time Data table to QC sshukla12 1 3,575 04-02-2012, 02:45 PM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)