Пример #1
0
 def __init__(self,methodname='runTest'):
     monoTestCase.__init__(self,methodname)
     self.verificationErrors = []
     self.canRun = True # This value is deprecated
     checkOption(mono.base_url,'base_url')
     checkOption(mono.rc_server,'rc_server')
     checkOption(mono.rc_port,'rc_port')
     checkOption(mono.rc_browser,'rc_browser')
Пример #2
0
 def __init__(self,methodname='test'):
     seleniumTestCase.__init__(self,methodname)
     self.usexsp2 = mono.usexsp2
     self.usexsp4 = mono.usexsp4
     if self.usexsp4:
         checkOption(mono.xsp4_port,'xsp4_port')
         self.port = mono.xsp4_port
         self.testcaseid = self.xsp4TestCaseId
     elif self.usexsp2:
         checkOption(mono.xsp2_port,'xsp2_port')
         self.port = mono.xsp2_port
         self.testcaseid = self.xsp2TestCaseId
     else:
         checkOption(mono.xsp1_port,'xsp1_port')
         self.port = mono.xsp1_port
         self.testcaseid = self.xsp1TestCaseId
Пример #3
0
 def __init__(self,methodname='test'):
     seleniumTestCase.__init__(self,methodname)
     checkOption(mono.xsp2_port,'xsp2_port')
     self.port = mono.xsp2_port
Пример #4
0
 def __init__(self,methodname='test'):
     seleniumTestCase.__init__(self,methodname)
     checkOption(mono.graffiti_port,'graffiti_port')
     self.port = mono.graffiti_port
     self.testcaseid = self.graffitiTestCaseId
Пример #5
0
    def __init__(self,methodname='test'):
        seleniumTestCase.__init__(self,methodname)
        checkOption(mono.apache_port,'apache_port')

        self.port = mono.apache_port
        self.testcaseid = self.apacheTestCaseId