qaf
qaf copied to clipboard
Duplicate method name but unique BDD step throws NotYetImplementedException()
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
- Should execute the test
Actual behavior
- 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.
did you tried adding stepName = "uniqueName"
in QAFTestStep
declaration?