title: Setup Allure Report for Selenium
body: <p>I am trying to implement the Allure Reporting for my Selenium framework. It does not use any test framework like <code>TestNG</code> or <code>JUnit</code>. Basically I dont need TestNG or Junit for that matter as I handling whole framework getting the data from an excel sheet. </p>
  
  <p>Currently I am executing all the Test steps using Java Reflection. Test Steps are basically simple java methods. I have defined them inside a class - executing them one by one for each Test Case. </p>
  
  <p>Example : </p>
  
  <pre><code>[TC_0001, login, createUser, ModifyUser, deletUser]
            [TC_0002, createUser]
  </code></pre>
  
  <p>Executing each Test Case - TC_0001 by executing each Test Step one by one.</p>
  
  <p>TestCase Id - TC_0001
  Step 1 - createUser
  Step 2 - modifyUser
  Step 3 - deletUser</p>
  
  <p>I have defined these methods in a java class and planning to add @Step annotation for Allure Report. Wondering if this is at all possible.</p>
  
  <p>Example</p>
  
  <pre><code>   @Step
      public void login(String username, String password) {
          //TestSetup.test.log(LogStatus.INFO, "This step shows the Login Function");
          Log.info("Executing the Login method");
      }
  
  ...
  </code></pre>
  
  <p>Looking at the Allure Documentation and report example I am interested to implement it in my framework for Test Reports.</p>
  
  <p>However I am unable to do it. Is these any way I can achieve this without any TestNG or Junit adaptor ? Please refer my pom.xml below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;io.qameta&lt;/groupId&gt;
          &lt;artifactId&gt;opensource-parent&lt;/artifactId&gt;
          &lt;version&gt;1.3&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;artifactId&gt;allure-junit-example&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  
      &lt;properties&gt;
          &lt;allure.version&gt;1.4.23.HOTFIX1&lt;/allure.version&gt;
          &lt;aspectj.version&gt;1.8.9&lt;/aspectj.version&gt;
          &lt;compiler.version&gt;1.7&lt;/compiler.version&gt;
      &lt;/properties&gt;
  
      &lt;name&gt;Allure JUnit Example&lt;/name&gt;
      &lt;description&gt;Allure JUnit and WebDriver Usage Example&lt;/description&gt;
  
      &lt;dependencies&gt;
      &lt;!--  Allure Junit Adaptor --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
              &lt;artifactId&gt;allure-junit-adaptor&lt;/artifactId&gt;
              &lt;version&gt;${allure.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
              &lt;version&gt;3.8-beta4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;version&gt;3.10-FINAL&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/log4j/log4j --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
              &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
              &lt;version&gt;2.53.1&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.19.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;argLine&gt;
                          -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
                      &lt;/argLine&gt;
                      &lt;properties&gt;
                          &lt;property&gt;
                              &lt;name&gt;listener&lt;/name&gt;
                              &lt;value&gt;ru.yandex.qatools.allure.junit.AllureRunListener&lt;/value&gt;
                          &lt;/property&gt;
                      &lt;/properties&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjweaver&lt;/artifactId&gt;
                          &lt;version&gt;${aspectj.version}&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
  
              &lt;!--Needed only to show reports locally. Run jetty:run and
              open localhost:8080 to show the report--&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
                  &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;9.2.10.v20150310&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;webAppSourceDirectory&gt;${project.build.directory}/site/allure-maven-plugin&lt;/webAppSourceDirectory&gt;
                      &lt;stopKey&gt;stop&lt;/stopKey&gt;
                      &lt;stopPort&gt;1234&lt;/stopPort&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;!-- Allure Reporting --&gt;
      &lt;reporting&gt;
          &lt;excludeDefaults&gt;true&lt;/excludeDefaults&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;ru.yandex.qatools.allure&lt;/groupId&gt;
                  &lt;artifactId&gt;allure-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5&lt;/version&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/reporting&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>I did Maven clean install site jetty:run but unable to get the report. I am sure I am missing lot of things and any help on these is appreciated.</p>