Advertisement
xosseh

Sample TestListener for Katalon

Oct 9th, 2024
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.35 KB | None | 0 0
  1. import com.kms.katalon.core.context.TestCaseContext
  2. import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
  3.  
  4. class NewTestListener {
  5.     @BeforeTestCase
  6.     def beforeTestCase(TestCaseContext testCaseContext) {
  7.         CucumberKW.GLUE = ['stepDefinitions'] // change to the name of the package(s) with the test scripts
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement