Assigning Priority To Test Scenarios - BDD2 and Gherkin Approach

27 views
Skip to first unread message

Abdi Teramu

unread,
Mar 25, 2024, 9:56:41 AM3/25/24
to qaf-...@googlegroups.com
Hi All

Is there a way to assign scenario execution priority for QAF BBD2 or Gherkin scenarios?


For BDD2 Approach, I have tried the following , it did not work

Scenario : A


For Gherkin Approach , I have tried the following , It did not work

Scenario Outline: B

Examples: { groups:[], "priority"=2}


FYI: Assigning priority on QAFSteps for the Java Approach is working. 

Abdi Teramu

unread,
Apr 1, 2024, 12:29:26 PM4/1/24
to qaf users
How do we assign Priority to Scenarios written in Gherkin BDD2 approach ?  anyone knows?

cjayswal

unread,
Apr 1, 2024, 1:24:13 PM4/1/24
to qaf users
If you are using BDD2 factory, Try adding priority using metadata for example:

@priority:1
Reply all
Reply to author
Forward
0 new messages