code: private static Map<String,String> parameterScanner(String parameters){
  	
  		String[] parametersArray = parameters.split(";");
  		
  		Map<String, String> localParametersMap = new HashMap<String, String>();
  		
  		for(int count=0;count < parametersArray.length; count++){
  			String[] parameter  = parametersArray[count].split("=");
  			localParametersMap.put(parameter[0], parameter[1]);
  		}
  		
  		return localParametersMap;
  	}
docs: Processes and returns parameters informed by TestNG XML file. Parameters must have the structure: <br/>
  atribute1=value1;atribute2=value2;...
  @param parameters
  @return a Map with the structure attribute and value