Changed configuration to take screenshot on test fail
Changed getBoolean to parseBoolean
Added TestClass and test Method property to the ResourceMetaData