Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/applitools/example-selenium-java-junit
Applitools Example: Selenium in Java with JUnit
https://github.com/applitools/example-selenium-java-junit
applitools applitools-example applitools-eyes applitools-tutorial execution-cloud java junit maven selenium selenium-java selenium-webdriver test-automation ultrafast-grid visual-testing
Last synced: about 4 hours ago
JSON representation
Applitools Example: Selenium in Java with JUnit
- Host: GitHub
- URL: https://github.com/applitools/example-selenium-java-junit
- Owner: applitools
- License: apache-2.0
- Created: 2019-03-26T23:36:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T18:57:50.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:52:37.946Z (7 months ago)
- Topics: applitools, applitools-example, applitools-eyes, applitools-tutorial, execution-cloud, java, junit, maven, selenium, selenium-java, selenium-webdriver, test-automation, ultrafast-grid, visual-testing
- Language: Java
- Homepage: https://applitools.com/tutorials/quickstart/web/selenium/java/junit
- Size: 144 KB
- Stars: 8
- Watchers: 10
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Applitools Example: Selenium in Java with JUnit
This is the example project for the [Selenium Java JUnit tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/junit).
It shows how to start automating visual tests
with [Applitools Eyes](https://applitools.com/platform/eyes/)
and [Selenium WebDriver](https://www.selenium.dev/) in Java.It uses:
* [Java](https://www.java.com/) as the programming language
* [Selenium WebDriver](https://www.selenium.dev/) for browser automation
* [Google Chrome](https://www.google.com/chrome/downloads/) as the local browser for testing
* [Apache Maven](https://maven.apache.org/index.html) for dependency management
* [JUnit 5](https://junit.org/junit5/) as the core test framework
* [Applitools Eyes](https://applitools.com/platform/eyes/) for visual testingIt can also run tests with:
* [Applitools Ultrafast Grid](https://applitools.com/platform/ultrafast-grid/) for cross-browser execution
* [Applitools Execution Cloud](https://applitools.com/platform/execution-cloud/) for self-healing remote WebDriver sessionsTo run this example project, you'll need:
1. An [Applitools account](https://auth.applitools.com/users/register), which you can register for free.
2. The [Java Development Kit (JDK)](https://www.oracle.com/java/technologies/downloads/), version 8 or higher.
3. A good Java editor, such as [JetBrains IntelliJ IDEA](https://www.jetbrains.com/idea/).
4. [Apache Maven](https://maven.apache.org/download.cgi) (typically bundled with IDEs).
5. An up-to-date version of [Google Chrome](https://www.google.com/chrome/downloads/).
6. A corresponding version of [ChromeDriver](https://chromedriver.chromium.org/downloads).The main test case is [`AcmeBankTests.java`](src/test/java/com/applitools/example/AcmeBankTests.java).
By default, the project will run tests with Ultrafast Grid but not Execution Cloud.
You can change these settings in the test class.To execute tests, set the `APPLITOOLS_API_KEY` environment variable
to your [account's API key](https://applitools.com/tutorials/guides/getting-started/registering-an-account),
and then run:```
mvn test
```**For full instructions on running this project, take our
[Selenium Java JUnit tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/junit)!**