- 数据提取-提取方式: class_name: QComboBox control_type: ComboBox - 数据提取-提取方式-下拉框: class_name: QComboBoxListView control_type: List
QComboBox = self.select_child_window(1, Dlg, "数据提取-提取方式", ["control_type", "class_name"], self.yaml_file) QComboBox.click_input() QComboBoxListView = self.select_child_window(1, Dlg, "数据提取-提取方式-下拉框", ["control_type", "class_name"], self.yaml_file) child_obj = Dlg.descendants() str_child = str(child_obj) self.select_item_value(QComboBoxListView, operation["提取方式"]) time.sleep(0.5)
标签:control,提取,pywinauto,self,child,type,下拉框 From: https://www.cnblogs.com/liu-Gray/p/18685700