Finding text when text is not present on the page

I’m trying to validate the text “Failed” is present on the page. I wanted to fail the test if the text “Failed” is present on the page The test result is showing that it’s finding text “Failed” on the page.

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘http://dm.test.com/dm/’)

WebUI.setText(findTestObject(‘DM_QA/Page_Dashboard - Direct Marketing/input_Username_Username (1)’), ‘Bob’)

WebUI.setEncryptedText(findTestObject(‘DM_QA/Page_Dashboard - Direct Marketing/input_Password_Password (1)’), ‘K2SxO7kTdtoUVOsZik2P==’)

WebUI.click(findTestObject(‘DM_QA/Page_Dashboard - Direct Marketing/button_Login (1)’))

if (WebUI.verifyTextPresent(‘Failed’, false, FailureHandling.STOP_ON_FAILURE)) {

true.call({ 

    })

}

assert true

Then, what is your question?