Optimus Template Structure

Optimus Template is structured in the lines of Cucumber as shown below

optimustemplate/
+-- build.gradle
+-- app //Store Application Under Test for Android or Ios platforms.
    +-- hellooptimus.apk
    +-- hellooptimus.app
+-- src/test
    +-- java
    ¦   +-- pages 
    ¦        +-- BasePage.java 
    ¦   +-- steps 
    ¦       +-- BaseSteps.java
    ¦       +-- StartingSteps.java
    ¦   +-- utils 
            +-- OptimusImpl.java
    +-- resources
    ¦   +-- elements
    ¦   ¦  +--HelloOptimus
    ¦   ¦  ¦  +-- Home.elements
    ¦   ¦  ¦  +-- Home.json
    ¦   ¦  +-- HelloOptimus.xlsx
    ¦   +-- features
    ¦   ¦  +-- HelloOptimusCustom.feature
    ¦   ¦  +-- HelloOptimusGeneric.feature
    ¦   +-- META-INF
    ¦   ¦  +-- Optimus.yaml
    +-- HelloOptimusAndroid.json
    +-- HelloOptimusIOS.json

The template comes with few pre-defined classes. You can harness the power of Optimus through them.

BasePage.java: Any page you create can extend BasePage to perform most of the
actions required to test your functionality, without having to reinvent the wheel.
BaseSteps.java: Any Step definition can extend BaseSteps.
StartingSteps.java: For Optimus Template use only.
Tags: