Hi guys, I’m trying to test the last step of my test case verifying the success text after clicking on continue button but the words are not being found in the page, its always on the same windows with the same URL
WebUI.click(findTestObject('Page/button_Continue'))
WebUI.verifyTextPresent('Check your inbox', false, FailureHandling.STOP_ON_FAILURE)
WebUI.closeBrowser()
Screenshoot of the page:
(I have tried with the first words of the paragraph below the title but with the same results)
Console:
2019-07-19 00:53:13.295 DEBUG testcase.2. Create a new buyer
20: click(findTestObject(“Page/button_Continue”))
2019-07-19 00:53:13.454 DEBUG testcase.2. Create a new buyer
21: verifyTextPresent(“Check your inbox”, false, STOP_ON_FAILURE)
2019-07-19 00:53:14.548 ERROR c.k.k.core.keyword.internal.KeywordMain -
Text ‘Check your inbox’ is not present on page (Root cause: com.kms.katalon.core.exception.StepFailedException: Text ‘Check your inbox’ is not present on page
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.builtin.VerifyTextPresentKeyword$_verifyTextPresent_closure1.doCall(VerifyTextPresentKeyword.groovy:79)
at com.kms.katalon.core.webui.keyword.builtin.VerifyTextPresentKeyword$_verifyTextPresent_closure1.call(VerifyTextPresentKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.VerifyTextPresentKeyword.verifyTextPresent(VerifyTextPresentKeyword.groovy:83)
at com.kms.katalon.core.webui.keyword.builtin.VerifyTextPresentKeyword.execute(VerifyTextPresentKeyword.groovy:68)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyTextPresent(WebUiBuiltInKeywords.groovy:1677)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$verifyTextPresent$6.call(Unknown Source)
at 2. Create a new buyer.run(2. Create a new buyer:57)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563508374112.run(TempTestCase1563508374112.groovy:21)