private DesiredCapabilities getDCFrameworkProp() { if (isFrameworkProperties) { if (isFrameworkProperties) { Properties prop = new Properties(); try { prop.load(new FileInputStream(new File(Utils.getResources(this, fileName)))); } catch (FileNotFoundException e) { // TODO Auto-generated catch block LOGGER.error(e); } catch (IOException e) { // TODO Auto-generated catch block LOGGER.error(e); } PrepareDesiredCapability pdcFrameworkProperties = new PrepareDesiredCapability(prop); return pdcFrameworkProperties.get(); } } return null; }
private DesiredCapabilities getDCClient() { PrepareDesiredCapability clientBrowserCap = new PrepareDesiredCapability(clientBrowserData); return clientBrowserCap.get(); }
private DesiredCapabilities getDCJvm() { PrepareDesiredCapability systemCapa = new PrepareDesiredCapability(System.getProperties()); return systemCapa.get(); }