How to test incident category and subcategory dropdowns - using parametrized testing - ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 11:18 PM
I was tried as below.
A.I have defined two parameters:
1.category
2.Subcategory
B. Test Run data set as
1.category = Inquiry / Help
2.subcategory = Email
After Run i'm getting below Error messages.
Can any one pls help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 11:36 PM
Hi @saha23456
Can you verify the your choise in your system expect this exact value, or should it be a predefined set. (e.g., Help or Inquiry separately)?
And aslo ensure theEmail is a valid subcategory under the category of Inquiry / Help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 02:36 PM
Hi,
You need to first set "Parameter Definitions" in your case
1.category Type = String
2.Subcategory Type = String
Than, set the "Test run Data sets" in your case (below is the first set)
1.category = Inquiry / Help
2.subcategory = Email
After, add two(2) separate test step "set fiend values"
1) Category = {{Parameters.category}}
2) Subcategory = {{Parameters.Subcategory}}
Run Test
This will loop your test depend on how many test data sets you have.
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.