Write First Test Case
Run the sente new
command on project directory to generate a new test.
sente new
command on project directory to generate a new test.sente new
Generate a new test by following the instructions below:

1) Enter Test Name

2) Select Test Type
Select backend

3) Multiple Sections
Select No

4) Test file generated


In the "Select Test Type" section, there are two options: "web-gui" and "backend". The only difference between the two is that when you choose web-gui, a driver object is generated and a browser is automatically launched.
Edit and Run Test File
Open the test file with your preferred code editor.
Make the necessary edits to update or improve the test cases.
Save your changes.
To run the test, use the command
sente ./tests/sample1.js

Last updated