Forum Discussion

Anumakonda_mahe's avatar
Anumakonda_mahe
Frequent Contributor
12 years ago

Compare Object Properties Values with Excel Sheet column Values

Pls. let me know how to Compare Object Properties Values with Excel Sheet column Values in our product we have Audit trails screen and it contains more than 10 fields. so i had created object c...
  • Bharadwaj's avatar
    12 years ago
    Small change



    for j:= 0 to dict.Count -1 do

    begin



    if VarToStr(dict.Item(key)) <>  VarToStr(dict1.Item(key1)) then



    Log.Error('Mismatch : Expected value for label '+ key +'  is  :  ' dict1.Item(key1))  + ' but found on screen is ' + dict.Item(key))  )   



    end;