ATF: Validate List Values and Look up field values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2017 08:07 AM
Hello Everyone,
Have below two questions, wanted to know the possibility with script or UI Step.
1) I am looking for a way to validate the the Reference field values are coming correctly or not.
For Ex: In Incident Table I wanted to validate the values of the field "Caller" (This is an example. In real time scenario, the developer will apply a filter criteria before populating the values to this reference field and tester is responsible to validate the number of records and the values too).
2) Do we have a way to validate the drop down field values (the values could be hard-coded or coming from a table). In this example wanted to validate the "State" field values, with script or a UI Step.
- Labels:
-
Service Level Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2017 11:27 PM
Hi Pratap,
As far as I understand, you are willing to test the values of fields getting populated correctly or not.
I would like to mention here that, these field values are governed as per the configuration and user can change that as per needs.
1. For reference fields:
Right click on field -> configure dictionary -> change the table name and query condition. Reference qualifier will follow these conditions and show the records.
2. For choice:
Right click -> configure choices and you can put the choices there.
If these config are correct, there should not be a further need to validate the data again. Please elaborate your question further, if this does not answers your query.
Hope this helps.
Thanks,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2017 01:54 AM
Thanks for the reply Himanshu.
Actually I am trying to automate the scenario with ATF. Would like to validate the reference field values / dropdown values using ATF. Do we have a way to do this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2017 09:25 AM
Looks like we may have to create and run a server side script step:
Server test step: Run Server Side Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2018 02:50 AM
Tried, but really not sure how to get that. Asked dev team and they are also not able to provide any assistance