Hi,
We just started using XRay in JIRA and I'm looking into parameters. Say we have a system where people can order stuff, and after the order they have 4 days to confirm it and if they haven't confirmed it in 2 days we will send them a reminder email to confirm the order.
We have multiple test for this and now the 2 and 4 days are "hardcoded" into the test. The amount of days for expiration and reminders have changed in the past so I would rather have it be a parameter so we can update the parameter and all test will be correct again.
So I would like to create a project text parameter named OrderExpiresIn with value '4 days' and OrderReminderEmail with value '2 days' or something like that.
I have seen that you can create list parameters on project level. However as mentioned my values would be '2 days' and '4 days' which would be pretty vague. I could create two lists with each having one of the values but that seems redundant.
Also if I have a test which uses the list value and I change the value in the list, the value in the test isn't altered. Which means I still need to go through all the tests to update the value in the list which kinda defeats the purpose.
So is there a way to just have a project text parameter, which I can use in my tests and will update automatically in all tests when I update the value? If not, do you have any recommendations on how to handle this situation?
Thanks in advance!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.