C# .NET - retrieve password value using coded UI from web page

Asked By D N C on 25-Jun-13 06:01 AM
Hi all,

iam learning Coded UI test. i want to know how to retrieve data from a password field in a web page.
the username data can be retrieved as usernamecontrol.Text... similarly does a PWD Field have any property like ".Text" to get its data?
Iam not recording/playing back.. just spying the password field.
kindly help...
Robbe Morris replied to D N C on 25-Jun-13 10:11 AM
in javascript, it would be .value