Jira-Gherkin-Katalon

We start using gherkin with jira/katalon-bdd and we are wondering how do you guys document your test case ?

- by actor
- by feature
- by page on website

knowing that there is a match 1 on 1 with katalon / jira. A huge gherkin documentation equal a huge test case in katalon.

1 Like

I am working on taking specific formatted test case an trying to have Katalon generate a generic test case based on the keywords in the test case. eg. click, openurl, sendKey. this would allow a test case to be pulled from Jira and auto template in Katalon then all that is left to do is to assign the objects.

How are you using Gherkin with Katalon? Can you share a simple example?

hello sorry for the delay in getting back to you, here is a version of a test case that we created through a mind map using webDriver/selenium keywords. Wanting to then import into Katalon and auto generate a test templateā€¦

Back Office

Common Test Cases

Notes

  1. Precondition

        N/A
    
  2. Scenario

        \- Open Browser to https://cab03841s001.caretail.ca.bestbuy.com/BackOffice/
    
    
    
        \- Enter User ID
    
        \- Submit 
    
  3. Expected result

        \- Verify error message display : " Authentication failed " 
    

Login Scenario

Given that user has valid ID and password

#Login

SendKeys * ID

Verify when test case login ID is empty

Tags: Red

SendKeys * Password

Verify when test case password is empty

Tags: Red

Click * Submit Button

-Main Test Case

-LG_VerifyLogin{}

AssertThat * store options page instantiates

AssertThat * Employee Maintenance button exist

AssertThat * Daily Operations button exist

AssertThat * Reports button exist

Maintenance Test Cases

-Tl_OpenTillandAssign{}

Given that user has credentials to open and assign till

Anthony said:

How are you using Gherkin with Katalon? Can you share a simple example?

hello sorry for the delay in getting back to you, here is a version of a test case that we created through a mind map using webDriver/selenium keywords. Wanting to then import into Katalon and auto generate a test templateā€¦

Back Office

Common Test Cases

Notes

  1. Precondition

        N/A
    
  2. Scenario

        \- Open Browser to [https://cab03841s001.caretail.ca.bestbuy.com/BackOffice/](https://cab03841s001.caretail.ca.bestbuy.com/BackOffice/)
    
    
    
        \- Enter User ID
    
        \- Submit 
    
  3. Expected result

        \- Verify error message display : " Authentication failed " 
    

Login Scenario

Given that user has valid ID and password

#Login

SendKeys * ID

Verify when test case login ID is empty

Tags: Red

SendKeys * Password

Verify when test case password is empty

Tags: Red

Click * Submit Button

-Main Test Case

-LG_VerifyLogin{}

AssertThat * store options page instantiates

AssertThat * Employee Maintenance button exist

AssertThat * Daily Operations button exist

AssertThat * Reports button exist

Maintenance Test Cases

-Tl_OpenTillandAssign{}

Given that user has credentials to open and assign till