@Override
    public Boolean executeCommand(int timeout, String componentName, Object... data) throws QTasteException {
        setData(data);
        long maxTime = System.currentTimeMillis() + 1000 * timeout;

        while (System.currentTimeMillis() < maxTime) {
            Stage targetPopup = null;
            for (Stage stage : findPopups()) {
//                if (!stage.isVisible() || !dialog.isEnabled()) {
//                    String msg = "Ignore the dialog '" + dialog.getTitle() + "' cause:\n ";
//                    if (!dialog.isVisible()) {
//                        msg += "\t is not visible";
//                    }
//                    if (!dialog.isEnabled()) {
//                        msg += "\t is not enabled";
//                    }
//                    LOGGER.info(msg);
//                    continue;
//                }
                //				if (activateAndFocusComponentWindow(dialog))
                //				{
                //					targetPopup = dialog;
                //				}
                //				else
                //				{
                //					LOGGER.info("Ignore the dialog '" + dialog.getTitle() + "' cause:\n  \t is not focused");
                //				}
            }
            //			component = findTextComponent(targetPopup);
            //
            //			if ( component != null && !component.isDisabled() && checkComponentIsVisible(component) )
            //				break;

            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                LOGGER.warn("Exception during the component search sleep...");
            }
        }

        if (component == null) {
            throw new QTasteTestFailException("The text field component is not found.");
        }
        if (component.isDisabled()) {
            throw new QTasteTestFailException("The text field component is not enabled.");
        }
        if (!checkComponentIsVisible(component)) {
            throw new QTasteTestFailException("The text field component is not visible!");
        }

        prepareActions();
        Platform.runLater(this);

        return true;
    }
@ Override public Boolean executeCommand ( int timeout , String componentName , Object ... data ) throws QTasteException { setData ( data ) ; long maxTime = System . currentTimeMillis ( ) + 1000 * timeout ; while ( System . currentTimeMillis ( ) < maxTime ) { Stage targetPopup = null ; for ( Stage stage : findPopups ( ) ) { } try { Thread . sleep ( 1000 ) ; } catch ( InterruptedException e ) { LOGGER . warn ( "Exception during the component search sleep..." ) ; } } if ( component == null ) { throw new QTasteTestFailException ( "The text field component is not found." ) ; } if ( component . isDisabled ( ) ) { throw new QTasteTestFailException ( "The text field component is not enabled." ) ; } if ( ! checkComponentIsVisible ( component ) ) { throw new QTasteTestFailException ( "The text field component is not visible!" ) ; } prepareActions ( ) ; Platform . runLater ( this ) ; return true ; }
Commander which sets a value in the input field of a popup.

@param data INTEGER - the timeout value; OBJECT - with the value to insert. The toString method will be used on the object.
@return true if the command is successfully performed.
@throws QTasteException