Traceback (most recent call last):
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\application.py", line 250, in __resolve_control
ctrl = wait_until_passes(
timeout,
...<5 lines>...
controls.InvalidElement),
criteria)
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\timings.py", line 458, in wait_until_passes
raise err
pywinauto.timings.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "\\qavn.southeastasia.cloudapp.azure.com\Auto\9.3\Install_ME.py", line 97, in CLIENT_Check_SM
app1['SD Control Center']['Login to SecureDoc'].set_focus()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\application.py", line 379, in __getattribute__
ctrls = self.__resolve_control(self.criteria)
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\application.py", line 261, in __resolve_control
raise e.original_exception
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\timings.py", line 436, in wait_until_passes
func_val = func(*args, **kwargs)
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\application.py", line 222, in __get_ctrl
ctrl = self.backend.generic_wrapper_class(findwindows.find_element(**ctrl_criteria))
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\findwindows.py", line 84, in find_element
elements = find_elements(**kwargs)
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\findwindows.py", line 305, in find_elements
elements = findbestmatch.find_best_control_matches(best_match, wrapped_elems)
File "C:\Program Files\Python313\Lib\site-packages\pywinauto\findbestmatch.py", line 536, in find_best_control_matches
raise MatchError(items = name_control_map.keys(), tofind = search_text)
pywinauto.findbestmatch.MatchError: Could not find 'Login to SecureDoc' in 'dict_keys(['TitleBar', 'System', 'SystemMenu', 'Menu', 'MenuItem', 'System0', 'System1', 'System2', 'SystemMenuItem', 'Button', 'MinimizeButton', 'Minimize', 'MaximizeButton', 'Maximize', 'Button0', 'Button1', 'Button2', 'Close', 'CloseButton', 'Button3', 'Start PageGroupBox', 'GroupBox', 'Start PageCustom', 'Custom', 'Start PageCustom0', 'Start PageCustom1', 'Start PageCustom2', 'Custom0', 'Custom1', 'Custom2', 'Start PageGroupBox0', 'Start PageGroupBox1', 'Start PageGroupBox2', 'GroupBox0', 'GroupBox1', 'GroupBox2', 'Start PageCustom3', 'Custom3', 'Start PageGroupBox3', 'GroupBox3', 'Custom4', 'Image', 'Custom5', 'win11Custom', 'win11Static', 'Static', 'win11', 'Button4', 'win11Button', 'Start PageCustom4', 'Custom6', 'Start PageCustom5', 'Custom7', 'Start Page', 'Start PageStatic', 'Static0', 'Static1', 'Static2', 'Start PageCustom6', 'Custom8', 'Start PageGroupBox4', 'GroupBox4', 'Start PageGroupBox5', 'GroupBox5', 'Start PageCustom7', 'Custom9', 'Start PageGroupBox6', 'GroupBox6', 'Start PageGroupBox7', 'GroupBox7', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Static', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.', 'Static3', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Custom', 'Custom10', 'Custom11', 'Change passwordCustom', 'Image0', 'Image1', 'Image2', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Image', 'Change passwordStatic', 'Change password', 'Static4', 'Custom12', 'Change credentialCustom', 'Change passwordCustom0', 'Change passwordCustom1', 'Change passwordCustom2', 'Image3', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Image0', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Image1', 'Please select one of the shortcuts below, or navigate to the desired section using the section toolbar on the left.Image2', 'Change credential', 'Static5', 'Change credentialStatic', 'Change credentialImage', 'Image4', 'List of actions on this page is based on configuration and permissions.', 'Static6', 'List of actions on this page is based on configuration and permissions.Static', 'Custom13', 'Custom14', 'GeneralButton', 'Button5', 'General', 'GroupBox8', 'GroupBox9', 'GroupBox10', 'Start Page0', 'Start Page1', 'Start Page2', 'Start PageButton', 'Button6', 'Audit Log', 'Audit LogButton', 'Button7', 'About', 'AboutButton', 'Button8', 'HelpButton', 'Button9', 'Help', 'Encryption ManagementButton', 'Encryption Management', 'Button10', 'Key Management', 'Key ManagementButton', 'Button11', 'Boot ControlButton', 'Boot Control', 'Button12', 'Tools', 'ToolsButton', 'Button13', 'Options', 'OptionsButton', 'Button14'])'