(Moved) Couldnt locate object after zoom out the webpage

Hi,
Im a newbie,

I used the zoom out using the script below and changed the web page zoom level as 80%.

WebUI.executeJavaScript(‘document.body.style.zoom= '80%'’, null)

After that, whatever i recorded earlier are throwing error as “unable to click on object”.
I tried saving object selector by Xpath and Attributes .But it didnt work

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import internal.GlobalVariable as GlobalVariable

WebUI.openBrowser(‘’)

WebUI.waitForElementVisible(findTestObject(‘Page_datahub/div_GO SMART GO MOBILITY (1) (1)’), 20)

WebUI.executeJavaScript(‘document.body.style.zoom= '80%'’, null)

WebUI.click(findTestObject(‘Page_datahub/a_Sign In (10) (1)’))

WebUI.click(findTestObject(‘Page_datahub Sign In/button_Sign In (1)’))

WebUI.delay(3, FailureHandling.STOP_ON_FAILURE)

Kindly help me out to proceed with zoom out level

Seems like the page is going to mobile mode(RWD) when you zoom out and hence the Xpaths are changing. Infact, what you are doing is effectively equal to changing screensize.
try setting the resolution using
driver.manage().window().setSize(new Dimension(1530,818))

OR you can use the following link to zoom in and zoomout