Is there a way to validate that the list of the table is empty in ATF?

ServiceNow Use6
Tera Guru

Hi,

I have to validate that the list of a table is empty. How can I do it in ATF?

find_real_file.png

find_real_file.png

Regards

Suman P.

1 ACCEPTED SOLUTION

The SN Nerd
Giga Sage
Giga Sage

Create a Record Query Test Step on the Inactivity Monitor table with the following assertion:

find_real_file.png


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

4 REPLIES 4

The SN Nerd
Giga Sage
Giga Sage

Create a Record Query Test Step on the Inactivity Monitor table with the following assertion:

find_real_file.png


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi Paul,

What can I put the condiion to?

Regards

Suman P.

Looking at your screenshot, the condition would be empty.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi Paul,

I put Name 'is anything' then.

Regards

Suman P.