Keyword labels

Please, extends Keyword annotation or add new one:

@Keyword
@Label("Open module by name")
def change_module(String modueleName) {
WebDriver driver = DriverFactory.getWebDriver();
new NavigationBarPage(driver).switchModuleTo(modueleName);
}

or

@Keyword(label = "Open module by name")
def change_module(String modueleName) {
WebDriver driver = DriverFactory.getWebDriver();
new NavigationBarPage(driver).switchModuleTo(modueleName);
}

So keywords would look more readable in Test case window

3 Likes

Artem Yakovlev said:

Please, extends Keyword annotation or add new one:

@Keyword

@Label(“Open module by name”)
def change_module(String modueleName) {
WebDriver driver = DriverFactory.getWebDriver();
new NavigationBarPage(driver).switchModuleTo(modueleName);
}


or   
  

@Keyword(label = “Open module by name”)
def change_module(String modueleName) {
WebDriver driver = DriverFactory.getWebDriver();
new NavigationBarPage(driver).switchModuleTo(modueleName);
}


  
So keywords would look more readable in Test case window

  

Hi Artem,

Thank you for your suggestion. I think you made a great suggestion as it would help the test case more clear and readable. I have logged a ticket for further consideration.

Thank you for supporting Katalon tools set,
Liam