@Test public void testdatabase() throws ClassNotFoundException, SQLException { Common_Class.loadDBproperties(); Map<String, Connection> connection = Common_Class.connectDB(); Map<String, String> newmap = new HashMap<String, String>(); List<String> map = Common_Class.getMAMaccountnumbers("504478", 2, connection); System.out.println("new map is=====" + map); // newmap=Common_Class.getaccinfo(connection); }
/** * @throws SQLException * @throws ClassNotFoundException */ @BeforeClass public static void cc_Run() throws ClassNotFoundException, SQLException { Log.gsScriptName = Thread.currentThread() .getStackTrace()[1] .getClassName(); // this.getClass().getName().toString(); Log.gsScriptDescription = "Test and verify Clientconsole Login Page"; Log.gsScriptAuthor = "archana enturu"; Log.gsScriptTestArea = FileIO.getParentPath( Platform.getCurrentProjectPath() + Log.gsScriptName.replace(".", Platform.getFileSeparator())); Common_Class_clientConsole.set_test_data_path(); Log.initialize(); Common_Class.loadDBproperties(); conn = Common_Class.connectDB(); Log.logBanner("Setup for Login For ClientConsole page"); }