code: @Override
  	public void waitForText(long time) throws WidgetException, WidgetTimeoutException {
  		waitForCommand(new ITimerCallback() {
  
  			@Override
  			public boolean execute() throws WidgetException {
  				String val = getText();
  
  				if (val == null || val.equals(""))
  					return false;
  
  				return true;
  			}
  
  			@Override
  			public String toString() {
  				return "Waiting for text on the element with the " + "locator: " + locator;
  			}
  
  		}, time);
  
  	}
docs: /*
  (non-Javadoc)
  
  @see qc.automation.framework.widget.IElement#waitForText(java.lang.Long)