def selectRATTag(self): # RAT tag return BasicButton( self.label + " > selectRATTag", lambda: self.browser. find_element_by_xpath("(//option[@value='12'])[3]"))
def setSelectionButton(self): return BasicButton( self.label + " > setSelectionButton", lambda: self.browser.find_element_by_id("selectCasesFilterApply"))
def typeButton(self): return BasicButton( self.label + " > typeButton", lambda: self.browser.find_element_by_link_text("Type"))
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"))
def testPurposeButton(self): return BasicButton( self.label + " > testPurposeButton", lambda: self.browser.find_element_by_link_text("Test Purpose"))
def selectiOSPlatforms(self): return BasicButton( self.label + " > selectiOSPlatforms", lambda: self.browser. find_element_by_xpath("(//option[@value='4'])[4]"))
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"))
def platformsButton(self): return BasicButton( self.label + " > platformsButton", lambda: self.browser.find_element_by_link_text("Platforms"))
def editConfirm(self): return BasicButton( self.label + " > editConfirm", lambda: self.browser. find_element_by_xpath("//*[@id='editNameForm']/div[2]/button"))
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"))
def testPlanSelectCasesButton3(self): return BasicButton( self.label + " > testPlanSelectCasesButton3", lambda: self.browser. find_element_by_xpath("(//a[contains(text(),'select cases')])[5]"))
def selectCasesSubmit(self): return BasicButton( self.label + " > selectCasesSubmit", lambda: self.browser.find_element_by_id("selectCasesSubmit"))
def priorityButton(self): return BasicButton( self.label + " > priorityButton", lambda: self.browser.find_element_by_link_text("Priority"))
def licenseLabelButton(self): return BasicButton( self.label + " > licenseLabelButton", lambda: self.browser.find_element_by_link_text("License Label"))
def selectCriticalPriority(self): return BasicButton( self.label + " > selectCriticalPriority", lambda: self.browser. find_element_by_xpath("(//option[@value='5'])[5]"))
def addTestPlan( self ): return BasicButton( self.label + " > addTestPlan", lambda :self.browser.find_element_by_xpath( "//a[@id='navigation-plans-add']/span" ) )
def addTestSuiteButton(self): return BasicButton( self.label + " > addTestSuiteButton", lambda: self.browser.find_element_by_id("sidebar-plans-addsuite"))