Getting text from password edit box - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Getting text from password edit box (/Thread-Getting-text-from-password-edit-box) Pages:
1
2
|
RE: Getting text from password edit box - QTPian - 07-15-2009 Hi QTPKing, While running, the password field will be populated with the decrypted value of password (ie) "P@ss". Now if you get the value present in the password text field using GetROProperty, we can get the exact visible text entered in the password field. Thanks, RE: Getting text from password edit box - supputuri - 07-15-2009 Hi QTPgrd, I have checked with your code and its's working fine and getting the decrypted value. I am still in doubt how it's working because as per the general function spec (by keeping the password security in mind) the password field should not give any value. Any how, thanks for the clarification and please think about the password security. Still i could not figure out the use of "Crypt.encrypt" i.e. encrypted form of Password. RE: Getting text from password edit box - QTPian - 07-16-2009 Hi QTPKing, I can't visualize any realtime scenarios that has influence on the password security, with this case. If you find any, please let me know. Thanks! RE: Getting text from password edit box - Renu0113 - 07-30-2009 Hi, I am still not clear with getting the password from the Password edit box. Input "mercury" to the Password editbox,it will be in the form of "******". Now,when I learn the values of this editbox using Object Syp, the "text" property is empty. There is no way,I am able to retrieve this password from the Password textbox. Please help! Thanks a lot! Hi, Suppose,I am providing multiple values to the Password editbox from the datatable..say,the values are mercury,abcneh,12hbndj. Now,I want to retrieve the value from the Password editbox to check what value was provided to the Password box..how to do that?Because as you said,the "text" property is empty and the ObjectSpy is not displaying any "value" property for the Password box. Please help! |