Hi,
I have test case written as in BDD scenarios format.
Given valid username and password
When the user enters "<username>" and "<password>" the credentials
Then the user logs into the customer portal successfully
Examples:
| username | password |
| testiing |testing@123 |
After db refresh, i need to change login details like username and password.
If its 1 TC, then i can modify easily. Currently i have around more than 500 TC, how to modify it?
Do we have common repository, where we can add data like this and use in the test case scenarios.
Hi @Vishwanath Hokrani -- Welcome to the Atlassian Community!
Are you asking about managing tests/test data with Jira, or with another tool (or marketplace addon)?
If another tool, please talk with your Jira admin about how your scenario may be accomplished.
If this is for Jira, how are you managing tests and test data today?
Kind regards,
Bill
Hi Bill,
Thanks for quick reply.
Yes, I'm talking about managing test data with Jira.
Currently in our company, test cases running manually. So when they running the test case they not define any test data within the Test cases.
Now we started automating test cases using Cucumber playwright tool. So we are defining test data within scenarios in test cases. To run test cases, we import the test cases in BDD format i.e. in cucumber feature file and run the feature file.
Since we define test data in test cases, is there way to update test data in test cases either using API or define common test data file which can be used within the test case.
Thanks & Regards,
Hokrani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. You do not indicate if you are using Jira Cloud or Server/Data Center versions, and so for something that might work with both...
You could create Automation for Jira rules, possibly calling the REST API functions for your testing tool, to update the data. Please check your testing tool and your Jira instance to learn what is available. Automation rules are included with Jira Cloud, and they can be added to Server/Data Center versions (although I believe there are free and paid versions).
Regarding your scenario: why do you want to change data for automated tests? This seems to contradict one idea of test automation to be consistent and repeatable. Are you doing this to incrementally add additional tests from your Behavior-Driven Development (BDD) practices?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.