Anumakonda_mahe
12 years agoFrequent Contributor
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 check point for entire screen. now i would like to check each field value with excel sheet values.
in our product we have Audit trails screen and it contains more than 10 fields. so i had created object check point for entire screen. now i would like to check each field value with excel sheet values.
Registered records using DDT.exceldriver .
Our product creates audit trails for each record.
So now I have to compare audit trails screen values with excel sheet values
- 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;