Changed the logic to remove reading properties file and use the Testng.xml file for parameters.