code: protected Node getComponentByName(String name) throws QTasteException {
          mFoundComponent = null;
          mFindWithEqual = false;
          LOGGER.debug("try to find a component with the name : " + name);
          // TODO: Think about several component having the same names!
          for (Stage s : getStages()) {
              if (mFindWithEqual) {
                  break;
              }
              if (!checkName(name, s.getScene().getRoot()) || !mFindWithEqual) {
                  LOGGER.debug("parse window");
                  lookForComponent(name, s.getScene().getRoot().getChildrenUnmodifiable());
              }
          }
          if (mFoundComponent != null) {
              //			Parent parent = mFoundComponent.getParent();
              //			//active the parent
              //			while ( parent != null && !(parent instanceof Window) )
              //			{
              //				parent = parent.getParent();
              //			}
              //			if ( parent != null )
              //				((Window)parent).toFront();
  
              return mFoundComponent;
          }
          throw new QTasteTestFailException("The component \"" + name + "\" is not found.");
      }
docs: Retrieve the GUI component base on its name.
  
  @param name the GUI component's name.
  @return the found GUI component.
  @throws QTasteTestFailException If no GUI component is found.