# Best Practices

**Reusability & Modularity**

* Keep actions modular and reusable
* Use clear and meaningful names for custom actions to improve readability and maintainability
* Add a concise description that clearly explains the purpose of the custom action

**Input & Validation**

* Validate input values before use
* Choose the appropriate scripting language (Python or JavaScript) before saving the custom action

**Execution & Interaction**

* Select the correct element type to ensure accurate interaction during test execution
* Handle exceptions gracefully

**Coding Standards**

* Maintain proper and consistent indentation when writing Python code
* Use Title Case for naming custom actions to follow standard capitalization conventions

**Debugging**

* Log meaningful messages for debugging
