Excel Application Scope
Read Range → Save to DataTable
For Each Row in DataTable
Get Cell Color of column ‘G’ → Save as colorVariable
If (row(“Z”).ToString = “SEA” AndAlso colorVariable = expectedColorForSEA) OrElse
(row(“Z”).ToString = “AIR” AndAlso colorVariable = expectedColorForAIR) Then
// Valid case, move to next row
Else
// Throw an exception or log the mismatch
End If
Next Row
Thanks for the reply. To get the cell color I need to double click in the filtered cell.
How this can be done? If Ui automation or any other alternate solution for this.