feat: complete native BOM and Harness execution acceptance
This commit is contained in:
1 parent
4f8fbd7806
commit
65438cb7e5
234 files changed
+24402
-865
No files matched your search
@@ -173,7 +173,8 @@ def file_dialog(driver, path, *, save=False):
|
||||
target = next((c for c in edits if c.element_info.automation_id in ('1001', '1148')), None)
|
||||
if target is None:
|
||||
target = next(c for c in edits if 'FileName' in c.element_info.automation_id)
|
||||
target.set_edit_text(str(path))
|
||||
target.iface_value.SetValue(str(path))
|
||||
assert target.get_value() == str(path), 'Native filename input differs from the requested file'
|
||||
button = next(c for c in dialog.descendants(control_type='Button')
|
||||
if c.element_info.automation_id == '1')
|
||||
# Native buttons own HWNDs, unlike Qt's lightweight children.
|
||||
|
||||
Reference in new issue
Block a user