-
Notifications
You must be signed in to change notification settings - Fork 529
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
Parameterization is not working in Lavague-QA: Variable parameter is passed in to input field as it is, instead of values mentioned under "Examples" section of xxxx.feature file #609
Comments
It is my humble request to Lavaque team to look in to this issue on high priority as i am blocked with Parameterization of data passing. |
Hi @manikandanma17, |
@dhuynh95 Thanks for responding to my issue. The web app that i am using for testing is of our organization, hence i could not share it here. But the scenario which i am trying to handle is very simple and generic. Say for example: Below is the login_test.feature file Scenario Outline: Create a product Examples: | username | password | |
@dhuynh95 Could you please let me know once Lavague latest version is released? so that i will be able to check parameterization is working or not. |
Hi @manikandanma17, |
@dhuynh95 Thanks for the reply. Apologies, as I am quite occupied with some urgent work, I would not be able to take part of what you are asking. Sorry if i am bothering you on same thing again, Could please let me know when latest Lavague build will be released? as I am currently blocked to perform any tests with parameterization passing in it. |
@dhuynh95 Could you please let me know if LaVague latest version is released already or not? As you have mentioned above in one of your reply that you are planning for big launch for LaVague. |
Hi @manikandanma17, |
Describe the bug
Pre-requisites:
Below is the xxxxxx.feature file
Feature: Create Product
Scenario Outline: Create a product
Given Launch web app URL
When User is on the login page
And Maximize the page
And Enter "" into "Username" field
And Enter "" into "Password" field
And Click on "SIGN IN" button
To Reproduce
Steps to reproduce the behavior:
lavague-qa --url https://xxxxxxx.com/ --feature feature/create_product.feature
Note: Screenshots and Logs are attached here for your reference.
Expected behavior
The value mentioned under "Examples" section should be passed into respective input field as per variable mentioned in "Scenario Outline" section
Logs:
warnings.warn(warning_message, UserWarning)
Ready to generate tests on https://xxxxxxx.com/ for Feature: Create Product
Scenario Outline: Create a product
Given Launch web app URL
When User is on the login page
And Maximize the page
And Enter "" into "Username" field
And Enter "" into "Password" field
And Click on "SIGN IN" button
2024-09-30 14:53:24,975 - INFO - Screenshot folder cleared
2024-09-30 14:53:34,002 - INFO - Thoughts:
Next engine: COMPLETE
Instruction: The user is on the login page of test-apps.
2024-09-30 14:53:34,004 - INFO - Objective reached. Stopping...
2024-09-30 14:53:40,055 - INFO - Thoughts:
Next engine: Navigation Controls
Instruction: MAXIMIZE_WINDOW
2024-09-30 14:53:49,271 - INFO - Thoughts:
Next engine: Navigation Engine
Instruction: Enter "" into the "Username" field.
2024-09-30 14:54:05,978 - INFO - Thoughts:
Next engine: Navigation Engine
Instruction: Enter "" into the "Password" field.
2024-09-30 14:54:16,183 - INFO - ### Thoughts:
The text was updated successfully, but these errors were encountered: