def editPlanName(self, Device, Plan, Tag, Branch, Environment, build): return BasicTextField( self.label + " > editPlanName", lambda: self.browser.find_element_by_id("editName")).input( "" + Device + " / " + Plan + " / " + Tag + " / UtaPass " + Branch + " branch / " + Environment + " / " + build + "# / yyyy-mm-dd (your name) ")
def prodDescription(self, build, link): return BasicTextField( self.label + " > description", lambda: self.browser.find_element_by_id("description")).input( "- " + build + " branch: \n" "" + link + "\n\n" "- 請使用 branch Prod build \n" "- 請使用 白名單手機 \n" "- Live 訊息發送、Listen With 請改用內網測試 (PEAP, mac-auth) \n")
def userName(self): return BasicTextField(self.label + " > userName", lambda: self.browser.find_element_by_id("name"))
def submitButton(self): return BasicTextField( self.label + " > submitButton", lambda: self.browser.find_element_by_id("button_primary"))
def passWord(self): return BasicTextField( self.label + " > passWord", lambda: self.browser.find_element_by_id("password"))
def planNameAndroid(self): return BasicTextField(self.label + " > planNameAndroid", lambda: self.browser.find_element_by_id("name"))