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

Automation

Automation Environment Setup Verification

Overview

It is important to ensure that adequate checks are made while setting up an automation environment at different points to make everything works at the end. Checks are basic verification steps to ensure the tool is installed successfully and would work as expected without any errors.

Let’s see at some basic checks that we can make during an automation environment setup using Java.

JDK

Verify that Java was installed successfully on your machine.

Launch command prompt and issue:

/> java –version

 

IDE

Try running a sample program with a simple class, to check the IDE  say Eclipse workings as expected.

/**
 * Sample class to check Eclipse.
 */

/**
 * @author testingdocs
 *
 */

public class EclipseIDECheck {
     /**
      * @param args
      */

     public static void main(String[] args) {
         // TODO Auto-generated method stub
         System.out.println("Eclipse & Java Setup OK..");
     }
}

 

Run the program as a Java application. You are expected to see the console output

Expected Output:

Eclipse & Java Setup OK..

 

Maven

The same rule of checking the version applies to maven tool as well.

/> mvn –version

 

 

Selenium

Browse Selenium drivers : https://www.selenium.dev/

Download Selenium browser drivers for Chrome, Firefox browsers etc.

Unzip the contents and place the drivers under the automation project folder.

Run a sample test using the drivers.

 

Related Posts

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

Install Extensions for Visual Studio Code

Automation /

Install Extensions for Visual Studio Code

‹ Install Extensions for Visual Studio Code› Error Severity Metrics

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Print Triangle Pattern Flowchart
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version