# Spawning a window and widget in SIMPLE\_AUTOMATION\_TEST

**URL:** <https://forums.unrealengine.com/t/spawning-a-window-and-widget-in-simple-automation-test/791753>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [March 16, 2023, 1:24am UTC](https://forums.unrealengine.com/t/spawning-a-window-and-widget-in-simple-automation-test/791753 "2023-03-16T01:24:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sgoncharriot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgoncharriot/32/88714_2.png) [@sgoncharriot](https://forums.unrealengine.com/u/sgoncharriot)\
**Post date:** [March 17, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/spawning-a-window-and-widget-in-simple-automation-test/791753/2 "2023-03-17T16:13:07Z")

</div>

Update: got the stuff loading via `AutomationOpenMap` skipping all the window creation and anything to do with slate.

Unfortunately I now hit automation driver locking up the editor like here:

> [@Automation driver sequence played in an automation test freezes the engine when garbage collecting](https://forums.unrealengine.com/t/automation-driver-sequence-played-in-an-automation-test-freezes-the-engine-when-garbage-collecting/787858):
>
> I’m struggling with setting up an automation test using the automation framework with latent commands that uses the automation driver to simulate input. The test is supposed to go like this Spawn in enemy actor X Shoot with weapon and check if damage has been dealt Repeat with next enemy actor until all are checked This works fine for around 30 seconds, but then the engine will completely freeze with no error or nothing, I have to quit it manually. I know it probably has something do with ga…

---

_[View the full topic](https://forums.unrealengine.com/t/spawning-a-window-and-widget-in-simple-automation-test/791753)._
