How can automation testing be used for checking in game things?

Could you clarify what you mean by “can never get it to work”? Does your test compile? Does it show up in the Automation Frontend? If it shows up, does it run but not do what you expect?