Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
coderrenish opened this issue Mar 19, 2024 · 1 comment
Open
1 task

Comments

@coderrenish
Copy link

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.

@cjayswal
Copy link
Member

did you tried adding stepName = "uniqueName" in QAFTestStep declaration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants