Enabling Test Automation in Java
289
stars
112
commits
Java
primary language
Nov 23, 2023
updated
Enabling Test Automation in Java
SeLion builds on top of TestNG and Selenium to provide a set of capabilities that get you up and running with WebDriver in a short time. It can be used for testing web and mobile applications.
Project documentation including prerequisites, compilation, usage, and more is at http://paypal.github.io/SeLion/html/documentation.html
Create a new project using the SeLion maven archetype
mvn archetype:generate -B -DartifactId=Sample -Dversion=1.0.0 -DgroupId=com.mycompany.myproject \
-DarchetypeGroupId=com.paypal.selion -DarchetypeArtifactId=SeLion-Archetype -DarchetypeVersion=1.2.0
Client module (includes SeLion DataProviders)
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion</artifactId>
<version>1.2.0</version>
</dependency>
SeLion-DataProviders only
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-DataProviders</artifactId>
<version>1.2.0</version>
</dependency
SeLion Grid enhancements -- Required for local run support with the Client module
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Grid</artifactId>
<version>1.2.0</version>
</dependency
SeLion Code Generator Maven plugin -- Adds "page object" code generation
<plugin>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Code-Generator</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<basePackage>coo.foo.bar</basePackage>
</configuration>
</plugin>
Run the SeLion Grid as a standalone selenium server
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar
Run the SeLion Grid as a selenium hub
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub
Run the SeLion Grid as a selenium web node
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role node
Run the SeLion Grid as a Selendroid node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.SelendroidJarSpawner
Run the SeLion Grid as an ios-driver node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.IOSDriverJarSpawner
Run the SeLion Grid as an Appium node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.AppiumSpawner
Run the SeLion Grid as a Sauce labs proxy
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub -type sauce
Feel free to ask questions and/or share ideas.
We use GitHub for tracking issues. Please scan the list of GitHub Issues before filing a new one.
Your contribution is welcome and appreciated!
develop branch.gh-pages branch.~/.gitconfig file has your full name with proper use of case as user.name and your real email address as user.email. GitHub has a nice write-up on this.1.2.0 (Selenium 2.53.x based)
2.0.0-SNAPSHOT (Selenium 3.x based)
Code - Apache Software License v2.0
Documentation and Site - Creative Commons Attribution 4.0 International License
45 commits
14 commits
13 commits
11 commits
Java
90.6%
JavaScript
4.4%
HTML
2.5%
CSS
1.5%
Enabling Test Automation in Java
289
stars
112
commits
Java
primary language
Nov 23, 2023
updated
Enabling Test Automation in Java
SeLion builds on top of TestNG and Selenium to provide a set of capabilities that get you up and running with WebDriver in a short time. It can be used for testing web and mobile applications.
Project documentation including prerequisites, compilation, usage, and more is at http://paypal.github.io/SeLion/html/documentation.html
Create a new project using the SeLion maven archetype
mvn archetype:generate -B -DartifactId=Sample -Dversion=1.0.0 -DgroupId=com.mycompany.myproject \
-DarchetypeGroupId=com.paypal.selion -DarchetypeArtifactId=SeLion-Archetype -DarchetypeVersion=1.2.0
Client module (includes SeLion DataProviders)
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion</artifactId>
<version>1.2.0</version>
</dependency>
SeLion-DataProviders only
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-DataProviders</artifactId>
<version>1.2.0</version>
</dependency
SeLion Grid enhancements -- Required for local run support with the Client module
<dependency>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Grid</artifactId>
<version>1.2.0</version>
</dependency
SeLion Code Generator Maven plugin -- Adds "page object" code generation
<plugin>
<groupId>com.paypal.selion</groupId>
<artifactId>SeLion-Code-Generator</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<basePackage>coo.foo.bar</basePackage>
</configuration>
</plugin>
Run the SeLion Grid as a standalone selenium server
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar
Run the SeLion Grid as a selenium hub
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub
Run the SeLion Grid as a selenium web node
java -jar SeLion-Grid-1.2.0-jar-with-dependencies.jar -role node
Run the SeLion Grid as a Selendroid node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.SelendroidJarSpawner
Run the SeLion Grid as an ios-driver node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.IOSDriverJarSpawner
Run the SeLion Grid as an Appium node (beta feature)
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar com.paypal.selion.grid.AppiumSpawner
Run the SeLion Grid as a Sauce labs proxy
java -cp SeLion-Grid-1.2.0-jar-with-dependencies.jar -role hub -type sauce
Feel free to ask questions and/or share ideas.
We use GitHub for tracking issues. Please scan the list of GitHub Issues before filing a new one.
Your contribution is welcome and appreciated!
develop branch.gh-pages branch.~/.gitconfig file has your full name with proper use of case as user.name and your real email address as user.email. GitHub has a nice write-up on this.1.2.0 (Selenium 2.53.x based)
2.0.0-SNAPSHOT (Selenium 3.x based)
Code - Apache Software License v2.0
Documentation and Site - Creative Commons Attribution 4.0 International License
45 commits
14 commits
13 commits
11 commits
Java
90.6%
JavaScript
4.4%
HTML
2.5%
CSS
1.5%