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
- Navigate to Tests: Go to your project's test section
- Click Create Test: Click the "Create New Test" button
- Enter Test Name: Give your test a descriptive name
- Add Description: Explain what the test does
- 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
- Click Add Step: Add a new step to your test
- Select Action: Choose what the step should do
- Configure Details: Set the specific parameters
- Test the Step: Verify it works correctly
- 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
- Select Your Test: Choose the test to update
- Click Edit: Open the test for editing
- Update Information: Change name, description, or settings
- Save Changes: Apply your updates
Modifying Test Steps
- Open Test Steps: View the test's step list
- Edit Step: Click on a step to modify it
- Update Configuration: Change step parameters
- Test Changes: Verify the step still works
- Save Updates: Apply your changes
Adding New Steps
- Insert Step: Add a step at any position
- Configure Step: Set up the new step
- Reorder Steps: Arrange steps in the right order
- Test Integration: Ensure new step works with others
Removing Steps
- Select Step: Choose the step to remove
- Delete Step: Remove it from the test
- Update Order: Adjust remaining step order
- 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