# Show Selenium test results In ES

**URL:** <https://discuss.elastic.co/t/show-selenium-test-results-in-es/192757>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 29, 2019, 6:18pm UTC](https://discuss.elastic.co/t/show-selenium-test-results-in-es/192757 "2019-07-29T18:18:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [July 29, 2019, 6:18pm UTC](https://discuss.elastic.co/t/show-selenium-test-results-in-es/192757/1 "2019-07-29T18:18:09Z")

</div>

Hi

A team runs selenium tests and stores results in xml file. I want to pull this data in to elastic search and plot kibana. Any idea how I can do this?

I need to send below values from the xml file.  
testSuiteId= Adaptor (Java Platform) Sanity  
productId= Adaptor  
versionId= 10.5.1  
Build=7069

Results  
id="2223"  
Pass

```
This is the XML file format I am having.
        <TestResults> 
            	 <TestSuite testSuiteId="64">Adaptor (Java Platform) Sanity</TestSuite> 
            	 <Product productId="2">Adaptor</Product> 
            	 <ProductVersion versionId="15">10.5.1</ProductVersion> 
            <!-- Mandatory Field -->
            	 <Platform>RED HAT 6.6</Platform> 
            <!-- Mandatory Field -->
            	 <Build>7069</Build> 
            <!-- Date Time Format - MM/dd/yyyy HH:mm -->
            	 <DateTime></DateTime> 
            	 <MachineName>XYAZER66402</MachineName> 
            	 <Owner></Owner> 
            	 <Notes></Notes> 
            	 <TestSuiteComments></TestSuiteComments> 
            <!-- Use Unique names for images (.jpg, .jpeg, .png supported). Enter multiple images names in comma separated format -->
            	 <ImageNameTS></ImageNameTS> 
            	 <TestCases> 
             	 <!-- Do not edit id and name attributes values --> 
            		 <TestCase id="2223" uName="TC_1" name="Setup completes successfully"> 
            			 <Result>Pass</Result> 
            			 <Comments></Comments> 
            <!-- Use Unique names for images (.jpg, .jpeg, .png supported). Multiple images not allowed -->
            			 <ImageNameTC></ImageNameTC> 
            		 </TestCase> 
             		 <TestCase id="2224" uName="" name="Adaptor war file deploys and starts in application server"> 
            			 <Result>Pass</Result> 
            			 <Comments></Comments>
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 26, 2019, 6:18pm UTC](https://discuss.elastic.co/t/show-selenium-test-results-in-es/192757/2 "2019-08-26T18:18:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
