In manual testing, I have query regarding data conversion testing. I am working on xml document. How do we write test cases for below input as well as for output
Input: <text>1. software Testing</text>
Output:
<paragraph><text><desig>1.</desig>software testing</text></paragraph>
Answer / Prachi Sachan
To write test cases for data conversion testing in an XML document, follow these steps:
1. Define the input and expected output formats clearly. In this case, your input is `<text>1. software Testing</text>`, and the expected output is `<paragraph><text><desig>1.</desig>software testing</text></paragraph>`.
2. Create test cases for each step of the data conversion process. For example:
- Verify that the input XML document is correctly formatted.
- Validate that the correct data elements are being selected and processed by the conversion script.
- Check if the output XML document matches the expected format, including any required attributes or nested elements.
3. Implement your test cases using a suitable test automation tool (e.g., Selenium, PyTest).
4. Execute the test cases and verify that they pass as expected. If any tests fail, investigate the cause and make necessary corrections to the conversion script.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to execute test cases manually
write a test case for car
test cases for black board test cases for pencil
how to write test case for Add, Delete,Update,search and Edit button. Please its urgent.Could anybody help me as soon as possible
write test cases for flipkart.
can any one send sample test case documents in informatica with examples plz send documents to "mrlsurya@gmail.com"
Write the 10 test cases for Telephone/Pen.
how to write test cases for smart meter for gas and electricty
How to write test cases for Web related sites(ex: shopping carts sites)
Explain transaction testing?
What is a test case?
what is self cleaning of test cases and repeatability and usability of test cases?what is the difference in repeatability and usability