I want to encrypt the value into * if we are entering any value in Edit field. Is it possible to show the value in * for any edit fields for window application?
For Eg: if i am trying to enter a value in username field it should show * in username field
Please help me
As per my knowledge, passwords can be encrypted using the "QTP Password Encoder."
as Manish mentioned, you can use "Password Encoder"
Your data will be encoded and than you can use it to replace actual values. plz note that it will not be encoded in "*".
Yes, but Adu's question is regarding encryption of any field values, i dont have idea about user ids and other fields, but it will work for passwords for sure.
Use the utility object Crypt and the method encrypt.
required_Password = Crypt.Encrypt("XXXXX")
U can retrieve the password from either an external file/datatable to maintain security.
Winds of Change
There is another approach, capture the sensative fields a runtime from the user (assuming the people running the scripts are privy to this information).
My linkedIn Profile
but again if i need to access DB and my user id and password are important not to disclosed, how to keep that encrypted?
when things gets harder ,the harder gets going
If it is a single test case i a can wait to input password. if i am running in batch mode i cannot wait through out the night.
HP need to provide a solution.