Getting Started
Write your first automated test in minutes. No coding experience required.
Your First Test in 3 Steps
Record. Generate. Run.
Use the Nimbal User Journey Chrome extension to record your actions on any website, then use the Web IDE and Continue AI to generate and run automated tests automatically.
Write Your First Test
- 1
Open the Nimbal Web IDE
Go to tree.nimbal.co.nz and click Java Web IDE in the left sidebar.
tree.nimbal.co.nz/java-ide
- 2
Navigate to the features folder
In the file explorer expand src > test > java > features and open or create a .feature file.
src/test/java/features/myapp.feature
- 3
Write your first scenario
Use Given/When/Then Gherkin syntax to describe what the test should do.
@MyApp Feature: My First Test Scenario: Login successfully Given I open app app.myapp When I fill input login.email with value test@email.com And I fill input login.password with value mypassword And I click element login.signInButton - 4
Add the locator to locators.json
Open locators.json and add the XPath for each element you referenced.
{ "login": { "email": "//*[@id='email']", "password": "//*[@id='password']", "signInButton": "//button[@type='submit']" } } - 5
Run the test
In the terminal navigate to your project and run Maven.
cd /home/project/nimbal-sample-project mvn clean install