Created
January 28, 2019 17:08
-
-
Save SergioLuis/f57ca0fd25767da35bb28f0636107915 to your computer and use it in GitHub Desktop.
A peek on how a GUI test looks like
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* (...) */ | |
ITestableInputDialog testableDialog = | |
testableWindow.GetInputDialog(); | |
testableDialog.ChangeEntryText("Sergio"); | |
testableDialog.ClickOkButton(); | |
WaitingAssert.IsTrue(() => | |
{ return testableDialog.IsOkButtonEnabled() | |
&& testableDialog.IsCancelButtonEnabled() | |
&& testableDialog.IsEntryEnabled() }, | |
"The input dialog was not enabled back in a reasonable time"); | |
/* (...) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment