无法获取窗口类为“pbdw120”、窗口标题为“”且索引为2的窗口

2024-04-27 06:13:03 发布

您现在位置:Python中文网/ 问答频道 /正文

到目前为止,我对操作窗口的测试有问题

应在其中输入数据的窗口不可见

所有这些方法都会导致一条错误消息:

Object Spy reads invisible fields as: Sys.Process("wkar").Form("SA").Panel("Workspace").MDIWindow("Strona").Window("pbdw120", "", 1) .

我已经尝试了几种解决问题的方法:

- reusing the Display Object Spy option
- reading the name of the main window and jumping to other fields with the "[Tab]" option
- test recording

将显示以下错误消息:

" Cannot obtain the window with the window class 'pbdw120', window caption '' and index 2. See Additional Information for details. 9:56:03 Normal "

如能提出解决问题的建议,我将不胜感激


Tags: andthe数据方法消息fieldsobject错误