Forum Discussion

nssjp's avatar
nssjp
New Contributor
14 years ago

Using XmlCheckpoints but ignoring values

Hi everyone,



I'm testing a feature of my software that generates an xml file and I wanted to test the structure of that file while not worrying about the values contained (many are time stamped or non-consistant).  Is there a way I can configure an XMLCheckpoint to check a file but not be concerned about the actual values of any of the elements?? Thanks in advance

3 Replies

  • nssjp's avatar
    nssjp
    New Contributor
    Thanks for your reply Allen, that will work for some of my document but some of these variable values are located in attributes.  Still messing around with it, hopefully I'll find a way that doesn't involve completely reformatting my xml file.  Thanks again



    Jason

  • Hi Jason,







    some of these variable values are located in attributes



    There is a suggestion to make TestComplete ignore specific attributes in our DB and your request has increased its rating. Thank you.