Giter Site home page Giter Site logo

charles_first_java_test_script's Introduction

Charles' first Java script for testing

Description

This was one of my projects maintained while I was in Planit bootcamp training. Due to the very limited number in Planit Git, I have to move it here.

I can use this script as a template for all my automation test script in Java.

Before running

Make sure Maven is correctly downloaded and configured before we run the scripts

  • First we need to set the path for Java JDK and Maven in system variables;
    • Click here to find more details
  • Then we need to go to the directory that contains our pom.xml file and Run mvn install;
    • Click here to find more details

Important update notes on 2019/08/16

Update the "groupId" and the "artifactId" in "pom.xml" file, as incorrect value for those XML elements will lead to failure.

Click here to find more about POM.

Important notification on 2020/09/16

One major drawback of this design is that it can only run in windows, as I use a webdriver that is only compatible with browsers in windows. Same drawback also exists in the design of "DemoWorkShopTestScript" and "JUnit-Cucumber-Demo".

Important update notes on 2020/09/17

Another major drawback of this design is that I need to manually update the webdriver file whenever my browser is updated to a new version.

Important update notes on 2020/09/18

Important TODO: the use of "this" seems to be wrong in my "HomePage.java" and "LoginPage.java". I need to fix it when I have time.

Other useful sites

  • Click here to find more about JUnit 5
  • Click here to find more about Vim Keyboard Shortcuts Cheatsheet
  • Click here to find more about Markdown syntax
  • Click here to find more about more about .gitkeep file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.