Show Selenium test results In ES

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>

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