Git Product home page Git Product logo

conconv's Introduction

Task is completed as mentioned in the technical test doc.

Implmented my solution using JVM stack IDE used IntelliJ Jdk source and target version is 1.8 maven 3.5.3 for build tool and dependencies. Testing framework is TestNG I have included chrome driver under resource directory for mac which is the os i was working on and also windows chrome driver (but couldnt test it since dont have windows)

Pakage name is set in the project com.xe.cc which is under the standard maven project structure. Test class itself is under test/java/comex.cc/CurrencyConversion.java which has 5 test cases excluding gdpr notification acceptance. Created a little POM structure with brief introduction of classes. BaseDriver included driver related code. BasePage has all the elements related wraper methods BaseTest is used to intiate all classes and beforesuite and afterclass for avoiding repetable code in individual tests Constants include all static strings and xpaths. HomePage has all wraper methods around basepage to concise test steps Standard testng.xml has mention of only test class.

POM has test profile which executes above testng.xml All dependencies needed for project to run

I tried using test for testng deoendecy but i kept on getting error, i double checked with junit and it works. There are some stackoverflow threads about problem with testng test scope. So for now was not able to use test scope with testng.

Allure has been used for reporting tool and location is mentioned in allure.properties under resources i.e target/allure-results. Tests will appear there after running complete maven build.

How to run maven build.

From project directory /conconv-master mvn test -P test It should run all tests in test class. To see test results in allure (allure needs to be installed) From the project directory /conconv-master cd target allure serve allure-results

conconv's People

Contributors

faran avatar

Watchers

 avatar

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.