public String stOpenBrowserInstance (int dataid,int expVal, String flow){    	
    	
    	int actVal=1000;
		String returnVal=null;
		hm.clear();
   	hm=STFunctionLibrary.stMakeData(dataid, "Post");
   	String url = hm.get("URL");		
   	String newwindowtitle = hm.get("NewWindowTitle");
   		
	try {
		
		Block : {
		
		/*Open New window*/
		browser.open(url);
//		browser.openWindow(url, newwindowtitle);
		try {
			Thread.sleep(15000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
    	/*Select newly open window*/
    	browser.selectWindow(newwindowtitle);
    	try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		String browsertitle = browser.getTitle();
		
		if (browsertitle.contains(newwindowtitle))
		{
			actVal = 0; /*Browser instance opens successfully*/
			break Block;
		}
		else
		{
			actVal= 1;/*Failed to open Browser instance*/
			break Block;
		}
		
	}
	}
	catch (SeleniumException sexp)
	{
		Reporter.log(sexp.getMessage());	
	} 
	
	returnVal=STFunctionLibrary.stRetValDes(expVal, actVal, "stOpenBrowserInstance",flow, hm);
	if(flow.contains("STOP")){
		assertEquals("PASS",returnVal);
	}
	return returnVal; 
	
    }