I faced an instance where the test case would not run. It did not open the browser, show a compilation error, nor any type of error. After troubleshooting the issue, it turns out that having a variable of CustomKeywords, ex: CustomKeywords x …, would crash the run action.
Is there any explanation for this? And perhaps any tips on the best practice for calling CustomKeywords, instead of typing the whole normal syntax?
Hello Russ, my apologies for the lack of code. What was meant by the “normal syntax” of using a Customkeyword is calling it using :
"CustomKeywords.‘name’.function(parameters)
A simple example of a test case
WebUI.callTestCase(findTestCase(‘Test Cases/Log In/Log In Basic’), null)
WebUI.navigateToUrl(link)
int count = CustomKeywords.‘findChildrenCount.getTableSingleRow’(Object, 2)
System.out.println(count)
My question here is if there’s a better way to call the CustomKeywords?
However, the main topic of this thread is why did Katalon not show any error message or notification when I randomly typed: