Simple Verify Element Text not passing

I need to verify each text/label field on this page (regression testing looking for changes) however as I am new to this I can’t get past the follow two lines
(First Yellow box title)

Direct access
To get you started

I used record and playback and spy to get the details but the test line will not pass.
I tried “verify test present” and “verify element test”
can someone please help me produce the right test line.

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.checkpoint.CheckpointFactory as CheckpointFactory
import as MobileBuiltInKeywords
import 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.testcase.TestCaseFactory as TestCaseFactory
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory
import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import internal.GlobalVariable as GlobalVariable





WebUI.verifyElementPresent(findTestObject('Page_Request a call/h3_Direct access'), 2)

WebUI.verifyElementPresent(findTestObject('span_to get you started'), 2)

And The objects you can add manually like this
This is object for h3_Direct Access Text.and

This is the object for to get you started Text.

spy web doesn’t give accurate object all-time. So you have to know how to make an object.

Borhan Uddin



How did you find or know to create the object h3_Direct Access Text ?
it this just simply take the record object h3_Direct access and find the text within?

Try Verify element visible command