Skip to content

Duplicate method name but unique BDD step throws NotYetImplementedException() #456

@coderrenish

Description

@coderrenish

QAF Version:

4.0.0-RC2

Steps To Reproduce

1. Have a unique BDD step name but use a duplicate method name (not in the same file).
2. 
3.

Expected behavior

  1. Should execute the test

Actual behavior

  1. Throws NotYetImplementedException()

Is the issue reproducible on runner?

  • [] QAS
  • [X ] Maven
  • Gradle
  • [] Ant
  • [ X] Eclipse

Test case sample

@QAFTestStep(description = "Verify-Text:{0} in Page:{1}")
public static void verifyText(String text, String page) throws Exception {
      // some internal implementation

}

Note: If I change the method name to "verifyTextInPage" then it will work.
Looks like "verifyText" is part of QAF common step too.

I can see another ticket raised but closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions