alibaba82
17 years agoSuper Contributor
parsing soapui project file
hello,
I am trying to maintain test cases, descriptions by storing them in a database. I have a table in the database which has the following fields.
1. ProjectName
2. TestSuite
3. TestCaseName
4. TestCase Description
I wanted to parse through the soapui project XML file and extract the information and put it into the database.
I have everything setup on the database (schema, stored procs etc). I just need to make a call via my program(C# code) that will pass these values to the stored proc.
I have limited experience with XML and was having some trouble understanding the XML structure of the project files. Can you provide me some java/C#/pseudo code that will basically show how to navigate the XML file to extract the things I have listed above.
Thanks
Ali
I am trying to maintain test cases, descriptions by storing them in a database. I have a table in the database which has the following fields.
1. ProjectName
2. TestSuite
3. TestCaseName
4. TestCase Description
I wanted to parse through the soapui project XML file and extract the information and put it into the database.
I have everything setup on the database (schema, stored procs etc). I just need to make a call via my program(C# code) that will pass these values to the stored proc.
I have limited experience with XML and was having some trouble understanding the XML structure of the project files. Can you provide me some java/C#/pseudo code that will basically show how to navigate the XML file to extract the things I have listed above.
Thanks
Ali