I have fetched web table and store into list of Dictionary(String,String).
And I need to get only all “Status” value and store into other variable.
For Reference:-
ID Vehicle ModelNo Status
101 V1 1002 Clean
102 V2 1003 Other
103 V3 1005 Not Needed
Scenario :- If all Status value is Clean, than kick out an exception otherwise move for further process.
Can anyone suggest, how to get all status value and store in which type of variable?
Currently what’s happing with this, This is check first row of status column and if first row of Status column is “Clean”. It will move to throw exception.
And I want , this should be check all rows before throw error.
Like, If Status is clean , then check for next row if status is clean and so on
if we got it right we do have many dictionaries, all stored as items within the list and we want get out if in all dictionaries the status value is Clean