Getting Started
Your First Test
Five-minute quickstart to build your first automated test in SmoothDeploy
Build your first automated test in five minutes. This quickstart walks through a single login scenario end to end. For the full catalogue of step types, conditions, parameters, and advanced patterns, see the Test Creation Reference.
Creating a New Test
Basic Test Creation
- Navigate to Tests: Go to your project's test section
- Click Create Test: Click the "Create New Test" button
- Name Your Test: Give your test a descriptive name
- Add Steps: Build your test step by step
Test Steps
Tests are made up of individual steps that perform specific actions:
Navigation Steps:
- Go to a specific page
- Navigate back or forward
- Refresh the page
Interaction Steps:
- Click buttons or links
- Type in form fields
- Select from dropdowns
- Upload files
Validation Steps:
- Check if text appears
- Verify elements are present
- Confirm page changes
Step-by-Step Example
Login Test Example
- Navigate to Login Page: Go to your login URL
- Enter Username: Type in the username field
- Enter Password: Type in the password field
- Click Login: Click the login button
- Verify Success: Check that you're logged in
Adding Steps
- Click Add Step: Add a new step to your test
- Select Action Type: Choose what the step should do
- Configure Details: Set the specific parameters
- Test the Step: Make sure it works correctly
- Save the Step: Add it to your test
Test Organization
Naming Your Tests
- Use descriptive names
- Include the feature being tested
- Add the test scenario
- Example: "User Login with Valid Credentials"
Test Descriptions
- Explain what the test does
- Note any special requirements
- Include test data needed
- Document expected results
Best Practices
Test Design
- One Test, One Scenario: Test one thing at a time
- Clear Steps: Make each step obvious
- Realistic Data: Use realistic test data
- Error Handling: Include error scenarios
Organization
- Logical Names: Use clear, descriptive names
- Group Related Tests: Organize by feature
- Document Purpose: Explain what each test does
- Regular Review: Keep tests up to date
Next Steps
Once you've created your test, learn about Test Execution to run it.