How to fetch and validate values in a list using ATF

SangyM
Tera Contributor

So, here is my cmdb_ci_computer list

SangyM_0-1752546720891.png

Now, from where I want to verify the name/model id for a particular discovery source.

Let's just say I want to verify all the model id's available for Kandji

SangyM_1-1752546870780.png

So, how can I achieve this through ATF?

2 ACCEPTED SOLUTIONS

Di Zhang
Tera Guru

Please check this step.

di_zhang3_0-1752548712847.png

or do a record query 

di_zhang3_1-1752548810119.png

or run server side script

di_zhang3_2-1752548867791.png

 

View solution in original post

Sardash
Mega Guru

@SangyM  - You can use 'Record Query' Step to find all model id's related to Kandji. Then you can use Record validation if you want to check if particular model id is available or not

View solution in original post

4 REPLIES 4

Di Zhang
Tera Guru

Please check this step.

di_zhang3_0-1752548712847.png

or do a record query 

di_zhang3_1-1752548810119.png

or run server side script

di_zhang3_2-1752548867791.png

 

SangyM
Tera Contributor

It works, thanks @Di Zhang 

Sardash
Mega Guru

@SangyM  - You can use 'Record Query' Step to find all model id's related to Kandji. Then you can use Record validation if you want to check if particular model id is available or not

SangyM
Tera Contributor

it works, thanks @Sardash