Skip to content

ubegun/Cybercat

Repository files navigation

#Cybercat

The CyberCat project is a framework of test automation. Major goal of this project minimize effort for creation and support UI automation tests on java language. Few features that important for automation testers is:

  • Step by Step video on test processing.
  • detailed execution log for each thread. alt tag
  • Simple & flexible reporting system alt tag alt tag
  • Regime of multithreading tests execution.
  • Flexible Addon container that propose for creation custom components for your business requirement

##Additional extensions

###Addons:

  • slack notification alt tag
  • email notification alt tag
  • performance measuring alt tag

###Supported templates of reports:

  • Apache Velocity report extension
  • FreeMarker report with performance charts

##System Requirements

##Quick start

Eclipse

  • Install required software
  • Install Firefox
  • Install Eclipse with maven & TestNG plugin
  • Run from commant line: git clone https://github.com/ubegun/Cybercat-sample.git
  • Rename project folder
  • edit pom.xml
  • Remove .git from project folder
  • Open Eclipse & import your existing maven project
  • Run SiteExploring.java as TestNG test

Quick Start

  • Run from commant line: git clone https://github.com/ubegun/Cybercat-sample.git
  • Rename project folder
  • edit pom.xml
  • Remove .git from project folder
  • execute: mvn clean compile test-compile antrun:run -X -Dconfig.properties=test.properties -DfailIfNoTests=false -Dconfig.basicArtifactsDir=[CYBER_HOME]
  • execute: ant -f green.xml

##Helpful links https://www.facebook.com/af.cybercat - You can read last news & short notes about current project release

https://twitter.com/CyberCatAF - project timeline

##What features are available in this project?

  • functional feature boxing (BDD process)
  • step-by-step video on tests execution
  • exception screenshots
  • functional steps screenshots
  • summary report on run tests
  • short/detail execution logs
  • any page objects may contain any subpage objects (called page fragments)
  • any feature may contain another feature
  • all functional objects are autowired on runtime
  • Feature version control
  • compatible for running integration tests

##How does the project structure look like?

core 
 | 
 `-> page objects , page fragments , integration services
      |     
      `-> feature steps
            |
            `-> test cases

##Cybercat maven repository configuration:

####pom.xml

...
<repositories>
    <repository>
        <id>Cybercat-mvn-repo</id>
        <url>https://raw.github.com/ubegun/Cybercat/mvn-repo/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>  
...
<dependency>
  <groupId>org.cybercat.autotest</groupId>
  <artifactId>cybercat-automation-core</artifactId>
  <version>1.7.1b.2.48.2</version>
</dependency>
...

License