Skip to content

moolyatesting/Test-Automation-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

/***************************************************************

* Tool Creators : Yagnesh Shah, Neeraj Lad, Adil Imroz

* Organization  : Moolya Software Testing Pvt Ltd

* website            : http://moolya.com/

* Licence             : MIT

* contact             : yagnesh@moolya.com

***************************************************************/

About the software :

Background:

Automating a large product comprising of many small features & sub products is a journey of diverse challenges. Reporting has always been one such challenge for everyone.

  • Here are some sample reports:
  • We knew that TestNG, Ant, Maven reports would not serve our needs entirely, as they are limited to the scripts or individual suite we execute currently.
  • What happens if our business heads need information on the entire product containing hundreds of scripts and multiple(N) suites? For them, the current suite result information is of no use to make decisions. They need info on entire automation results rather than individual suite reports.
  • They need a quick way of making decisions like looking at pie-chart for the results of hundreds of scripts.

Challenge:

We needed a reporting solution which could report everything automatically & displays the information on dashboard.

Solution:

We made our own 'Test Automation Dashboard' tool which basically solves following two problems for our customers:

  1. Retains 'Test execution History' for all suites.
    1. View results by date
    2. View results by period
  2. Reflects 'Test Execution Results' on a real-time basis for each suites.
  3. Hence, allowing our business heads to view information on real-time basis instead of waiting for 3-4 hours until all suites are executed.

Screenshots:

Feature 1a:  View results by date
Feature 1b: View results by period
Feature 2: Reflects 'Test Execution Results' on a real-time basis for each suites

Pre-requisites:

  1. Input folder for Tool:
  2. The tool works by reading all reports from a specific directory on local system
    Example:  E:\SampleReport\QA\ testngReports

    <li>Report Type within Input folder :: TestNg Report format only</li>
    

    Tool extracts necessary content from "TestNg" report type only.
    Follow this reference guide to create "TestNg" reports as per "Date & Time Stamp + Suite Name" directory format for for each suite we execute: Build.xml for Selenium Webdriver + Ant + TestNg + XSLT

  3. Allow opening file:// links on pages loaded by http(s):// scheme:: Local Links (Chrome Addon)

Configurations + How to run:

  1. Install Apache-tomcat-7.0.55 server
  2. Copy-paste our 'TestAutomationDashboard_v1.0.war' into 'Webapps' directory within tomcat.
  3. Example: C:\apache-tomcat-7.0.55\webapps

  4. Start tomcat server by executing ' bat' file from 'C:\apache-tomcat-7.0.55\bin'. This action wil deploy the war file & create a directory for 'TestAutomationDashboard_v1.0'
  5. Edit 'config.xml' from 'C:\apache-tomcat-7.0.55\webapps\TestAutomationDashboard_v1.0' directory to configure "input directory" for the tool:
    1. Configure total domains for 'Test Automation Dashboard" website:
    2. Within 'Sidebar' tag, by default there are 3 tags 'Links'. Each of them specifies a domain name for which we use to execute our test suites. The same domain name would be reflected in the Tool website.
      We can add/remove a 'Links' tag in this file. On refreshing the tool website, the same would be reflected.
      Example: Add a QA domain within website:
      <Links>
      <Name>QA</Name>
      <URL>E:\projectName\QA\testngReports</URL>
      </Links>

      <li><b>Configure the TestNg report folder for 'Test Automation Dashboard' tool input:</b></li>
      <p>Configure the local system address where your TestNg reports are being generated for each test suite:<br>
      Example: Configuring QA domain, TestNg report directory for tool input:<br>
      &lt;Links&gt;<br>
      &lt;Name&gt;QA&lt;/Name&gt;<br>
      &lt;URL&gt;E:\projectName\QA\testngReports&lt;/URL&gt;<br>
      &lt;/Links&gt;<br>
      </p>
      
    <li>Open Chrome browser and open following URL:</li>
    <p>http://localhost:8080/TestAutomationDashboard_v1.0/login.jsp</p>
    
    <li>Username: moolya / Password: moolya123</li>
    <p>Done :) You should be good to play around with the tool &amp; it's features now.</p>
    

Limitations of the software:

Version1.0 of 'Test Automation Dashboard' tool has following limitations:
"Test Automation Dashboard_v1.0" is aimed to provide dashboard information with regards to only:

  1. View results by date
  2. View results by period
  3. Test Execution Status: Real-time test suite execution status
  4. Note: On refreshing the 'Test Execution Status' tab, it would automatically display all test suite execution status which has been executed so far. It does not tell you how many more test suites are pending to execute yet.

About

A website tool which assists in reflecting dashboard information of Test Automation results for Selenium Webdriver and TestNg report type

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published