I’m quite new to automation and Katalon, at the moment I need to implement a solution for a Chatbot project we’re delivering. My idea is to Get the response text and compare it against a responses file.
I’ve been trying using the GetText function and storing the value as a string.
Unfortunately, everything I’ve tried fails. Is there any advice on how could I achieve this?
Example of one solution I’ve tried
String WelcomeText = WebUI.getText(findTestObject(‘Page_DPC Vic Bot/Page_DPC Vic Bot/p_Welcome’))
WebUI.verifyEqual(WelcomeText, findTestData(‘Welcome Text’).getValue(‘Intent’, 1))