| Ready-to-use window interception handler, designed for simple dialogs.
Sample usage:
WindowInterceptor
.init(panel.getButton("Change value").triggerClick())
.process(BasicHandler.init()
.assertContainsText("Enter new value")
.setText("13")
.triggerButtonClick("OK"))
.run();
The last call must be
BasicHandler.triggerButtonClick(String) , which returns the created WindowHandler.
See Also: WindowInterceptor |