Step Samples


License

License

Categories

Categories

KeY Data Data Formats Formal Verification
GroupId

GroupId

ch.exense.step.examples
ArtifactId

ArtifactId

demo-selenium-keyword
Last Version

Last Version

3.13.0
Release Date

Release Date

Type

Type

jar
Description

Description

Step Samples
Step Samples
Project URL

Project URL

http://exense.ch/
Source Code Management

Source Code Management

https://github.com/exense/step-samples/

Download demo-selenium-keyword

How to add to project

<!-- https://jarcasting.com/artifacts/ch.exense.step.examples/demo-selenium-keyword/ -->
<dependency>
    <groupId>ch.exense.step.examples</groupId>
    <artifactId>demo-selenium-keyword</artifactId>
    <version>3.13.0</version>
</dependency>
// https://jarcasting.com/artifacts/ch.exense.step.examples/demo-selenium-keyword/
implementation 'ch.exense.step.examples:demo-selenium-keyword:3.13.0'
// https://jarcasting.com/artifacts/ch.exense.step.examples/demo-selenium-keyword/
implementation ("ch.exense.step.examples:demo-selenium-keyword:3.13.0")
'ch.exense.step.examples:demo-selenium-keyword:jar:3.13.0'
<dependency org="ch.exense.step.examples" name="demo-selenium-keyword" rev="3.13.0">
  <artifact name="demo-selenium-keyword" type="jar" />
</dependency>
@Grapes(
@Grab(group='ch.exense.step.examples', module='demo-selenium-keyword', version='3.13.0')
)
libraryDependencies += "ch.exense.step.examples" % "demo-selenium-keyword" % "3.13.0"
[ch.exense.step.examples/demo-selenium-keyword "3.13.0"]

Dependencies

provided (1)

Group / Artifact Type Version
ch.exense.step : step-api-keyword jar 1.1.3

Project Modules

There are no modules declared in this project.

step-samples

Sample projects for STEP

Prerequisites

  • Maven is installed
  • JDK 8 is installed
  • Using a Java IDE is recommended (for instance Eclipse)
  • Chrome is installed

Overview

This repo contains two maven projects showcasing the basic capability of step's Keyword API.

The project demo-java-keyword contains a keyword class and package as well as a JUnit test class allowing you to understand how the java dependency and API work.

The project demo-selenium-keyword has similar content as the first project but this time, extended dependencies will allow the use of the chrome WebDriver and the corresponding JUnit test class will trigger a basic Selenium workflow.

Goal

The purpose of this repo, once you've familiarized yourself with the project's contents, is to help you package and deploy the keywords onto a STEP platform. For a local installation, just download the latest release and follow our installation guidelines.

ALternatively, if you're not interested in experimenting with a local instance and are not planing on running step on premise, you could skip this step and just contact us through our company contact form to request a cloud cluster directly. In that scenario, step is offered as a SaaS application and you don't have to worry about any operational aspects such as infrastructure, installation, upgrades or housekeeping.

Project setup

Ideally using an IDE like Eclipse, and after cloning this repo and checking the prerequisites from above, you can start by just running the two JUnit classes. JavaKeywordExampleTest will make use of keyword methods defined in JavaKeywordExample and SeleniumKeywordExampleTest will make use of keyword methods defined in SeleniumKeywordExampleTest.

Packaging

Just run maven's package goal against the pom files of both projects. In addition to also executing the JUnit tests, two jar files containing the keyword classes will be built as a result: demo-java-keyword-0.0.1-SNAPSHOT.jar demo-selenium-keyword-0.0.1-SNAPSHOT-shaded.jar which you'll find in their corresponding project output folders.

Deployment

Deployment onto either a local step instance or a cloud instance can then ensue. Please follow the recommendations from our official documentation.

Help

For support, please check out our official support page or contact form.

ch.exense.step.examples

exense

Versions

Version
3.13.0
1.1.5
1.1.3