SmoothDeploy Docs
Tests

Create and Update Tests

Create new tests and update existing ones

Learn how to create new tests and update existing ones in SmoothDeploy.

Creating New Tests

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. Enter Test Name: Give your test a descriptive name
  4. Add Description: Explain what the test does
  5. Start Building: Begin adding steps to your test

Test Information

  • Test Name: Clear, descriptive name
  • Description: What the test validates
  • Test Type: UI or API test
  • Tags: Categorize your test
  • Active Status: Enable or disable the test

Adding Test Steps

Step Types Available

  • Navigation: Go to pages, refresh, go back
  • Interaction: Click, type, select, upload
  • Validation: Check text, verify elements, assert conditions
  • Utility: Wait, screenshot, scroll

Adding Steps to Your Test

  1. Click Add Step: Add a new step to your test
  2. Select Action: Choose what the step should do
  3. Configure Details: Set the specific parameters
  4. Test the Step: Verify it works correctly
  5. Save the Step: Add it to your test

Step Configuration

  • Action Type: What the step does
  • Target Element: What to interact with
  • Input Data: Text to type or values to select
  • Wait Conditions: When to proceed
  • Error Handling: What to do if it fails

Updating Existing Tests

Editing Test Information

  1. Select Your Test: Choose the test to update
  2. Click Edit: Open the test for editing
  3. Update Information: Change name, description, or settings
  4. Save Changes: Apply your updates

Modifying Test Steps

  1. Open Test Steps: View the test's step list
  2. Edit Step: Click on a step to modify it
  3. Update Configuration: Change step parameters
  4. Test Changes: Verify the step still works
  5. Save Updates: Apply your changes

Adding New Steps

  1. Insert Step: Add a step at any position
  2. Configure Step: Set up the new step
  3. Reorder Steps: Arrange steps in the right order
  4. Test Integration: Ensure new step works with others

Removing Steps

  1. Select Step: Choose the step to remove
  2. Delete Step: Remove it from the test
  3. Update Order: Adjust remaining step order
  4. Test Impact: Verify test still works correctly

Test Organization

Organizing Your Tests

  • Test Folders: Group related tests together
  • Naming Convention: Use consistent naming patterns
  • Tags: Categorize tests for easy finding
  • Descriptions: Document test purpose clearly

Test Status Management

  • Active Tests: Tests that can be executed
  • Inactive Tests: Disabled tests that won't run
  • Archived Tests: Old tests moved to archive
  • Draft Tests: Tests still being developed

Best Practices

Test Design

  • Single Purpose: Each test should validate one thing
  • Clear Steps: Make each step obvious and necessary
  • Realistic Data: Use realistic test data
  • Error Scenarios: Include error handling

Maintenance

  • Regular Review: Periodically review and update tests
  • Version Control: Track changes to your tests
  • Documentation: Keep test descriptions current
  • Team Collaboration: Share knowledge with your team

Quality Assurance

  • Test Your Tests: Verify tests work correctly
  • Consistent Results: Ensure tests run reliably
  • Clear Failures: Make failures easy to understand
  • Quick Feedback: Get results as fast as possible