@Test
		public void testLogin(String sBrowserName, String sTestDataFlag, String sTCName,int sTestCaseID) throws IOException, ElementNotFoundException, InterruptedException
		{
			this.sTCName = sTCName;
			this.sTestCaseID = sTestCaseID;
			if(checkTestDataSheetExists()==true)
			{
				Iterator <Row> rowIterator = sheetObj.iterator();
				
				//Check if there is Data in the row
			    if (rowIterator.hasNext())
			    {
			    	//Point to the Header of the Sheet
			    	Row row = rowIterator.next();
			    				    	    	
			    	//Set the pointer to the column header 
			    	Iterator<Cell> cellIterator = row.cellIterator();
			    				    	
	 		 		//row = rowIterator.next();
	 		 		
	 		 		//cellIterator = row.cellIterator();
	 		 		
	 		 		while(rowIterator.hasNext())
			    	{
	 		 			//initialize the variables with null value 
	 		 			String sURL = "" ,sPassword="" , sUserName="";
	 		 			int sTestDataID ;
	 		 			
	 		 			// Pointing to Second Row of the Excel Sheet
	 		 			row = rowIterator.next();
		 		 		
		 		 		cellIterator = row.cellIterator();
	 		 			while(cellIterator.hasNext())
	 		 			{
	 		 				Cell cell = cellIterator.next();
	 		 				
	 		 				//Read the row under the first Column header
	 		 				if(cell.getColumnIndex()==0)
	 		 				{
	 		 					sTestDataID = (int) cell.getNumericCellValue();
	 		 					oResult.setTestDataID(sTestDataID);
	 		 				}
	 		 				
	 		 				//Read the row under the first Column Header
	 		 				if(cell.getColumnIndex()==1)
	 		 				{
	 		 					sUserName = cell.getStringCellValue();
	 		 				}
	 		 				
	 		 				//Read the row under the Second Column Header
	 		 				if(cell.getColumnIndex()==2)
	 		 				{
	 		 					sPassword = cell.getStringCellValue();
	 		 				}
	 		 				
	 		 				//Read the row under the third Column Header
	 		 				if(cell.getColumnIndex()==3)
	 		 				{
	 		 					sURL = cell.getStringCellValue();
	 		 				}
	 		 			}
	 		 			
	 		 			// Set Browser Property
	 					setBrowserProperty(sBrowserName);
	 		 			
	 		 			//Open Application//
 		 				fnOpenApp(sURL);
 		 				
 		 			 		 				
 		 				//Input UserID
 		 				fnSetText("id","login",sUserName);
 		 				
 		 				//Input Password
 		 				fnSetText("id","password",sPassword);
 		 				
 		 				//Click Login Button
 		 				fnClickElement("id","vslogin");
 		 				
 		 				
 		 				//driver.close();
 		 				//String acb = switchWindow();
 		 				
 		 				//driver.switchTo().frame("Startup");
 		 				//driver.quit();
 		 			//	fnClickButton("id","Logout");		 				
 		 				
 		 				
 		 				//Switch the window handle to next window
 		 			/*	Set <String> s = driver.getWindowHandles();
 		 				
 		 				//this method will you handle of all opened windows

 		 				Iterator <String> ite=s.iterator();
 		 				int i = s.size();
 		 				//s.contains(o);
 		 				while(ite.hasNext())
 		 				{
 		 				     subWindowHandler =ite.next();
 		 				     str = driver.getTitle();
 		 				    if(driver.getTitle().equalsIgnoreCase("Logout"))
 		 				    {
 		 				                driver.switchTo().window(subWindowHandler);
 		 				                break;
 		 				               // here you can perform operation in pop-up window**
 		 				                //After finished your operation in pop-up just select the main window again
 		 				             //   driver.switchTo().window(popupHandle);
 		 				    }
 		 				}*/
 		 				
 		 				//WaitForPageToLoad obj = new WaitForPageToLoad();
 		 				//setParentWindow("CGI Advantage");
 		 				 
 		 				//fnClickButton("xpath","/html/body/form/div/div/div[2]/div[2]/a/img[@id='Logout']");
 		 				

 		 			/*	for (String winHandle : driver.getWindowHandles()) 
 		 				{
 		 					int i = driver.getWindowHandles().size();
 		 					if(driver.getTitle().equalsIgnoreCase("CGI Advantage"))
 		 					{
 		 						driver.switchTo().window(winHandle);
 		 						fnClickButton("id","Logout");
 		 					}
 		 				   
 		 				   //String str =  driver.getCurrentUrl();
 		 				   // switch focus of WebDriver to the next found window handle (that's your newly opened window)
 		 				    System.out.print(winHandle);
 		 				}*/

 		 				//Thread.sleep(3000);
 		 				
 		 				//Set Parent Window
 		 				//setParentWindow("CGI Advantage");
 		 				//Thread.sleep(2000);
 		 				// Click LogOut Button
 		 				
 		 				//driver.quit();
 		 				
			    	}//End of while loop 
	 		 		
	 		 		oResult.fnUpdateResult(sTCName);
			    }
			    else
			    {
			    	System.out.print("Test Data Sheet is empty");
			    }
			}
			else
			{
				System.out.print("Test case sheet not found");
			}
			
			
		}