code: @Override
  	public String getAttribute(String attributeName) throws WidgetException {
  		try {
  			WebElement webElement = null;
  			String attr = null;
  
  			// WebDriver get attribute
  			try {
  				webElement = findElement();
  				attr = webElement.getAttribute(attributeName);
  				highlight(HIGHLIGHT_MODES.GET);
  			} catch (NoSuchElementException e) {
  				throw e;
  			}
  
  			if (attr != null && !attr.equals("")) {
  				return attr;
  			}
  
  			return "";
  		} catch (Exception e) {
  			throw new WidgetException("Error while fetching attribute " + attributeName, locator, e);
  		}
  	}
docs: /*
  (non-Javadoc)
  
  @see
  qc.automation.framework.widget.IElement#getAttribute(java.lang.String)