public BaseScreen( String selectedBrowser, String selectedPlatform, String applicationURL, String applicationContext, UIConstants uiConstants) throws AWTException, IOException, ScreenActionFailedException { this.uiConstants = uiConstants; try { instantiateBrowser(selectedBrowser, selectedPlatform, applicationURL, applicationContext); } catch (ScreenException e) { // TODO Auto-generated catch block e.printStackTrace(); } }
public static void launchingBrowser() throws Exception { String applicationURL = phrscEnv.getProtocol() + "://" + phrscEnv.getHost() + ":" + phrscEnv.getPort() + "/"; selectedBrowser = phrscEnv.getBrowser(); try { appBaseScreen = new AppScreen( selectedBrowser, applicationURL, phrscEnv.getContext(), phrscEnv, heliosUiConst, userInfoConst, heliosData); } catch (ScreenException e) { e.printStackTrace(); } }