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

Step annotations should have placeholders for parameters #206

Open
qytera-development opened this issue Sep 20, 2023 · 2 comments
Open

Step annotations should have placeholders for parameters #206

qytera-development opened this issue Sep 20, 2023 · 2 comments
Labels
🛠 core Everything related to the QTAF core module 📄 feature New feature request. ➡️ medium priority The priority is considered to be medium

Comments

@qytera-development
Copy link
Contributor

The name and description fields of the step annotations should allow placeholders for the parameters of the step methods

Example:

@Step(name="Enter value $p1", description="Enter the value $p1 into the field")
public void enterValue(String value) { ... }

When this step is called $p1 should be replaced with the value passed to this function.

@MoritzSalein
Copy link
Contributor

How we should implement the feature, if we have several passed values. Do we implement an index based $ variable, like $p1, $p2, etc. or do we accept the name of the passed value, like url, address, etc.?

@qytera-development
Copy link
Contributor Author

Yes, we will implement an index based naming: $p1, $p2, ...

@csvtuda csvtuda added the 🛠 core Everything related to the QTAF core module label Oct 8, 2023
@MoritzSalein MoritzSalein added the 📄 feature New feature request. label Oct 9, 2023
@MoritzSalein MoritzSalein added the ➡️ medium priority The priority is considered to be medium label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 core Everything related to the QTAF core module 📄 feature New feature request. ➡️ medium priority The priority is considered to be medium
Projects
None yet
Development

No branches or pull requests

3 participants