You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I get the value password from the passwordBox from the framework, something like
public void getPassword() { using (var app = Application.Launch("WpfApplication.exe")) { var window = app.MainWindow; var passwordBox = window.FindPasswordBox("password_txt"); var value = admin123; AssertException.AreEqual(value, passwordBox.password); } }
Thank you.
The text was updated successfully, but these errors were encountered:
I don't think adding support for getting the password out of a PasswordBox is a good idea. Reason for this is that it could be used for nefarious purposes.
Neither do I know if it is possible to do it.
My team are developing a checkpoint function for the automated testing tools. As the textbox, it was easy to validate the expected value although we can't validate the passwordBox because the black circles.
Hi Johan,
How can I get the value password from the passwordBox from the framework, something like
public void getPassword()
{
using (var app = Application.Launch("WpfApplication.exe"))
{
var window = app.MainWindow;
var passwordBox = window.FindPasswordBox("password_txt");
var value = admin123;
AssertException.AreEqual(value, passwordBox.password);
}
}
Thank you.
The text was updated successfully, but these errors were encountered: