# Automated Testing

**URL:** <https://discuss.dwolla.com/t/automated-testing/7898>\
**Category:** API Support\
**Created:** [March 11, 2022, 9:33pm UTC](https://discuss.dwolla.com/t/automated-testing/7898 "2022-03-11T21:33:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinyield](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/vinyield/32/3638_2.png) [@Vinyield](https://discuss.dwolla.com/u/Vinyield)\
**Post date:** [March 11, 2022, 9:33pm UTC](https://discuss.dwolla.com/t/automated-testing/7898/1 "2022-03-11T21:33:36Z")

</div>

Continuing the discussion from [Deactivating Suspended Customers in Sandbox](https://discuss.dwolla.com/t/deactivating-suspended-customers-in-sandbox/5415/17):

So I’ve replied to a thread with this questions but was probably buried so I wanted to start a new topic for it. What is everyone doing for automated testing since we can’t delete users on a sandbox?

Email is the limiting factor here, if you can’t delete user you would need to have your script use a different email address every-time you run through regression (If using something like Selenium).

The other option is to create a new sandbox for each run through however that seem rather manual.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Vinyield](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/vinyield/32/3638_2.png) [@Vinyield](https://discuss.dwolla.com/u/Vinyield)\
**Post date:** [April 1, 2022, 6:55pm UTC](https://discuss.dwolla.com/t/automated-testing/7898/2 "2022-04-01T18:55:23Z")

</div>

Is anyone using automated user tests in their environments?

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [April 7, 2022, 9:11pm UTC](https://discuss.dwolla.com/t/automated-testing/7898/3 "2022-04-07T21:11:36Z")

</div>

Hi @Vinyield – this is perhaps not the answer you’re looking for, but if Selenium supports it, one way to get around the unique email validation would be by creating multiple accounts with the same email by using an alias, like so,

[sthapa+test1@dwolla.com](mailto:sthapa+test1@dwolla.com)  
[sthapa+test2@dwolla.com](mailto:sthapa+test2@dwolla.com)  
[sthapa+test3@dwolla.com](mailto:sthapa+test3@dwolla.com)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Vinyield](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/vinyield/32/3638_2.png) [@Vinyield](https://discuss.dwolla.com/u/Vinyield)\
**Post date:** [April 12, 2022, 10:23pm UTC](https://discuss.dwolla.com/t/automated-testing/7898/4 "2022-04-12T22:23:20Z")

</div>

Well, it’s definitely easier than creating a new email address. It’s a possibility.

Is there a way to spin up a new sandbox environment in an automated fashion?

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [April 13, 2022, 1:54pm UTC](https://discuss.dwolla.com/t/automated-testing/7898/5 "2022-04-13T13:54:54Z")

</div>

Hi @Vinyield – there isn’t. It will have to be done through the [Sandbox sign-up flow](https://accounts-sandbox.dwolla.com/sign-up).
