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
StepNotFoundException is thrown even when step is implemented #291
Comments
can you provide more information ?
|
Hi Ravi, First check with If that is correct then try with providing unique @QAFTestStep(description="user logins with {username} and {password}",stepName="user login with username and password")
public void login(String username,String password){
} |
@mishalhshah Yes, as per you pointed out. I was using different step descriptions for 2 overloaded methods. Thanks for informing about this limitation in QAF. |
What is the difference between "description" and "stepName" ? In our current projects, we use "description" and it works fine. |
@mishalhshah Same methods names in different classes can also create issue ? |
Thanks for the quick reply @mishalhshah @amitbhoraniya and @naeem-github |
@raviguptasmarsh yes same java method names without unique "StepName" in QAFTestStep will create issue. |
|
QAF Version: 2.1.14
Steps To Reproduce
This is an intermittent issue and there seems to be no pattern.
Expected behavior
The step should execute.
Actual behavior
StepNotFoundException is thrown
Is the issue reproducible on runner?
The text was updated successfully, but these errors were encountered: