Results 1 to 3 of 3
  1. #1

    Back End Testing/ XML Validation


    What is the best way to structure test cases for XML Validation? I was thinking that I could have the harness send in orders with required fields, then optional fields, then some with optinal and required. I also plan to test the max and min string amount for the fields as well. What I am looking for is an all around method to use each time no matter the number of fields and such. All help would be greatly appreciated!!


  2. #2

    Re: Back End Testing/ XML Validation

    you can have the test data in a .CSV file, with every row having all the element values for a single xml file. then write a program (or have it written by a developer) to read each row, form an xml out of it and send it to the 'validator' program.
    so in every row of the .CSV file u can have the values as reqd. each row forming a test case.
    this is how we actually did, but i suppose there's a similar feature in MS SQL Server to pull out an xml from the db. ie., in a table each row would contain the values for the xml.
    u can try that too..

    hope what i've written is relevant to ur prob.

  3. #3

    Re: Back End Testing/ XML Validation

    We did the same in last project through WR .xls file. Ofcourse you can use any format like /csv/xls/flatfile/mdb etc., files can be used for generating xml files. As a editior your can use VB/WR/ etc.,any editor which supports the data format files.
    If you want a high quality software system, you must ensure each of its parts is of high quality. by Watts S. Humphrey



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:36 PM.

Copyright BetaSoft Inc.