error handled some minor thigns in the export file

This commit is contained in:
2026-07-06 17:00:53 -05:00
parent 2b9d1bda12
commit 6ac8b29305
2 changed files with 3 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ Extracts and organizes documents from FileCabinet CS (Thomson Reuters) using GUI
- 32-bit Python (must match FCCS architecture) - 32-bit Python (must match FCCS architecture)
- `pywinauto` (`pip install pywinauto`) - `pywinauto` (`pip install pywinauto`)
- `Pillow` (`pip install Pillow`) — required for failure screenshots
- FileCabinet CS installed and restored with client backup data - FileCabinet CS installed and restored with client backup data
## Project Layout ## Project Layout

View File

@@ -98,6 +98,8 @@ def navigate_to_drawer(main, drawer_id, ctrl, timeouts, log):
box = main.child_window(title=ctrl["drawer_box_title"], class_name="Edit") box = main.child_window(title=ctrl["drawer_box_title"], class_name="Edit")
box.wait("visible ready", timeout=timeouts["nav"]) box.wait("visible ready", timeout=timeouts["nav"])
box.select()
box.set_edit_text("")
box.set_edit_text(drawer_id) box.set_edit_text(drawer_id)
time.sleep(timeouts["settle"]) time.sleep(timeouts["settle"])