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

I don’t have a specific example of loadmaps right now as I kept deleting the code to compile. Here I have adapted someone elses code I found which should run an FPS check at several locations in the game. I actually can compile this (unlike any of the other attempts I’ve had) but when running the test in editor, it doesn’t appear to do much, just runs the test for a while then passes it, but with no output result (nothing in log even). Here is what I have:

CODE