Deleted ConfigUtil.java and made ConfigProperties.java
Similar to Rest API Call and update ScreenShotCapture
to take screen shot and place in target folder.
with path as target/screenshot/

It will be created automatically every time.