SmoothDeploy Docs
Tests

Run Tests Locally

Execute tests on your local machine

Execute your tests on your local machine for immediate feedback and debugging.

Running a Single Test

Basic Execution

  1. Select Your Test: Choose the test you want to run
  2. Click Run: Start the test execution
  3. Watch Progress: Monitor the test as it runs
  4. View Results: See the execution results

Execution Process

  • Step-by-Step: Each step runs in sequence
  • Real-time Updates: See progress as it happens
  • Visual Feedback: Watch the browser perform actions
  • Immediate Results: Get results right away

Running Multiple Tests

Batch Execution

  1. Select Tests: Choose multiple tests to run
  2. Start Execution: Begin running all selected tests
  3. Monitor Progress: Watch all tests execute
  4. Review Results: See results for all tests

Execution Options

  • Sequential: Run tests one after another
  • Parallel: Run multiple tests simultaneously
  • Priority: Run important tests first
  • Scheduling: Set up automatic execution

Local Execution Benefits

Immediate Feedback

  • Fast Results: Get results quickly
  • Easy Debugging: Identify issues immediately
  • Interactive: Watch tests run in real-time
  • Control: Full control over execution

Development Workflow

  • Quick Iteration: Test changes immediately
  • Debug Capabilities: Step through problems
  • Resource Control: Use your own computer
  • Offline Testing: Test without internet

Understanding Results

Test Status

  • Passed: All steps completed successfully
  • Failed: One or more steps failed
  • Skipped: Test was not executed
  • Running: Test is currently executing

Result Details

  • Execution Time: How long the test took
  • Step Results: Individual step outcomes
  • Screenshots: Visual record of each step
  • Error Messages: Details about any failures

Performance Metrics

  • Speed: How fast the test ran
  • Resource Usage: Computer resources used
  • Network Activity: Internet usage during test
  • Browser Performance: Browser efficiency

Troubleshooting Local Execution

Common Issues

  • Browser Problems: Browser not starting or crashing
  • Element Not Found: Page elements not located
  • Timeout Errors: Steps taking too long
  • Network Issues: Internet connection problems

Debugging Steps

  1. Check Browser: Ensure browser is working
  2. Verify Elements: Check if page elements exist
  3. Review Logs: Look at detailed execution logs
  4. Test Manually: Try the actions manually
  5. Check Network: Verify internet connection

Getting Help

  • Execution Logs: Review detailed step logs
  • Error Messages: Read error descriptions
  • Step Debugging: Test individual steps
  • Team Support: Ask team members for help

Best Practices

Execution Strategy

  • Start Simple: Begin with basic tests
  • Build Gradually: Add complexity over time
  • Test Regularly: Run tests frequently
  • Monitor Performance: Watch for speed issues

Environment Setup

  • Consistent Environment: Use same settings each time
  • Clean State: Start with fresh browser state
  • Stable Network: Ensure reliable internet
  • Resource Management: Don't overload your computer

Result Analysis

  • Review Failures: Understand why tests fail
  • Track Performance: Monitor execution speed
  • Update Tests: Keep tests current
  • Share Knowledge: Learn from team members