Hello,
How can I perform an HasText condition on a Swing component ?
I use a JTextComponentLocator which don't implements HasText interface.
Thx
Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund
IWidgetReference wref = (IWidgetReference)ui.click(new JTextComponentLocator(JTextField.class));
JTextField textField = (JTextField) wref.getWidget();
ui.enterText("hello");
assertEquals("hello",textField.getText());
Users browsing this forum: No registered users and 1 guest