Skip to main content

Script development

Test script is a frontend automation script that mocks participant actions using Selenium. It is one of the main factors which determines successful test runs. This script must be written in JavaScript+Nightwatch.js as a function that accepts a single parameter (usually browser or client); Java+TestUI as a public void function or Python+Py-TestUI as a function with name that starts with test, and accepts single parameter named driver. Check the examples below:

client => {
// Nightwatch.js function code goes here

More examples can be found here.