Read a XML test data in Java

Here is the code to read the xml test data coded in Java. import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Enumeration; import java.util.Properties; public class ReadXmlData { public String value; public String data(String node) { try { File file = new File(“../TestData.xml”); // XML file path FileInputStream fileInput = new FileInputStream(file); Properties properties […]