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>



In manual testing, I have query regarding data conversion testing. I am working on xml document. How..

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

Post New Answer

More Test Cases Interview Questions

how to execute test cases manually

1 Answers  


write a test case for car

2 Answers   Impact Systems,


test cases for black board test cases for pencil

2 Answers  


how to write test case for Add, Delete,Update,search and Edit button. Please its urgent.Could anybody help me as soon as possible

2 Answers  


write test cases for flipkart.

1 Answers  


can any one send sample test case documents in informatica with examples plz send documents to "mrlsurya@gmail.com"

2 Answers   IBM, TCS,


Write the 10 test cases for Telephone/Pen.

12 Answers   Infoedge,


how to write test cases for smart meter for gas and electricty

1 Answers  


How to write test cases for Web related sites(ex: shopping carts sites)

1 Answers  


Explain transaction testing?

1 Answers  


What is a test case?

7 Answers  


what is self cleaning of test cases and repeatability and usability of test cases?what is the difference in repeatability and usability

2 Answers   Wipro,


Categories