TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Automation

    Java Automation Environment Setup

    Introduction

    In this tutorial, we will learn how to install and setup java automation environment and run the tests using Selenium, Appium for mobile automation. Many automation projects might need customs setup, tools and services. This tutorial will give you an overview of general tools and setup required for a typical java functional automation project.

    Install links are provided for most of the tools and how to set them up. The operating system platform is Windows 10.

     

    Java JDK

    Java JDK is the most important component. It the base requirement for the automation project and for many tools and libraries to run. Link to setup Java JDK is:  Install JDK

    IDE’s

    Setting up Integrated Development environment like Eclipse, IntelliJ, NetBeans. Provided are the links for three most used IDE’s. However, installing any one of the IDE’s is fine. You would find many benefits using an IDE for developing automation scripts or coding the automation framework.

    Links to setup various IDE’s are as follows. Pick your favorite IDE and setup.

    Eclipse

    IntelliJ IDEA

    NetBeans

    Environment variables

    Setting up environment variables and adding to the PATH variable. Some of the examples are JAVA_HOME, ANDROID_HOME, MAVEN_HOME etc

    IDE plugins like TesnNG, JBehave Etc.

    Build Tool

    This is optional as many IDE’s bundle the build tool maven or gradle. But, it’s nice to have a standalone tool setup in your automation workspace machine.

    Link to setup Maven

    Git

    This tool is a distributed version control. Git bash is a command line tool that allows you to work with remote repositories hosted on GitHub. You can clone, push and pull changes etc. This setup is useful when you work in an automation team.

    Link

     

    Jenkins

    Jenkins is a continuous integration server. It is used to setup testing environment to run unattended automation tests.

    Install Jenkins

     

    Selenium WebDriver drivers for various browsers and devices.

    All supported drivers, tools, plugins can be found at the following url:

    https://www.seleniumhq.org/download/

    Mobile Automation Setup

    Android SDK

    Appium

    In addition to this you may require project specific setups like database, installing certificates, servers etc. Mostly, we have covered open source tools in this tutorial.

    Related Posts

    Automation /

    Dart return Statement

    Emma Tool

    Automation /

    Code Coverage Tools

    Selenium 4 Automation Project

    Automation /

    Selenium 4 Project Setup on Ubuntu Linux

    Testing webpage mobile-friendliness using a tool

    Automation /

    Testing webpage mobile-friendliness using a tool

    Errors Code Testing Development

    Automation /

    Error Severity Metrics

    ‹ Network Security Audit Tools› Java Collection Framework

    Recent Posts

    • Running Tests in Parallel with Selenium Grid
    • Advanced Selenium Features
    • Locating Web Elements
    • Running the Test Script
    • Writing Your First Selenium Test Script
    • Getting Started with Selenium Automation Testing
    • Setting Up the Environment
    • How can you monitor the Quality Assurance Audit?
    • Leveraging LambdaTest with Appium 2.0
    • Appium 2.0 Plugins ListAppium 2.0 Plugins
    • Touch Actions and Multi-Touch Actions
    • Changes in Drivers and Classes
    • Appium Inspector
    • Capabilities in Appium 2.0
    • Appium 2.0 Driver ListAppium 2.0 Driver Installation & Management
    CyberLink Multimedia Software

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com