Hi,
I've recently been passed an copy of an error message that occurs occasionally when a 'ratings' page is submitted. I have determined from the error message that it is most likely because of two people submitting the form at the same time. Basically there is a function that adds the new ratings to the database, and then a function that writes an XML file to be used to generate a new active server page.
I have written a function to handle the error but to test it I need to be able to somehow get the object (which is an MSXML.DOMDocument object) objDOM.save method to run synchronously.
I have checked the methods for this object, in the hope that there was a nice 'open' method I could use, but there isn't.
Does anyone have any ideas on how I could test this please?
Thanks in advance...
I've recently been passed an copy of an error message that occurs occasionally when a 'ratings' page is submitted. I have determined from the error message that it is most likely because of two people submitting the form at the same time. Basically there is a function that adds the new ratings to the database, and then a function that writes an XML file to be used to generate a new active server page.
I have written a function to handle the error but to test it I need to be able to somehow get the object (which is an MSXML.DOMDocument object) objDOM.save method to run synchronously.
I have checked the methods for this object, in the hope that there was a nice 'open' method I could use, but there isn't.
Does anyone have any ideas on how I could test this please?
Thanks in advance...