The action type WaitForClass will wait for a class name, just like WaitForWindowTitle. A class name is best viewed with Process Monitors, such as Spy++ from Microsoft or Winspector from Gipsysoft.
Below you see a dialog box from Spy++ showing the class name for Lotus Notes: