sitasrikanth
12 years agoContributor
How to Read the Password text from EditBox
Hi,
I have a password box where Test complete is recognised as Edit in WndClass,
With SetText method, i am able to enter the text in password box correctly.
Can someone help me on how to read the text from password box?
FYI - WText property has error icon with text as "Error: Error
Failed to retrieve text from the edit box. The edit box has the ES_PASSWORD style."
I have a password box where Test complete is recognised as Edit in WndClass,
With SetText method, i am able to enter the text in password box correctly.
Can someone help me on how to read the text from password box?
FYI - WText property has error icon with text as "Error: Error
Failed to retrieve text from the edit box. The edit box has the ES_PASSWORD style."
Hi Srikanth,
In most cases, there is no way to retrieve a secure password from the control with TestComplete since the control does not allow doing this. However, some edit controls allow doing this. See the "wPasswordChar Property (Edit Controls)" article to try it.