Forum Discussion

lodecesa's avatar
lodecesa
Contributor
2 years ago

How work Excel Checkpoint?

Hi,

Can someone explain to me how the Excel Checkpoint works? It seems like it just compares the content of an existing Excel file with itself. What I would like it to do is compare an existing Excel file with an Excel file that I download from a web page during the test.

 

Thanks

4 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    "What I would like it to do is compare an existing Excel file with an Excel file that I download from a web page during the test." - you did say "file".

     

    Use DDT.ExcelDriver Method, create a function to loop through each worksheet and compare values.

     

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    That's going to entail you writing your own custom comparison routine.  Your best bet is to, as rraghvani mentioned, use the DDT.ExcelDriver object to read and compare the two sheets.