Skip to content

Script executor and E2E testing support framework written in Java and JS

License

Notifications You must be signed in to change notification settings

szcn/jsexecutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache License, Version 2.0, January 2004 Maven Central Latest release Build Status

JavascriptExecutor is an open-source tool for testing web and responsive functionality. It is also a functional testing framework.

For Java Projects

  • It enables to write and execute your scenarios and helper methods in js file.
  • It enables to model your scripts in your Java classes. (PSM)

For more information visit http://jsexecutor.com.

Sample Usage

Please refer to examples.

Running Against Chrome Browser

In order to be able to run JavascriptExecutor against the Chrome Browser, you need to download the ChromDriver.

Building

Prerequisites

Maven

Add the following dependency in your Pom.xml file to use JavascriptExecutor with Maven:

<dependency>
  <groupId>com.jsexecutor</groupId>
  <artifactId>jsexecutor-core</artifactId>
  <version>1.0.8</version>
</dependency>

Gradle Groovy

Add the following to use JavascriptExecutor with Gradle Groovy:

implementation 'com.jsexecutor:jsexecutor-core:1.0.8'

Gradle Kotlin

Add the following to use JavascriptExecutor with Gradle Groovy:

implementation("com.jsexecutor:jsexecutor-core:1.0.8")

All releases are available at Maven Central Repository.

Testing

Project can be tested by the following maven command:

mvn clean test.

Contribution

Contributions are always welcomed!

Please read the contribution guidelines.

License

Javascript Executor Framework is licensed under Apache License, Version 2.0.