Package test_suite :: Package gui_tests :: Module base_classes :: Class GuiTestCase
[hide private]
[frames] | no frames]

Class GuiTestCase

source code

Known Subclasses:

The GUI test base class.

Instance Methods [hide private]
 
__init__(self, methodName=None)
Set up the test case class for the system tests.
source code
 
_execute_uf(self, *args, **kargs)
Execute the given user function.
source code
 
check_exceptions(self)
Check that no exception has occurred.
source code
 
clean_up_windows(self)
Kill all windows.
source code
 
new_analysis_wizard(self, analysis_type=None, analysis_name=None, pipe_name=None, pipe_bundle=None)
Simulate the new analysis wizard, and return the analysis page.
source code
 
script_exec(self, script)
Execute a GUI script within the GUI test framework.
source code
 
setUp(self)
Set up for all the functional tests.
source code
 
tearDown(self)
Default tearDown operation - delete temp directories and files and reset relax.
source code
Method Details [hide private]

_execute_uf(self, *args, **kargs)

source code 

Execute the given user function.

Parameters:
  • uf_name (str) - The name of the user function.

new_analysis_wizard(self, analysis_type=None, analysis_name=None, pipe_name=None, pipe_bundle=None)

source code 

Simulate the new analysis wizard, and return the analysis page.

Parameters:
  • analysis_type (str) - The type of the analysis to use in the first wizard page.
  • analysis_name (str) - The name of the analysis to use in the first wizard page.
  • pipe_name (None or str) - The name of the data pipe to create, if different from the default.
  • pipe_bundle (None or str) - The name of the data pipe bundle to create, if different from the default.

script_exec(self, script)

source code 

Execute a GUI script within the GUI test framework.

Parameters:
  • script (str) - The full path of the script to execute.