Installation Requirements

Here, we'll be installing all the prerequisites you need to get started with test automation in Selenium JavaScript through TestModeller.io.

  1. Create a free TestModeller.io account

  2. Install node.js‚Äč

  3. Install ChromeDriver (this needs to match the version of chrome you will be executing your tests on) and make sure you add it to your system PATH.

  4. Download our example Selenium JavaScript project (if you don't have your own).

    • You can download the framework from out GitHub repo here.

Run Framework

The framework and associated tests can be executed in the framework through the command line.

  1. Run npm install in the directory where it was cloned.

  2. To execute the tests, run npm test in the root directory.

Integrate Generated Assets

Generated assets from the TestModeller.io Scanner, and Code Generators just need to be copied into the right directories.

  1. Place the PageObject files generated by TestModeller.io into the pages directory.

  2. Place the TestCase files generated by TestModeller.io into the tests directory.