Visual Testing Unable to create a baseline

I am unable to create a visual baseline from a test suite to be able to do visual testing.

here is the script used :
WebUI.callTestCase(findTestCase(‘WEB/Log In/Log In - Main Steps’), [(‘userName’) : ‘intelStream’, (‘password’) : ‘intelStream’],
FailureHandling.STOP_ON_FAILURE)

WebUI.takeElementScreenshotAsCheckpoint(‘newtest’, findTestObject(‘Base/Xpath’, [(‘xpath’) : ‘//*[@id=“main-area-landing-page-app-container”]/div/li[1]/img’]))