Thanks for posting. CompactTest is a class provided by MaxQ and inheritance generally works as the files below worked OK. I was trying to re-arrange things as newLogin() should be just one of many functions called by Test1. The way the inheritance is setup below seems like the tail wagging the dog especially since at some point I may no longer want to run the logon function.
Thanks again, john #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # File Test1.py # Generated by MaxQ [com.bitmechanic.maxq.generator.CompactGenerator] from newLogon import newLogon class Test1(newLogon): # Recorded test actions. def runTest(self): self.msg('Test started') self.logon # ^^^ Insert new recordings here. (Do not remove this line.) # Code to load and run the test if __name__ == 'main': Test1('Test1').Run() #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # File newLogon.py # Generated by MaxQ [com.bitmechanic.maxq.generator.CompactGenerator] from CompactTest import CompactTest class newLogon(CompactTest): # Recorded test actions. def logon(self): self.msg('Test started') # ^^^ Insert new recordings here. (Do not remove this line.) # Code to load and run the test if __name__ == 'main': newLogon('newLogon').Run() -- http://mail.python.org/mailman/listinfo/python-list