def get_One_SimItem(self,oneSimItem): addLayoutList = self.getAddsimWin() if oneSimItem == '' or oneSimItem is None: assert 1 ==2 i = int(self.addlayout.getlayoutDict()[oneSimItem][0]) tmp = EnterTypeItem(addLayoutList[i],'',self.browser) return tmp.getEelementValue()
def get_One_SimItemClass(self,oneSimItem): addLayoutList = self.getAddsimWin() if oneSimItem == '' or oneSimItem is None: assert 1 ==2 i = int(self.addlayout.getlayoutDict()[oneSimItem][0]) tmp = EnterTypeItem(addLayoutList[i],'',self.browser) classValue = tmp.getEelementClass() print "classValue===="+classValue return classValue
def get_One_Seletct_List(self,oneSimItem): addLayoutList = self.getAddsimWin() if oneSimItem == '' or oneSimItem is None: assert 1 ==2 i = int(self.addlayout.getlayoutDict()[oneSimItem][0]) print "i============="+str(i) tmp = EnterTypeItem(addLayoutList[i],'',self.browser) print "xxxxxxxxxxx---start" listvalue = tmp.getSelectList() print "xxxxxxxxxxx---end" return listvalue