Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to order records in list view via Automated Test Framework

matthew_hughes
Kilo Sage

As I'm writing different tests using the Automated Test Framework, I'm in a scenario where some of my steps require the fields in a list view to be in a certain order e.g. create date:

find_real_file.png

In the above screenshot, the records are in descending order of the 'Created' field. I was just wondering if it is possible to apply the same logic in a test step as part of ATF?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

Hi,

there is workaround

Valdating List Columns using ATF

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron

Hi,

nope that is not supported and won't work

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ok. So there's no UI Action or any step that automatically puts the results in order of a certain field in list view?

No OOB.

Check the link I shared below

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

Hi,

there is workaround

Valdating List Columns using ATF

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader