测试积点老人 发表于 2022-4-27 10:45:27

关于#katalon recoder#的verifyText问题,如何解决?

使用katalon recoder ,verifyText,assertText等断言前两天能正常使用,今天一直报这个错,检查业务功能是正常的,怀疑了人生,有遇到过相关情况的莫
Cannot read properties of undefined (reading 'getCommandHandler')方法使用:
verifyText(locator, pattern)
Generated from getText(locator)
Arguments:
locator - an element locator
Returns:
the text of the element
Gets the text of an element. This works for any element that contains text. This command uses either the textContent (Mozilla-like browsers) or the innerText (IE-like browsers) of the element, which is the rendered text shown to the user.
Please see samples at Github.

郭小贱 发表于 2022-4-28 10:01:29

是不是改啥配置了啊?

qqq911 发表于 2022-4-28 11:20:44

配置文件检查下

jingzizx 发表于 2022-4-28 16:46:00

环境变了?

kallinr 发表于 2022-4-28 17:13:38

环境配置
页: [1]
查看完整版本: 关于#katalon recoder#的verifyText问题,如何解决?