SmoothDeploy Docs
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

  1. Navigate to Tests: Go to your project's test section
  2. Click Create Test: Click the "Create New Test" button
  3. Name Your Test: Give your test a descriptive name
  4. 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

  1. Navigate to Login Page: Go to your login URL
  2. Enter Username: Type in the username field
  3. Enter Password: Type in the password field
  4. Click Login: Click the login button
  5. Verify Success: Check that you're logged in

Adding Steps

  1. Click Add Step: Add a new step to your test
  2. Select Action Type: Choose what the step should do
  3. Configure Details: Set the specific parameters
  4. Test the Step: Make sure it works correctly
  5. 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.