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")
Exemple #3
0
 def userName(self):
     return BasicTextField(self.label + " > userName",
                           lambda: self.browser.find_element_by_id("name"))
Exemple #4
0
 def submitButton(self):
     return BasicTextField(
         self.label + " > submitButton",
         lambda: self.browser.find_element_by_id("button_primary"))
Exemple #5
0
 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"))