Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/applitools/example-selenium-java-basic
Applitools Example: Basic Selenium WebDriver in Java
https://github.com/applitools/example-selenium-java-basic
applitools applitools-example applitools-eyes applitools-tutorial execution-cloud java maven selenium selenium-java selenium-webdriver test-automation ultrafast-grid visual-testing
Last synced: about 1 month ago
JSON representation
Applitools Example: Basic Selenium WebDriver in Java
- Host: GitHub
- URL: https://github.com/applitools/example-selenium-java-basic
- Owner: applitools
- License: apache-2.0
- Created: 2022-08-24T01:26:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-12T17:13:19.000Z (about 1 year ago)
- Last Synced: 2024-04-14T04:52:37.732Z (8 months ago)
- Topics: applitools, applitools-example, applitools-eyes, applitools-tutorial, execution-cloud, java, maven, selenium, selenium-java, selenium-webdriver, test-automation, ultrafast-grid, visual-testing
- Language: Java
- Homepage: https://applitools.com/tutorials/quickstart/web/selenium/java/basic
- Size: 44.9 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Applitools Example: Basic Selenium WebDriver in Java
This is the example project for the [Selenium Java Basic tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/basic).
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
* [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).
You can launch the test from your IDE,
or you can run it from the command line with Maven like this:```
mvn exec:exec@run-the-tests -Dexec.classpathScope=test
```**For full instructions on running this project, take our
[Selenium Java Basic tutorial](https://applitools.com/tutorials/quickstart/web/selenium/java/basic)!**