예제 #1
0
 def selectRATTag(self):
     # RAT tag
     return BasicButton(
         self.label + " > selectRATTag", lambda: self.browser.
         find_element_by_xpath("(//option[@value='12'])[3]"))
예제 #2
0
 def setSelectionButton(self):
     return BasicButton(
         self.label + " > setSelectionButton",
         lambda: self.browser.find_element_by_id("selectCasesFilterApply"))
예제 #3
0
 def typeButton(self):
     return BasicButton(
         self.label + " > typeButton",
         lambda: self.browser.find_element_by_link_text("Type"))
예제 #4
0
 def selectAcceptance(self):
     return BasicButton(
         self.label + " > selectAcceptance", lambda: self.browser.
         find_element_by_xpath("(//option[@value='1'])[12]"))
 def selectAddTestSuiteOkButton(self):
     return BasicButton(
         self.label + " > selectAddTestSuiteOkButton",
         lambda: self.browser.find_element_by_id("chooseSuiteDialogSubmit"))
예제 #6
0
 def testPurposeButton(self):
     return BasicButton(
         self.label + " > testPurposeButton",
         lambda: self.browser.find_element_by_link_text("Test Purpose"))
예제 #7
0
 def selectiOSPlatforms(self):
     return BasicButton(
         self.label + " > selectiOSPlatforms", lambda: self.browser.
         find_element_by_xpath("(//option[@value='4'])[4]"))
예제 #8
0
 def testRunAndTestResultLink(self):
     return BasicButton( self.label + " > testRunAndTestResultLink", lambda :"navigation-runs" )
 def acceptTestCasePaln(self):
     return BasicButton(self.label + " > acceptTestCasePaln",
                        lambda: self.browser.find_element_by_id("accept"))
예제 #10
0
 def platformsButton(self):
     return BasicButton(
         self.label + " > platformsButton",
         lambda: self.browser.find_element_by_link_text("Platforms"))
예제 #11
0
 def editConfirm(self):
     return BasicButton(
         self.label + " > editConfirm", lambda: self.browser.
         find_element_by_xpath("//*[@id='editNameForm']/div[2]/button"))
예제 #12
0
 def renamePlanTitle(self, number):
     return BasicButton(
         self.label + " > renamePlanTitle", lambda: self.browser.
         find_element_by_xpath("//*[@id='entries']/div[" + number +
                               "]/div[1]/div/div[2]/div[1]/a/div"))
예제 #13
0
 def testPlanSelectCasesButton3(self):
     return BasicButton(
         self.label + " > testPlanSelectCasesButton3", lambda: self.browser.
         find_element_by_xpath("(//a[contains(text(),'select cases')])[5]"))
예제 #14
0
 def selectCasesSubmit(self):
     return BasicButton(
         self.label + " > selectCasesSubmit",
         lambda: self.browser.find_element_by_id("selectCasesSubmit"))
예제 #15
0
 def priorityButton(self):
     return BasicButton(
         self.label + " > priorityButton",
         lambda: self.browser.find_element_by_link_text("Priority"))
예제 #16
0
 def licenseLabelButton(self):
     return BasicButton(
         self.label + " > licenseLabelButton",
         lambda: self.browser.find_element_by_link_text("License Label"))
예제 #17
0
 def selectCriticalPriority(self):
     return BasicButton(
         self.label + " > selectCriticalPriority", lambda: self.browser.
         find_element_by_xpath("(//option[@value='5'])[5]"))
예제 #18
0
 def addTestPlan( self ):
     return BasicButton( self.label + " > addTestPlan", lambda :self.browser.find_element_by_xpath( "//a[@id='navigation-plans-add']/span" ) )
예제 #19
0
 def addTestSuiteButton(self):
     return BasicButton(
         self.label + " > addTestSuiteButton",
         lambda: self.browser.find_element_by_id("sidebar-plans-addsuite"))