Information about automatic testing

Hey Guys,

I am trying to get automatic tests running in my project. After reading the documentation and a lot of different entries in the forum and the answer hub I am finally able to run tests from the command line and change the resolution of the game.
I still have some trouble to grasp the whole idea behind the all the test functions. So I will try to sum up what I figured out so far and maybe someone here is able to tell me wether I am correct and might be able to point me in the right direction.

So I know that I have to use the macro
IMPLEMENT_SIMPLE_AUTOMATION_TEST( TClass, PrettyName, TFlags )

I now know that TClass is something like the name of my testfunction? Then I have the pretty name under which the tests shows up in the Session Frontend or can be called from command line depending on the test type. With the TFlags I can define which kind of test I have, like an editor or game test for example.

So far so good but then these LatentCommands come to play and I still don’t know how I can access them. There are a lot of usefull commands but I cant use them. I have to copy all the commands I want to use from AutomationCommon.cpp to my own test class. Unfortunately some of the latent commands do not seem to work like the command to wait for an amount of seconds or the command to startFps or stopFps.

Did anyone get them to run. What I want to achieve is, start a game session and then run the game for a certain amount of time and track wether the framerate drops below 30fps. If thats the case I want to start writing a profililer file so I can directly see the next day after the tests run where my bottlenecks are.

Any help appreciated.

Cheers