AFT - what happens to a test when a field on the form changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 06:01 AM
Hi,
We're creating some tests in AFT and have been as a question on how AFT would deal with a change to a value in a dropdown (or any field that has you pick from a list).
When you use the 'Set Field Value' step, it recognises the fields in the form and provides the allowed values, what you see in the test step is the display text of the option, not the 'value' attribute.
What happens to the test when the display text changes but value stays the same?
What happens to the test when the value changes but the text stays the same?
What happens to the test when the option selected is removed from the dropdown?
If any of these cases do not fail test execution, would we know that there was any change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 07:10 AM
Hi @RadW
Its ATF not AFT 🙂
What happens to the test when the display text changes but value stays the same?
Atul: Set value pick the value, which you set , so if the display text change it will fail.
What happens to the test when the value changes but the text stays the same?
Atul: No changes, as the backend value impact backend logic but test will set value.
What happens to the test when the option selected is removed from the dropdown?
Atul: Test fails.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
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/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************