Need help in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello guys,
I have a label called "Gender" with 2 dropdowns, "Male" & "Female". Now I have multiple dropdown combos for the different fields, If I select Male, a set of fields will be displayed and If I Select Female, a set of fields will be displayed.
Can I achieve this in one single test? I wanted to create test steps for this; please help me out how can I achieve this in #ATF #servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
No mate, need to write in different test cases
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Oh... I saw somewhere we can achieve this by using Parameterized testing🤔 not sure
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
@Shaqeel any help here
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
You can achieve this with the help of Parameterized test . Please find below link for eg -
https://www.youtube.com/watch?v=RF-WnXONek8
Also if you are going to create separate Test scripts for mentioned conditions then use 'Field State Validation' Step for visibility of fields
---------------------------------------------------------------------------------------------------------------------------------------------------
If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."