예제 #1
0
    def __init__(self, testsetup, product=None):
        '''
            Creates a new instance of the class and gets the page ready for testing
        '''
        CrashStatsBasePage.__init__(self, testsetup)

        if product is None:
            self.selenium.get(self.base_url)
예제 #2
0
    def __init__(self, testsetup, product=None):
        '''
            Creates a new instance of the class and gets the page ready for testing
        '''
        CrashStatsBasePage.__init__(self, testsetup)

        if product is None:
            #self.selenium.open(self.base_url)
            self.selenium.open('/')
            self.selenium.wait_for_page_to_load(self.timeout)
            self.selenium.window_maximize()
예제 #3
0
    def __init__(self, testsetup, product=None):
        '''
            Creates a new instance of the class and gets the page ready for testing
        '''
        CrashStatsBasePage.__init__(self, testsetup)

        if product is None:
            #self.selenium.open(self.base_url)
            self.selenium.open('/')
            self.selenium.wait_for_page_to_load(self.timeout)
            self.selenium.window_maximize()
예제 #4
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.selenium.open('/products/')
     self.selenium.wait_for_page_to_load(self.timeout)
     self.selenium.window_maximize()
예제 #5
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.wait_for_element_present(self._page_header)
예제 #6
0
 def __init__(self, testsetup):
     '''
         Creates a new instance of the class and gets the page ready for testing
     '''
     CrashStatsBasePage.__init__(self, testsetup)
     self.wait_for_element_present(self._product_multiple_select)
예제 #7
0
 def __init__(self, testsetup, index, signature=None):
     CrashStatsBasePage.__init__(self, testsetup)
     self.index = index
     self._signature = signature
예제 #8
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self._reports = [self.set_report(count) for count in range(1, self.reports_count)]
예제 #9
0
 def __init__(self, testsetup, lookup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.lookup = lookup
예제 #10
0
 def __init__(self, testsetup, lookup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.lookup = lookup
예제 #11
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.selenium.open('/products/')
     self.selenium.wait_for_page_to_load(self.timeout)
     self.selenium.window_maximize()
예제 #12
0
 def __init__(self, testsetup):
     '''
         Creates a new instance of the class and gets the page ready for testing
     '''
     CrashStatsBasePage.__init__(self, testsetup)
     self.wait_for_element_present(self._product_multiple_select)
예제 #13
0
 def __init__(self, testsetup, index, signature=None):
     CrashStatsBasePage.__init__(self, testsetup)
     self.index = index
     self._signature = signature
예제 #14
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self._reports = [self.set_report(count) for count in range(1, self.reports_count)]
예제 #15
0
 def __init__(self, testsetup):
     CrashStatsBasePage.__init__(self, testsetup)
     self.selenium.get(self.base_url + '/products/')
예제 #16
0
 def __init__(self, testsetup, element):
     CrashStatsBasePage.__init__(self, testsetup)
     self._root_element = element