Git Product home page Git Product logo

fushinoryuu / seleniumautomationtoolbox Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 4.0 2.69 MB

This is the skeleton code to starting Selenium automation for a site. The skeleton uses oneexchange.com, but it can be easily updated to something else.

License: MIT License

C# 40.54% Batchfile 0.08% PowerShell 1.57% ASP 0.03% JavaScript 57.60% CSS 0.18%
selenium selenium-hub selenium-node csharp visual-studio reactjs

seleniumautomationtoolbox's Introduction

Automated UI Testing

This is the skeleton code to starting Selenium automation for a site. The skeleton uses OneExchange.com, but it can be easily updated to something else.

This repo also includes:

  • Cake scripts to automate the building of the project and running the tests.
  • NPM scripts to more easily:
    • Start a local Selenium Hub/Node: npm run hub or npm run node
    • Run the Cake scripts: npm run build or npm run tests
    • See descriptions in the console of what you can can do: npm run help
  • A simple GUI that allows the user to add/update the test settings. More on this below.

Note: If you are planning on using the GUI in this project to edit/update your test settings, you have to save it to the root of your C: drive. If you are not going to use the GUI, then feel free to save the project wherever you like.

All documentation for the project can be found in the Wiki section of the project, and goes into detail on how to run the project/tests.

seleniumautomationtoolbox's People

Contributors

fushinoryuu avatar

Watchers

 avatar  avatar

seleniumautomationtoolbox's Issues

Create the 'TestResults' page

The TestResults page has to have the following functionality:

  • Display a table with all the saved test results in the database
  • Import new test results into the database
  • Display a success/failure message to show the result of importing new results
  • If the new imported test results have at least 1 failing tests, the row should have a red background
  • If the new imported test results have at least 1 inconclusive tests, the row should have a yellow background
  • Be able to delete test results from the table and have it update the database

Front end needs to be written in ReactJS.

Clean up the root directory.

Right now there are a lot of floating files in the root directory. They need to be placed in corresponding folders.

Display available options for settings as drop down from valid entries.

Right now the user has to type in values when setting up a new test setting.

The user should be shown drop down lists where appropriate to set up new settings.

In order to avoid duplicate groups, there should be some "validation" to make sure no duplicate groups are being created.

Create the 'TestCases' page

The TestCases page has to have the following functionality:

  • The home page should display a table with all the saved test suites in the database
  • Buttons on each row of suites to see details of suite or delete suite
  • The details page should display a table with all the saved test cases belonging to that suite in the database
  • Button on each row of cases to delete an individual test case
  • Import new test suites and test cases if they are in the correct format
  • If you try to delete a suite, you should see a page asking for confirmation before deleting the suite and all associated test cases
  • If you try to delete a case, you should see a page asking for confirmation before deleting the individual case

Front end needs to be written in ReactJS.

Store screenshots in db

Find a way to store any screenshots of failing tests to be stored in the db. In the future, these will be displayed along the results in the web app.

Create the 'Settings' page

The Settings page has to have the following functionality:

  • Display a table with all the saved configurations in the database
  • Add a new configuration
  • Generate a new configuration file for the UI Tests
  • Kickoff the automated tests
  • Stop the automated tests

Front end needs to be written in ReactJS.

Map test results to test cases

Right now, there is no way to know which test cases were ran in any given test run.

Using the test cases that have been imported into the db, find a way to map the test cases and show which tests were included in each run.

Delete test suites and test cases

Right now the user will get an error if they try to delete a test suite or a test case.

This should not happen, the user should be able to delete either one.

Delete .Net Framework version of the project

For now there are two projects in the repo: a version that runs on .Net Framework and the other that runs on .Net Core.

Once the .Net Core version has all the same features as the .Net Framework version does, it will be safe to delete.

This ticket depends on the following before this one can be completed:

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.