test: record native DxDataBook redraw evidence
Core regression / Python core, intervention UI and release configuration (push) Waiting to run
Core regression / JavaScript syntax (push) Waiting to run
Core regression / Python core, intervention UI and release configuration (pull_request) Waiting to run
Core regression / JavaScript syntax (pull_request) Waiting to run
Core regression / Python core, intervention UI and release configuration (push) Waiting to run
Core regression / JavaScript syntax (push) Waiting to run
Core regression / Python core, intervention UI and release configuration (pull_request) Waiting to run
Core regression / JavaScript syntax (pull_request) Waiting to run
This commit is contained in:
1 parent
ad3ee4151c
commit
7d4f6bde0b
3 files changed
+236
No files matched your search
@@ -16,6 +16,8 @@
|
||||
|
||||
真实 HWND 注入运行生产窗口检查和加载重试代码,测试用 Win32 窗口模拟 DxDataBook 的无按钮提示。测试将等待时间缩短到 1.5 秒,筛选响应由测试控制。原始诊断见 [prepared.json](evidence/2026-11-25-issue33-d6/prepared.json) 和 [mutation_possible.json](evidence/2026-11-25-issue33-d6/mutation_possible.json)。
|
||||
|
||||
另一组注入使用原生 ListView、Edit、UIA 行读取和消息驱动生产 `run_native`,CAD COM 属性与菜单资源由替身提供。先销毁筛选框触发 Win32 `1400`,再销毁列表触发 UIA `0x80040201`。程序复取新列表和筛选器,扫描两行后命中精确料号。提交回调只触发一次并读到持久化状态 `mutation_possible`。只有相似料号的对照执行两次筛选后超时,提交数为零,凭据仍为 `prepared`。 [精确命中](evidence/2026-11-25-issue33-d6/native-controls-positive.json) [没有精确命中](evidence/2026-11-25-issue33-d6/native-controls-negative.json)
|
||||
|
||||
定向回归 114 项通过,包含加载、窗口归属、写入凭据、VBS 失败收尾和现有目标 Cell 路径。另执行扩展集成测试时,丢失 UID 的旧测试出现保存回读证明缺失,用 `origin/main` 的原始 VBS 同例复现。
|
||||
|
||||
## 真实工程副本
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"attempt": "prepared",
|
||||
"events": [
|
||||
{
|
||||
"controls": [
|
||||
21630720,
|
||||
528470
|
||||
]
|
||||
},
|
||||
{
|
||||
"edit_hwnd": 528470,
|
||||
"text": "NEW"
|
||||
},
|
||||
{
|
||||
"read_list": 21630720,
|
||||
"row_count": 1
|
||||
},
|
||||
{
|
||||
"read_list": 21630720,
|
||||
"row_count": 1
|
||||
},
|
||||
{
|
||||
"edit_hwnd": 528470,
|
||||
"text": "NEW"
|
||||
},
|
||||
{
|
||||
"read_list": 21630720,
|
||||
"row_count": 1
|
||||
},
|
||||
{
|
||||
"read_list": 21630720,
|
||||
"row_count": 1
|
||||
}
|
||||
],
|
||||
"report": {
|
||||
"native_command": {
|
||||
"id": 33977,
|
||||
"executable": "C:\\Users\\ABS_Windows\\AppData\\Local\\Programs\\Python\\Python312\\python.exe",
|
||||
"trigger": "resource_command"
|
||||
},
|
||||
"native_options": {
|
||||
"1704": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1105": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1697": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1700": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
}
|
||||
},
|
||||
"databook": {
|
||||
"main_visible_before_browse": true,
|
||||
"browse_button": 3017658,
|
||||
"loads": [
|
||||
{
|
||||
"mode": "cold",
|
||||
"timeout_seconds": 45,
|
||||
"attempt_state_before_load": "prepared",
|
||||
"list_handle": 21630720,
|
||||
"filter_handle": 528470,
|
||||
"error": "Native DxDataBook did not finish loading target part: NEW",
|
||||
"elapsed_seconds": 3.437,
|
||||
"dialogs": [],
|
||||
"attempt_state": "prepared",
|
||||
"retry": true
|
||||
},
|
||||
{
|
||||
"mode": "warm",
|
||||
"timeout_seconds": 20,
|
||||
"attempt_state_before_load": "prepared",
|
||||
"list_handle": 21630720,
|
||||
"filter_handle": 528470,
|
||||
"error": "Native DxDataBook did not finish loading target part: NEW",
|
||||
"elapsed_seconds": 3.344,
|
||||
"dialogs": [],
|
||||
"attempt_state": "prepared",
|
||||
"retry": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"error": "TimeoutError('Native DxDataBook did not finish loading target part: NEW')"
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"attempt": "mutation_possible",
|
||||
"events": [
|
||||
{
|
||||
"controls": [
|
||||
21696256,
|
||||
594006
|
||||
]
|
||||
},
|
||||
{
|
||||
"controls": [
|
||||
21761792,
|
||||
659542
|
||||
]
|
||||
},
|
||||
{
|
||||
"dead_edit": 594006,
|
||||
"winerror": 1400
|
||||
},
|
||||
{
|
||||
"edit_hwnd": 659542,
|
||||
"text": "NEW"
|
||||
},
|
||||
{
|
||||
"read_list": 21761792,
|
||||
"row_count": 2
|
||||
},
|
||||
{
|
||||
"controls": [
|
||||
21827328,
|
||||
725078
|
||||
]
|
||||
},
|
||||
{
|
||||
"dead_ui_list": 21761792,
|
||||
"hresult": -2147220991,
|
||||
"exception": "COMError(-2147220991, '\u4e8b\u4ef6\u65e0\u6cd5\u8c03\u7528\u4efb\u4f55\u8ba2\u6237', (None, None, None, 0, None))"
|
||||
},
|
||||
{
|
||||
"edit_hwnd": 725078,
|
||||
"text": "NEW"
|
||||
},
|
||||
{
|
||||
"read_list": 21827328,
|
||||
"row_count": 2
|
||||
},
|
||||
{
|
||||
"read_list": 21827328,
|
||||
"row_count": 2
|
||||
},
|
||||
{
|
||||
"submit": "mutation_possible"
|
||||
}
|
||||
],
|
||||
"report": {
|
||||
"native_command": {
|
||||
"id": 33977,
|
||||
"executable": "C:\\Users\\ABS_Windows\\AppData\\Local\\Programs\\Python\\Python312\\python.exe",
|
||||
"trigger": "resource_command"
|
||||
},
|
||||
"native_options": {
|
||||
"1704": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1105": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1697": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
},
|
||||
"1700": {
|
||||
"text": "Option",
|
||||
"checked": true
|
||||
}
|
||||
},
|
||||
"databook": {
|
||||
"main_visible_before_browse": true,
|
||||
"browse_button": 3017658,
|
||||
"loads": [
|
||||
{
|
||||
"mode": "warm",
|
||||
"timeout_seconds": 20,
|
||||
"attempt_state_before_load": "prepared",
|
||||
"list_handle": 21827328,
|
||||
"filter_handle": 725078,
|
||||
"elapsed_seconds": 6.125
|
||||
}
|
||||
],
|
||||
"list_handle": 21827328,
|
||||
"list_visible": true,
|
||||
"main_visible_after_load": true
|
||||
},
|
||||
"library_row": [
|
||||
"DATA",
|
||||
"NEW",
|
||||
"LIB:EXACT",
|
||||
"",
|
||||
"Exact",
|
||||
"Target"
|
||||
],
|
||||
"slot_count": 1,
|
||||
"row_rectangle": [
|
||||
157,
|
||||
398,
|
||||
769,
|
||||
422
|
||||
],
|
||||
"list_handle": 21827328,
|
||||
"target_text": "NEW",
|
||||
"symbol_text": "LIB:EXACT",
|
||||
"target_submit_enabled": true,
|
||||
"transaction": {
|
||||
"snapshot_sha256": "d36e0c485331eac7b3c0d25de6dbfc5e915b761dd7eb738caf49b69d89640daa",
|
||||
"project_path": "g:\\dx33\\acceptance\\d6-native-controls-03\\positive\\synthetic.prj",
|
||||
"sheet_identity": "MAIN:1",
|
||||
"old_part_number": "OLD",
|
||||
"new_part_number": "NEW",
|
||||
"source_uids": [
|
||||
"uid"
|
||||
],
|
||||
"target_selectors": null,
|
||||
"library_row": [
|
||||
"DATA",
|
||||
"NEW",
|
||||
"LIB:EXACT",
|
||||
"",
|
||||
"Exact",
|
||||
"Target"
|
||||
],
|
||||
"target_symbol": "LIB:EXACT",
|
||||
"slot_count": 1
|
||||
},
|
||||
"stage": "native_replace_verified",
|
||||
"replaced_uids": [
|
||||
"uid"
|
||||
],
|
||||
"promoted_pins": []
|
||||
},
|
||||
"error": null
|
||||
}
|
||||
Reference in new issue
Block a user