[ZeuZ Python Version]
version = 19.2.0
[Release Date]
date = Apr 16, 2024
[Python version]
Python 3.11.9(64bit)
module_installer: Installing module: backports-datetime-fromisoformat;
python_version < '3.11'
module_installer: Installed missing module: backports-datetime-fromisoformat;
python_version < '3.11'
module_installer: New modules installed.
Process ID 5688
Press Ctrl-C to disconnect and quit.
module_updater: All modules are already up to date.
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Authenticated ┃ ✔ ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ url │ https://qa.acorahsoftware.com │
│ Username │ paul_AP2 │
│ Email │
[email protected] │
│ Team ID │ 2 │
│ Project ID │ PROJ-17 │
└───────────────┴───────────────────────────────┘
🟢 paul_ap2_5 is Online
Save temp_run_file_path = 'C:\Users\Administrator\Desktop\Zeuz_new\
Zeuz_Python_Node-dev\AutomationLog'
'adb' is not recognized as an internal or external command,
operable program or batch file.
Server version = 8.0.0
INFO - main : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs
dependency = {
"Browser": "Chrome",
"Mobile": "Android"
}
run_time_params = {
"PDF_FILE_COMPARISON_CLIENT_SHEET": "C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\DB_Excel_Sheet\\Client_List_1.xlsx"
}
PDF_FILE_COMPARISON_CLIENT_SHEET = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\
Accounts_Comparison\\\\DB_Excel_Sheet\\\\Client_List_1.xlsx"
zeuz_auto_teardown = "on"
zeuz_collect_browser_log = "on"
run_id = "debug_paul_ap2_5_dsDqs"
global_attachments = "<Framework.attachment_db.GlobalAttachment object at
0x00000265573AF2D0>"
device_order = [
[
1,
1
]
]
device_info = {}
run_id = "debug_paul_ap2_5_dsDqs"
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\Log
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\Log
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\screenshots
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\screenshots
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\performance_report
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\performance_report
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\json_report
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\json_report
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\zeuz_download_folder
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\session_1\TEST-20187\zeuz_download_folder
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\initial_download_folder
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_dsDqs\initial_download_folder
zeuz_download_folder = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\Zeuz_new\\\\
Zeuz_Python_Node-dev\\\\AutomationLog\\\\debug_paul_ap2_5_dsDqs\\\\session_1\\\\
TEST-20187\\\\zeuz_download_folder"
zeuz_prettify_limit = 500
zeuz_attachments_dir = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\Zeuz_new\\\\
Zeuz_Python_Node-dev\\\\AutomationLog\\\\attachments"
element_wait = 10
╔══════════════════════════════════════════╗
║ ║
║ TEST-20187 ║
║ ║
╠══════════════════════════════════════════╣
║ ║
║ Regresession testing DB - Secondary File ║
║ - RFS , FFS , Lead Schedule - Using ║
║ Datamine from PM - Using python script ║
║ and winmerge - it will close and reopen ║
║ with each 100 clients ║
║ ║
╚══════════════════════════════════════════╝
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #3 | run | Type |
+=======+==========================================+========+========+
| 56884 | Declare pdf and text file path for | False | global |
| | comparison - Paul | | |
+-------+------------------------------------------+--------+--------+
node_id = "paul_AP2_5"
📓 Starting TEST-20187, STEP-3, ACTION-1: 'Base pdf file save location
for lead schedules' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ main_folder_name │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
main_folder_name = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0160 secs.
📓 Starting TEST-20187, STEP-3, ACTION-2: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ def │
│ │ │ create_folder_structure(mai… │
│ │ │ subfolders): │
│ │ │ subfolder_paths = {} # │
│ │ │ Dictionary to store │
│ │ │ subfolder paths │
│ │ │ │
│ │ │ # Create the main folder │
│ │ │ if it doesn't exist │
│ │ │ if not │
│ │ │ os.path.exists(main_folder): │
│ │ │ os.makedirs(main_fo… │
│ │ │ print(f"Main folder │
│ │ │ '{main_folder}' created.") │
│ │ │ │
│ │ │ # Create subfolders and │
│ │ │ store their paths │
│ │ │ for subfolder in │
│ │ │ subfolders: │
│ │ │ subfolder_path = │
│ │ │ os.path.join(main_folder, │
│ │ │ subfolder) │
│ │ │ if not │
│ │ │ os.path.exists(subfolder_pa… │
│ │ │ os.makedirs(sub… │
│ │ │ print(f"Subfold… │
│ │ │ '{subfolder}' created.") │
│ │ │ else: │
│ │ │ print(f"Subfold… │
│ │ │ '{subfolder}' already │
│ │ │ exists, skipping.") │
│ │ │ │
│ │ │ # Store the path in │
│ │ │ the dictionary │
│ │ │ subfolder_paths = │
│ │ │ subfolder_path │
│ │ │ │
│ │ │ return subfolder_paths │
│ │ │ │
│ │ │ # Define the main folder │
│ │ │ name │
│ │ │ main_folder_name = │
│ │ │ main_folder_name │
│ │ │ │
│ │ │ # Define the list of │
│ │ │ subfolder names │
│ │ │ subfolder_names = [ │
│ │ │ "Base_PDF_Folder", │
│ │ │ "Secondary_PDF_Folder", │
│ │ │ "Base_Highlighted_PDF_F… │
│ │ │ "Secondary_Highlighted_… │
│ │ │ "Base_Text_File_Folder", │
│ │ │ "Secondary_Text_File_Fo… │
│ │ │ "Comparison_Report_Fold… │
│ │ │ "base_ixbrli_location", │
│ │ │ "secondary_ixbrli_locat… │
│ │ │ "xhtml_report", │
│ │ │ "lead_schedule_main_db_… │
│ │ │ "lead_schedule_secondar… │
│ │ │ "lead_schedule_files_to… │
│ │ │ "lead_schedule_files_to… │
│ │ │ "DB_Excel_Sheet", │
│ │ │ "Last_base_file_run_tra… │
│ │ │ "Last_secondary_file_ru… │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ ] │
│ │ │ │
│ │ │ # Create the folder │
│ │ │ structure and get the paths │
│ │ │ subfolder_paths = │
│ │ │ create_folder_structure(mai… │
│ │ │ subfolder_names) │
│ │ │ │
│ │ │ # Access and print the paths │
│ │ │ for name, path in │
│ │ │ subfolder_paths.items(): │
│ │ │ print(f"Path for │
│ │ │ '{name}': {path}") │
│ │ │ │
│ │ │ # Optionally, you can access │
│ │ │ specific paths directly if │
│ │ │ needed │
│ │ │ lead_schedule_base_pdf = │
│ │ │ subfolder_paths["Base_PDF_F… │
│ │ │ lead_schedule_secondary_pdf │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ lead_schedule_base_highligh… │
│ │ │ = │
│ │ │ subfolder_paths["Base_Highl… │
│ │ │ lead_schedule_secondary_hig… │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ lead_schedule_base_text_file │
│ │ │ = │
│ │ │ subfolder_paths["Base_Text_… │
│ │ │ lead_schedule_secondary_tex… │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ pdf_report_path = │
│ │ │ subfolder_paths["Comparison… │
│ │ │ base_ixbrli_location = │
│ │ │ subfolder_paths["base_ixbrl… │
│ │ │ secondary_ixbrli_location = │
│ │ │ subfolder_paths["secondary_… │
│ │ │ xhtml_report = │
│ │ │ subfolder_paths["xhtml_repo… │
│ │ │ lead_schedule_main_db_text_… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_secondary_db_… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_files_to_be_c… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_files_to_be_c… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ DB_Excel_Sheet = │
│ │ │ subfolder_paths["DB_Excel_S… │
│ │ │ Last_base_file_run_tracker = │
│ │ │ subfolder_paths["Last_base_… │
│ │ │ Last_secondary_file_run_tra… │
│ │ │ = │
│ │ │ subfolder_paths["Last_secon… │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ # Print individual paths if │
│ │ │ needed │
│ │ │ print(f"Base PDF Folder │
│ │ │ Path: │
│ │ │ {lead_schedule_base_pdf}") │
│ │ │ print(f"Secondary PDF Folder │
│ │ │ Path: │
│ │ │ {lead_schedule_secondary_pd… │
│ │ │ print(f"Base Highlighted PDF │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_base_highlig… │
│ │ │ print(f"Secondary │
│ │ │ Highlighted PDF Folder Path: │
│ │ │ {lead_schedule_secondary_hi… │
│ │ │ print(f"Base Text File │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_base_text_fi… │
│ │ │ print(f"Secondary Text File │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_secondary_te… │
│ │ │ print(f"Comparison Report │
│ │ │ Folder Path: │
│ │ │ {pdf_report_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
Subfolder 'Base_PDF_Folder' already exists, skipping.
Subfolder 'Secondary_PDF_Folder' already exists, skipping.
Subfolder 'Base_Highlighted_PDF_Folder' already exists, skipping.
Subfolder 'Secondary_Highlighted_PDF_Folder' already exists, skipping.
Subfolder 'Base_Text_File_Folder' already exists, skipping.
Subfolder 'Secondary_Text_File_Folder' already exists, skipping.
Subfolder 'Comparison_Report_Folder' already exists, skipping.
Subfolder 'base_ixbrli_location' already exists, skipping.
Subfolder 'secondary_ixbrli_location' already exists, skipping.
Subfolder 'xhtml_report' already exists, skipping.
Subfolder 'lead_schedule_main_db_text_file' already exists, skipping.
Subfolder 'lead_schedule_secondary_db_text_file' already exists, skipping.
Subfolder 'lead_schedule_files_to_be_compared_main_db_text_file' already exists,
skipping.
Subfolder 'lead_schedule_files_to_be_compared_secondary_db_text_file' already
exists, skipping.
Subfolder 'DB_Excel_Sheet' already exists, skipping.
Subfolder 'Last_base_file_run_tracker' already exists, skipping.
Subfolder 'Last_secondary_file_run_tracker' already exists, skipping.
Path for 'Base_PDF_Folder': C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder
Path for 'Secondary_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_PDF_Folder
Path for 'Base_Highlighted_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder
Path for 'Secondary_Highlighted_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Highlighted_PDF_Folder
Path for 'Base_Text_File_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder
Path for 'Secondary_Text_File_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder
Path for 'Comparison_Report_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Comparison_Report_Folder
Path for 'base_ixbrli_location': C:\Users\Administrator\Desktop\
Accounts_Comparison\base_ixbrli_location
Path for 'secondary_ixbrli_location': C:\Users\Administrator\Desktop\
Accounts_Comparison\secondary_ixbrli_location
Path for 'xhtml_report': C:\Users\Administrator\Desktop\Accounts_Comparison\
xhtml_report
Path for 'lead_schedule_main_db_text_file': C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_main_db_text_file
Path for 'lead_schedule_secondary_db_text_file': C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_secondary_db_text_file
Path for 'lead_schedule_files_to_be_compared_main_db_text_file': C:\Users\
Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file
Path for 'lead_schedule_files_to_be_compared_secondary_db_text_file': C:\Users\
Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_secondary_db_text_file
Path for 'DB_Excel_Sheet': C:\Users\Administrator\Desktop\Accounts_Comparison\
DB_Excel_Sheet
Path for 'Last_base_file_run_tracker': C:\Users\Administrator\Desktop\
Accounts_Comparison\Last_base_file_run_tracker
Path for 'Last_secondary_file_run_tracker': C:\Users\Administrator\Desktop\
Accounts_Comparison\Last_secondary_file_run_tracker
Base PDF Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder
Secondary PDF Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder
Base Highlighted PDF Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder
Secondary Highlighted PDF Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Highlighted_PDF_Folder
Base Text File Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Text_File_Folder
Secondary Text File Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder
Comparison Report Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Comparison_Report_Folder
INFO - execute_python_code : common_functions
Newly declared variables:
subfolder_names = ['Base_PDF_Folder', 'Secondary_PDF_Folder',
'Base_Highlighted_PDF_Folder', 'Secondary_Highlighted_PDF_Folder',
'Base_Text_File_Folder', 'Secondary_Text_File_Folder', 'Comparison_Report_Folder',
'base_ ...
lead_schedule_base_pdf = C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder
create_folder_structure = <function create_folder_structure at 0x000002655F6E4540>
lead_schedule_secondary_highlighted = C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Highlighted_PDF_Folder
lead_schedule_base_highlighted = C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder
lead_schedule_base_text_file = C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Text_File_Folder
lead_schedule_files_to_be_compared_secondary_db_te ... = C:\Users\Administrator\
Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_secondary_db_text_file
path = C:\Users\Administrator\Desktop\Accounts_Comparison\
Last_secondary_file_run_tracker
subfolder_paths = {'Base_PDF_Folder': 'C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\Base_PDF_Folder', 'Secondary_PDF_Folder': 'C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_PDF_Folder', ' ...
lead_schedule_secondary_text_file = C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder
Last_base_file_run_tracker = C:\Users\Administrator\Desktop\Accounts_Comparison\
Last_base_file_run_tracker
lead_schedule_files_to_be_compared_main_db_text_fi ... = C:\Users\Administrator\
Desktop\Accounts_Comparison\lead_schedule_files_to_be_compared_main_db_text_file
name = Last_secondary_file_run_tracker
Last_secondary_file_run_tracker = C:\Users\Administrator\Desktop\
Accounts_Comparison\Last_secondary_file_run_tracker
DB_Excel_Sheet = C:\Users\Administrator\Desktop\Accounts_Comparison\DB_Excel_Sheet
xhtml_report = C:\Users\Administrator\Desktop\Accounts_Comparison\xhtml_report
base_ixbrli_location = C:\Users\Administrator\Desktop\Accounts_Comparison\
base_ixbrli_location
pdf_report_path = C:\Users\Administrator\Desktop\Accounts_Comparison\
Comparison_Report_Folder
lead_schedule_secondary_pdf = C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder
lead_schedule_main_db_text_file = C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_main_db_text_file
secondary_ixbrli_location = C:\Users\Administrator\Desktop\Accounts_Comparison\
secondary_ixbrli_location
lead_schedule_secondary_db_text_file = C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_secondary_db_text_file
By default all the newly declared variables, functions are added in
shared_variables
and accessible in next python_code action or in %| |%.
But if you dont want your newly declared variables accessible in next actions
Cleanup the variables at the end of the code. Such as:
del account_name
del function_name
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.1743 secs.
main : MainDriverApi
Declare pdf and text file path for comparison - Paul : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #4 | run | Type |
+=======+==========================================+========+========+
| 56885 | Declare application file location - | False | global |
| | Paul | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-4, ACTION-1: 'base file ap - only file'
📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ base_file_ap │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
base_file_ap = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0090 secs.
📓 Starting TEST-20187, STEP-4, ACTION-2: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ def │
│ │ │ create_folder_if_not_exists… │
│ │ │ if not │
│ │ │ os.path.exists(folder_path): │
│ │ │ os.makedirs(folder_… │
│ │ │ print(f"Folder │
│ │ │ '{folder_path}' created │
│ │ │ successfully.") │
│ │ │ else: │
│ │ │ print(f"Folder │
│ │ │ '{folder_path}' already │
│ │ │ exists.") │
│ │ │ │
│ │ │ │
│ │ │ folder_path = base_file_ap │
│ │ │ create_folder_if_not_exists… │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
Folder 'C:\Users\Administrator\Desktop\Accounts_Comparison' already exists.
INFO - execute_python_code : common_functions
Newly declared variables:
folder_path = C:\Users\Administrator\Desktop\Accounts_Comparison
create_folder_if_not_exists = <function create_folder_if_not_exists at
0x0000026560E6DC60>
By default all the newly declared variables, functions are added in
shared_variables
and accessible in next python_code action or in %| |%.
But if you dont want your newly declared variables accessible in next actions
Cleanup the variables at the end of the code. Such as:
del account_name
del function_name
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0152 secs.
📓 Starting TEST-20187, STEP-4, ACTION-3: 'secondary file ap - only
file' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ secondary_file_ap │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
secondary_file_ap = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0054 secs.
📓 Starting TEST-20187, STEP-4, ACTION-4: 'pdftotext_path' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdftotext_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdftotext_path = "C:\\Users\\Administrator\\Desktop\\xpdf-tools-win-4.05\\xpdf-
tools-win-4.05\\bin64"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0046 secs.
📓 Starting TEST-20187, STEP-4, ACTION-5: 'pdftotext_path' 📓
┌─────────────────────┬──────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼──────────────────┼────────────────────────┤
│ data │ element │ C:\Comparison\WinMerge │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_path │
└─────────────────────┴──────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_path = "C:\\Comparison\\WinMerge"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0114 secs.
📓 Starting TEST-20187, STEP-4, ACTION-6: 'python script for
highlight' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_script_for_highlight │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_script_for_highlight = "C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0102 secs.
📓 Starting TEST-20187, STEP-4, ACTION-7: '6904' 📓
┌─────────────────────┬─────────────────┬───────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼─────────────────┼───────────────┤
│ data │ element │ 75 │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ image_quality │
└─────────────────────┴─────────────────┴───────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
image_quality = 75
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0135 secs.
📓 Starting TEST-20187, STEP-4, ACTION-8: '6904' 📓
┌─────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├─────────────────────────┼────────────────────┼────────┤
│ data │ element parameter │ 150 │
│ operation │ element parameter │ save │
│ save into variable │ common action │ DPI │
└─────────────────────────┴────────────────────┴────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
DPI = 150
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0085 secs.
main : MainDriverApi
Declare application file location - Paul : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #5 | run | Type |
+=======+==========================================+========+========+
| 56887 | Maintaing quality and DPI with the pdf | False | global |
| | images options | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-5, ACTION-1: '6904' 📓
┌─────────────────────┬─────────────────┬───────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼─────────────────┼───────────────┤
│ data │ element │ 75 │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ image_quality │
└─────────────────────┴─────────────────┴───────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
image_quality = 75
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0058 secs.
📓 Starting TEST-20187, STEP-5, ACTION-2: '6904' 📓
┌─────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├─────────────────────────┼────────────────────┼────────┤
│ data │ element parameter │ 150 │
│ operation │ element parameter │ save │
│ save into variable │ common action │ DPI │
└─────────────────────────┴────────────────────┴────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
DPI = 150
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0051 secs.
main : MainDriverApi
Maintaing quality and DPI with the pdf images options : Test Step Passed
+-----+---------------------------+--------+-------+
| | | Always | |
| ID | STEP #6 | run | Type |
+=====+===========================+========+=======+
| 139 | Declare variables - Nadim | False | local |
+-----+---------------------------+--------+-------+
📓 Starting TEST-20187, STEP-6, ACTION-1: '6904' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ admin │
│ operation │ element parameter │ save │
│ save into variable │ common action │ username │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
username = "admin"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0111 secs.
📓 Starting TEST-20187, STEP-6, ACTION-2: '6905' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ a │
│ operation │ element parameter │ save │
│ save into variable │ common action │ password │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
password = "a"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0099 secs.
📓 Starting TEST-20187, STEP-6, ACTION-3: '6906' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rnd │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rnd = "069068"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0133 secs.
📓 Starting TEST-20187, STEP-6, ACTION-4: '6907' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ office_code │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
office_code = 763659
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0080 secs.
📓 Starting TEST-20187, STEP-6, ACTION-5: '6908' 📓
┌────────────────────┬─────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────┤
│ data │ element │ %|random_data('ul',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ ofc_name │
└────────────────────┴─────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
ofc_name = "IiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0069 secs.
📓 Starting TEST-20187, STEP-6, ACTION-6: '6909' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ ZeuZOffice%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zoffice │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zoffice = "ZeuZOfficeIiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0128 secs.
📓 Starting TEST-20187, STEP-6, ACTION-7: '6910' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ Rubra One, Mulberry │
│ │ parameter │ Business Park, Fishponds │
│ │ │ Road │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ address1 │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
address1 = "Rubra One, Mulberry Business Park, Fishponds Road"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0049 secs.
📓 Starting TEST-20187, STEP-6, ACTION-8: '6911' 📓
┌────────────────────┬─────────────────┬────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────┤
│ data │ element │ United Kingdom │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ country │
└────────────────────┴─────────────────┴────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
country = "United Kingdom"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0053 secs.
📓 Starting TEST-20187, STEP-6, ACTION-9: '6912' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ Wokingham │
│ operation │ element parameter │ save │
│ save into variable │ common action │ town │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
town = "Wokingham"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0159 secs.
📓 Starting TEST-20187, STEP-6, ACTION-10: '6913' 📓
┌───────────────────────┬───────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼────────────┤
│ data │ element parameter │ RG41 2GY │
│ operation │ element parameter │ save │
│ save into variable │ common action │ postalcode │
└───────────────────────┴───────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
postalcode = "RG41 2GY"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0090 secs.
📓 Starting TEST-20187, STEP-6, ACTION-11: '6914' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ Rolename%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rolename │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rolename = "RolenameIiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0194 secs.
📓 Starting TEST-20187, STEP-6, ACTION-12: '6915' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ ZeuZUser%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ ruser │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
ruser = "ZeuZUserIiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0082 secs.
📓 Starting TEST-20187, STEP-6, ACTION-13: '6916' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rpassword │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rpassword = 342208
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0079 secs.
📓 Starting TEST-20187, STEP-6, ACTION-14: '6917' 📓
┌────────────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼───────────────────────┤
│ data │ element │ ZeuzFirst%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ fname │
└────────────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
fname = "ZeuzFirstIiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0063 secs.
📓 Starting TEST-20187, STEP-6, ACTION-15: '6918' 📓
┌────────────────────┬─────────────────┬─────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────┤
│ data │ element │ ZeuzSur%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ sname │
└────────────────────┴─────────────────┴─────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
sname = "ZeuzSurIiWltK"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0083 secs.
📓 Starting TEST-20187, STEP-6, ACTION-16: '6919' 📓
┌────────────────────┬─────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────┤
│ data │ element │ %|random_data('ul',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ database_name │
└────────────────────┴─────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
database_name = "FXVfug"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0089 secs.
📓 Starting TEST-20187, STEP-6, ACTION-17: '6920' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ %|random_data(n,7)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zeuz │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zeuz = 9901473
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0058 secs.
📓 Starting TEST-20187, STEP-6, ACTION-18: '6921' 📓
┌──────────────────────┬──────────────────┬──────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼──────────────────┼──────────────┤
│ data │ element │ zeuz%|zeuz|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zeuz1 │
└──────────────────────┴──────────────────┴──────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zeuz1 = "zeuz9901473"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0102 secs.
📓 Starting TEST-20187, STEP-6, ACTION-19: '6922' 📓
┌───────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼───────────────────────┤
│ date │ element │ %|today(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
16/04/2025
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date = "16/04/2025"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0150 secs.
📓 Starting TEST-20187, STEP-6, ACTION-20: '6923' 📓
┌───────────────┬─────────────────┬──────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼──────────────────────────┤
│ date2 │ element │ %|today-3y(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴──────────────────────────┘
screen_capture = "none"
16/04/2022
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date2 = "16/04/2022"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0182 secs.
📓 Starting TEST-20187, STEP-6, ACTION-21: '6924' 📓
┌───────────────────┬───────────────────┬────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼───────────────────┼────────────────┤
│ data │ element parameter │ today │
│ format │ optional │ %d %B %Y │
│ │ parameter │ │
│ modify datetime │ common action │ variable_name │
└───────────────────┴───────────────────┴────────────────┘
screen_capture = "none"
INFO - Entering into function: 'modify_datetime'.
modify_datetime : common_functions
Modified datetime. New value: 16 April 2025
variable_name = "16 April 2025"
INFO - Exited from function: 'modify_datetime'. Runtime: 0.0125 secs.
📓 Starting TEST-20187, STEP-6, ACTION-22: '6925' 📓
┌────────────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼───────────────────────┤
│ data │ element │ %|random_data(n,10)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ utr │
└────────────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
utr = "0811914182"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0053 secs.
📓 Starting TEST-20187, STEP-6, ACTION-23: '6926' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ %|random_data(n,8)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ reg │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
reg = 74004906
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0037 secs.
📓 Starting TEST-20187, STEP-6, ACTION-24: '6926' 📓
┌────────────────────┬─────────────────┬────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────┤
│ data │ element │ %|zeuz|%@gmail.com │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ email │
└────────────────────┴─────────────────┴────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
email = "
[email protected]"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0070 secs.
📓 Starting TEST-20187, STEP-6, ACTION-25: '6926' 📓
┌───────────────┬─────────────────┬──────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼──────────────────────────┤
│ date3 │ element │ %|today-2y(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴──────────────────────────┘
screen_capture = "none"
16/04/2023
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date3 = "16/04/2023"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0111 secs.
📓 Starting TEST-20187, STEP-6, ACTION-26: 'Generated file date' 📓
┌──────────────────┬─────────────────────┬───────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────┼─────────────────────┼───────────────────────────┤
│ today │ element parameter │ %|today(DD/MM/YYYY)|% │
│ save variable │ common action │ save │
└──────────────────┴─────────────────────┴───────────────────────────┘
screen_capture = "none"
16/04/2025
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
today = "16/04/2025"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0100 secs.
📓 Starting TEST-20187, STEP-6, ACTION-27: 'Generated file date' 📓
┌──────────────────────────┬──────────────────────────┬──────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼──────────────────────────┼──────────────┤
│ data │ element parameter │ today │
│ format │ optional parameter │ %d/%m/%Y │
│ modify datetime │ common action │ mod │
└──────────────────────────┴──────────────────────────┴──────────────┘
screen_capture = "none"
INFO - Entering into function: 'modify_datetime'.
modify_datetime : common_functions
Modified datetime. New value: 16/04/2025
mod = "16/04/2025"
INFO - Exited from function: 'modify_datetime'. Runtime: 0.0084 secs.
📓 Starting TEST-20187, STEP-6, ACTION-28: 'Generated file date' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ data │ element parameter │ %|today(YYYY-MMM-DD)|% │
│ operation │ optional │ save │
│ │ parameter │ │
│ save into variable │ common action │ file_date │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
2025-Apr-16
INFO - Entering into function: 'save_into_variable'.
file_date = "2025-Apr-16"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0039 secs.
📓 Starting TEST-20187, STEP-6, ACTION-29: 'counter for PDF' 📓
┌───────────────────────┬────────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼────────────────────┼──────────────────────┤
│ data │ element parameter │ 0 │
│ operation │ optional parameter │ save │
│ save into variable │ common action │ pdf_client_counter │
└───────────────────────┴────────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_client_counter = 0
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0049 secs.
main : MainDriverApi
Declare variables - Nadim : Test Step Passed
+-------+------------------------------------------+--------+-------+
| | | Always | |
| ID | STEP #7 | run | Type |
+=======+==========================================+========+=======+
| 39760 | Import excel sheet data and fetch the | False | local |
| | file from there - Lead Schedules , RFS | | |
| | , FFS- Data Mine Wizard | | |
+-------+------------------------------------------+--------+-------+
📓 Starting TEST-20187, STEP-7, ACTION-1: 'None' 📓
┌─────────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────┼────────────────┼─────────────────────────────────────┤
│ create_file │ path │ %|lead_schedule_files_to_be_compar… │
│ create │ utility action │ file │
└─────────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Create_File_or_Folder'.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0026 secs.
INFO - Entering into function: 'CreateFile'.
CreateFile : BuiltInUtilityFunction
Creating file C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt
CreateFile : BuiltInUtilityFunction
File already exists
INFO - Exited from function: 'CreateFile'. Runtime: 0.0139 secs.
Create_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt' created successfully
INFO - Exited from function: 'Create_File_or_Folder'. Runtime: 0.0358 secs.
📓 Starting TEST-20187, STEP-7, ACTION-2: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_files_to_b… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ main_file_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
main_file_path = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
lead_schedule_files_to_be_compared_main_db_text_file\\
lead_schedule_secondary_main_db_file.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0095 secs.
📓 Starting TEST-20187, STEP-7, ACTION-3: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_files_to_b… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ secondary_file_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
secondary_file_path = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
lead_schedule_files_to_be_compared_secondary_db_text_file\\
lead_schedule_secondary_db_file.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0219 secs.
📓 Starting TEST-20187, STEP-7, ACTION-4: 'None' 📓
┌─────────────────┬─────────────────┬────────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────┼─────────────────┼────────────────────────────────┤
│ file path │ element │ %|PDF_FILE_COMPARISON_CLIENT_… │
│ │ parameter │ │
│ sheet name │ element │ Sheet1 │
│ │ parameter │ │
│ cell range │ element │ A1:AS5 │
│ │ parameter │ │
│ expand │ optional │ down │
│ │ parameter │ │
│ read from excel │ common action │ excel_sheet │
└─────────────────┴─────────────────┴────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'excel_read'.
excel_sheet = [
[
"ASHLEYKINGGROUPLIMITED",
null,
null,
null
],
[
"ASPLTD001",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS102",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS1021A",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS105",
null,
null,
null
],
[
"BALLARAHOLDINGSLIMITED",
null,
null,
null
],
[
"C&FFRS1021ALLPTEST1",
null,
null,
null
],
[
"C&FFRS105DORMANTTEST1",
null,
...(truncated 26115 chars)
INFO - Exited from function: 'excel_read'. Runtime: 0.3802 secs.
📓 Starting TEST-20187, STEP-7, ACTION-5: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ xcel = │
│ │ │ sr.Get_Shared_Variables("ex… │
│ │ │ # input data │
│ │ │ path = │
│ │ │ sr.Get_Shared_Variables("ma… │
│ │ │ # input data │
│ │ │ path2 = │
│ │ │ sr.Get_Shared_Variables("se… │
│ │ │ # input data │
│ │ │ │
│ │ │ import os │
│ │ │ import operator as op │
│ │ │ │
│ │ │ with open(path , "r+") as │
│ │ │ my_file: │
│ │ │ data = my_file.read() │
│ │ │ data_into_list = │
│ │ │ data.split("\n") │
│ │ │ # print(data_into_list) │
│ │ │ my_file.close() │
│ │ │ │
│ │ │ def get_string(a): │
│ │ │ if a != None: │
│ │ │ return a │
│ │ │ return '_' │
│ │ │ │
│ │ │ │
│ │ │ try: │
│ │ │ c_name = [] │
│ │ │ │
│ │ │ for client_code in xcel: │
│ │ │ if client_code[0] not │
│ │ │ in data_into_list: │
│ │ │ # client_code_12 │
│ │ │ = │
│ │ │ get_string(client_code[12]) │
│ │ │ # client_code_13 │
│ │ │ = │
│ │ │ get_string(client_code[13]) │
│ │ │ # client_code_14 │
│ │ │ = │
│ │ │ get_string(client_code[14]) │
│ │ │ # client_code_15 │
│ │ │ = │
│ │ │ get_string(client_code[15]) │
│ │ │ # client_code_16 │
│ │ │ = │
│ │ │ get_string(client_code[16]) │
│ │ │ if client_code[0] │
│ │ │ == None: │
│ │ │ continue │
│ │ │ with │
│ │ │ open(path2,"a+") as f: │
│ │ │ if │
│ │ │ (op.countOf(client_code[0]," │
│ │ │ ")) > 0: │
│ │ │ c_name.a… │
│ │ │ ','').replace('N/A','_').up… │
│ │ │ f.write(… │
│ │ │ ','').replace('N/A','_').up… │
│ │ │ else: │
│ │ │ c_name.a… │
│ │ │ ','').replace('N/A','_'),cl… │
│ │ │ f.write(… │
│ │ │ ','').replace('N/A','_')}\n… │
│ │ │ with open(path, │
│ │ │ "a+") as file: │
│ │ │ file.seek(0) │
│ │ │ line = │
│ │ │ file.read(100) │
│ │ │ if len(line) │
│ │ │ > 0: │
│ │ │ file.wri… │
│ │ │ file.write(c… │
│ │ │ my_file = open(path2, │
│ │ │ "r") │
│ │ │ data1 = my_file.read() │
│ │ │ new_data = │
│ │ │ data1.split("\n") │
│ │ │ my_file.close() │
│ │ │ ap = [] │
│ │ │ for i in new_data: │
│ │ │ ap.append(i.split('… │
│ │ │ │
│ │ │ │
│ │ │ except FileNotFoundError as │
│ │ │ e: │
│ │ │ print("No new data got │
│ │ │ added to excel sheet. Error │
│ │ │ description : " , e) │
│ │ │ │
│ │ │ if os.path.exists(path2): │
│ │ │ os.remove(path2) │
│ │ │ else: │
│ │ │ print("Couldn't delete the │
│ │ │ file as the file does not │
│ │ │ exist.") │
│ │ │ │
│ │ │ # │
│ │ │ sr.Set_Shared_Variables("la… │
│ │ │ ap) │
│ │ │ print(ap) │
│ │ │ │
│ │ │ │
│ │ │ sr.Set_Shared_Variables("la… │
│ │ │ ap) │
│ │ │ sr.Set_Shared_Variables("c_… │
│ │ │ c_name) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
[['TESTUNINCORPORATEDASSOCIATION2'], ['']]
latest_client_code = [
[
"TESTUNINCORPORATEDASSOCIATION2"
],
[
""
]
]
c_name = [
[
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
]
INFO - execute_python_code : common_functions
Newly declared variables:
path2 = C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_secondary_db_text_file\
lead_schedule_secondary_db_file.txt
ap = [['TESTUNINCORPORATEDASSOCIATION2'], ['']]
new_data = ['TESTUNINCORPORATEDASSOCIATION2', '']
xcel = [['ASHLEYKINGGROUPLIMITED', None, None, None], ['ASPLTD001', None, None,
None], ['AUDITEXEMPTLLPFRS102', None, None, None], ['AUDITEXEMPTLLPFRS1021A', None,
None, None], ['AUDITEXEMPTLLPFRS105', None, ...
get_string = <function get_string at 0x00000265610D8540>
f = <_io.TextIOWrapper name='C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\lead_schedule_files_to_be_compared_secondary_db_text_file\\
lead_schedule_secondary_db_file.txt' mode='a+' encoding='cp1 ...
line = Test Ltd Shares
ASHLEYKINGGROUPLIMITED
ASPLTD001
AUDITEXEMPTLLPFRS102
AUDITEXEMPTLLPFRS1021A
AUDITEX
my_file = <_io.TextIOWrapper name='C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\lead_schedule_files_to_be_compared_secondary_db_text_file\\
lead_schedule_secondary_db_file.txt' mode='r' encoding='cp12 ...
i =
op = <module 'operator' from 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\
Python\\Python311\\Lib\\operator.py'>
data_into_list = ['Test Ltd Shares', 'ASHLEYKINGGROUPLIMITED', 'ASPLTD001',
'AUDITEXEMPTLLPFRS102', 'AUDITEXEMPTLLPFRS1021A', 'AUDITEXEMPTLLPFRS105',
'BALLARAHOLDINGSLIMITED', 'C&FFRS1021ALLPTEST1', 'C&FFRS105DORMANTT ...
c_name = [['TESTUNINCORPORATEDASSOCIATION2', 'TESTUNINCORPORATEDASSOCIATION2']]
latest_client_code = [['TESTUNINCORPORATEDASSOCIATION2'], ['']]
file = <_io.TextIOWrapper name='C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\lead_schedule_files_to_be_compared_main_db_text_file\\
lead_schedule_secondary_main_db_file.txt' mode='a+' encoding='cp1 ...
data = Test Ltd Shares
ASHLEYKINGGROUPLIMITED
ASPLTD001
AUDITEXEMPTLLPFRS102
AUDITEXEMPTLLPFRS1021A
AUDITEXEMPTLLPFRS105
BALLARAHOLDINGSLIMITED
C&FFRS1021ALLPTEST1
C&FFRS105DORMANTTEST1
C&FFULLFRS102TESTSHAR ...
client_code = ['ZLTDGUARANTEE40', None, None, None]
data1 = TESTUNINCORPORATEDASSOCIATION2
By default all the newly declared variables, functions are added in
shared_variables
and accessible in next python_code action or in %| |%.
But if you dont want your newly declared variables accessible in next actions
Cleanup the variables at the end of the code. Such as:
del account_name
del function_name
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0488 secs.
📓 Starting TEST-20187, STEP-7, ACTION-6: 'None' 📓
┌───────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼────────────────┼─────────────────────────────────────┤
│ from_path │ path │ %|lead_schedule_files_to_be_compar… │
│ to_path │ path │ %|Last_secondary_file_run_tracker|… │
│ copy │ utility action │ file │
└───────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Copy_File_or_Folder'.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0028 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0038 secs.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0028 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0035 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0030 secs.
INFO - Entering into function: 'copy_file'.
INFO - Exited from function: 'copy_file'. Runtime: 0.0241 secs.
Copy_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt' copied to the destination 'C:\Users\
Administrator\Desktop\Accounts_Comparison\Last_secondary_file_run_tracker\
lead_schedule_secondary_main_db_file_2025-Apr-16.txt' successfully
INFO - Exited from function: 'Copy_File_or_Folder'. Runtime: 0.0710 secs.
📓 Starting TEST-20187, STEP-7, ACTION-7: 'None' 📓
┌────────┬──────────────────┬───────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼──────────────────┼───────────────────────────┤
│ log 1 │ utility action │ %|latest_client_code|% │
└────────┴──────────────────┴───────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Add_Log'.
Add_Log : BuiltInUtilityFunction
[['TESTUNINCORPORATEDASSOCIATION2'], ['']]
INFO - Exited from function: 'Add_Log'. Runtime: 0.0053 secs.
main : MainDriverApi
Import excel sheet data and fetch the file from there - Lead Schedules , RFS ,
FFS- Data Mine Wizard : Test Step Passed
+-------+------------------------------------------+--------+-------+
| | | Always | |
| ID | STEP #20 | run | Type |
+=======+==========================================+========+=======+
| 56820 | compare pdf file - Lead Schedules - Data | False | local |
| | Mine Wizard - Data Mine Wizard - using | | |
| | python script | | |
+-------+------------------------------------------+--------+-------+
📓 Starting TEST-20187, STEP-20, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-27 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-20, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}#[0m#[0m
INFO - Exited from function: 'run_command'. Runtime: 0.0429 secs.
📓 Starting TEST-20187, STEP-20, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0323 secs.
📓 Starting TEST-20187, STEP-20, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0401 secs.
📓 Starting TEST-20187, STEP-20, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf'
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0117 secs.
📓 Starting TEST-20187, STEP-20, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0215 secs.
📓 Starting TEST-20187, STEP-20, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0083 secs.
📓 Starting TEST-20187, STEP-20, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0064 secs.
📓 Starting TEST-20187, STEP-20, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0051 secs.
📓 Starting TEST-20187, STEP-20, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0080 secs.
📓 Starting TEST-20187, STEP-20, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0181 secs.
📓 Starting TEST-20187, STEP-20, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\
...(truncated 448 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0047 secs.
📓 Starting TEST-20187, STEP-20, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0095 secs.
📓 Starting TEST-20187, STEP-20, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0302 secs.
📓 Starting TEST-20187, STEP-20, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py", line 70, in
<module>
with open(output2, 'r',encoding='utf-8') as file2:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - Exited from function: 'Sleep'. Runtime: 20.0140 secs.
📓 Starting TEST-20187, STEP-20, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0610 secs.
📓 Starting TEST-20187, STEP-20, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0056 secs.
📓 Starting TEST-20187, STEP-20, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\
Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0613 secs.
📓 Starting TEST-20187, STEP-20, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0240 secs.
📓 Starting TEST-20187, STEP-20, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = #[0m{
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0356 secs.
📓 Starting TEST-20187, STEP-20, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf'
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0056 secs.
📓 Starting TEST-20187, STEP-20, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\
Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = The system cannot find the path specified.
{
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0310 secs.
📓 Starting TEST-20187, STEP-20, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ │
│ │ │ # Function to delete │
│ │ │ specified files │
│ │ │ def delete_files(files): │
│ │ │ if os.path.isfile(file): │
│ │ │ os.remove(file) │
│ │ │ print(f"File {file} │
│ │ │ has been deleted.") │
│ │ │ else: │
│ │ │ print(f"File {file} │
│ │ │ does not exist.") │
│ │ │ │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class 'TypeError': Error Message ~ stat:
path should be string, bytes, os.PathLike or integer, not TextIOWrapper: File Name
~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0210 secs.
📓 Starting TEST-20187, STEP-20, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0082 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0204 secs.
📓 Starting TEST-20187, STEP-20, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0072 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted
successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0186 secs.
📓 Starting TEST-20187, STEP-20, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0078 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted
successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0208 secs.
📓 Starting TEST-20187, STEP-20, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0043 secs.
ERROR - Delete_File_or_Folder : BuiltInUtilityFunction
Could not find file in attachments, home directory or in the local directory: C:\
Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0186 secs.
for_loop_action : sequential_actions
Loop action handled successfully
main : MainDriverApi
compare pdf file - Lead Schedules - Data Mine Wizard - Data Mine Wizard - using
python script : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #21 | run | Type |
+=======+==========================================+========+========+
| 56821 | compare pdf file - FFS - Data Mine | False | global |
| | Wizard - Data Mine Wizard - using python | | |
| | script | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-21, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-24 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-21, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
#[0mINFO - Exited from function: 'run_command'. Runtime: 0.0307 secs.
📓 Starting TEST-20187, STEP-21, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0076 secs.
📓 Starting TEST-20187, STEP-21, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0425 secs.
📓 Starting TEST-20187, STEP-21, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0088 secs.
📓 Starting TEST-20187, STEP-21, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0065 secs.
📓 Starting TEST-20187, STEP-21, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0067 secs.
📓 Starting TEST-20187, STEP-21, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0086 secs.
📓 Starting TEST-20187, STEP-21, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0123 secs.
📓 Starting TEST-20187, STEP-21, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0089 secs.
📓 Starting TEST-20187, STEP-21, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0068 secs.
📓 Starting TEST-20187, STEP-21, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\Administrator\\Desktop\\
Accoun
...(truncated 388 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0098 secs.
📓 Starting TEST-20187, STEP-21, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0112 secs.
📓 Starting TEST-20187, STEP-21, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
"C:\Users\Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0265 secs.
📓 Starting TEST-20187, STEP-21, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
['Charity registration number: 632145', "Independent Auditor's Report 1—3",
"Trustees' Report 4—8", "Independent Examiner's Report 9", 'Balance Sheet 12',
'Notes to the Financial Statements 13—36', 'Detailed Statement of Financial
Activities 37—40', '2024 which comprise the Statement of Financial Activities
(including Income and Expenditure Account), Balance Sheet and', 'the related notes,
including a summary of significant accounting policies. The financial reporting
framework that has been', 'applied in their preparation is applicable law and
United Kingdom Accounting Standards (United Kingdom Generally Accepted',
'Accounting Practice), including FRS 102 "The Financial Reporting Standard
applicable in the UK and Republic of Ireland".', "As explained more fully in the
Trustees' Responsibilities Statement set out on page 4—8, the trustees are
responsible for the", 'Mudd Partners LLP', 'Statutory Auditors', 'Lakeview House',
'4 Woodbrook Crescent', 'Essex', 'CM12 0EQ', 'Reference and Administrative
Details', 'Trustees', 'Rev Test Trustee 6', 'Dr Test Trustee 5', 'Other Personnel',
'Sarah Green - CEO', 'Robert Brown - COO', 'Charity Number', '632145', 'Principal
Address', '1 Principal Road', 'Principalshire', 'PR14 5AL', 'Accountants',
'Auditors', 'Mudd Partners LLP', 'Statutory Auditors', 'Lakeview House', '4
Woodbrook Crescent', 'Essex', 'CM12 0EQ', 'Bankers', '1 Bankers Road', 'Bankers
Town', 'Solicitors', '1 Solicitors Avenue', 'Solicitors Town', 'Notes - Edit Notes
- Report of the Trustees - Reference and Administrative Details', 'Unrestricted
Total', 'Notes £ £', 'Donations and legacies 6 516,900 -', 'Charitable Activity 1 7
72,530 -', 'Charitable Activity 2 7 388,100 -', 'Other trading activities 11 76,100
-', 'Investments 5,513 -', 'Separate material item of income 920 -', 'Other 12
5,657 -', '1,065,720 -', 'Raising funds (505,861) -', 'Charitable activities - -',
'(505,861) -', 'NET INCOME BEFORE INVESTMENT GAINS 559,859 -', 'Net losses on
investments (3,720) -', 'NET INCOME 556,139 -', 'Other gains 8,240 -', 'NET
MOVEMENT IN FUNDS 564,379 -', 'Total funds brought forward 8,200 -', 'TOTAL FUNDS
CARRIED FORWARD 568,779 -', 'The notes on pages 13 to 36 form part of these
financial statements.', 'Notes', 'NET INCOME/(expenditure)', 'NET MOVEMENT IN
FUNDS', 'Total funds brought forward', 'The notes on pages 13 to 36 form part of
these financial statements.', 'Unrestricted Restricted Endowment Total Total',
'funds funds funds funds funds', 'Notes £ £ £ £ £', 'Intangible Assets 15 (20,105)
- - 12,096 28,219', 'Tangible Assets 16 (16,511) - - (28,963) (16,534)', 'Heritage
Assets 17 (12,573) 1 1 (12,573) 16,528', 'Investment Properties 18 (4,165) - - (10)
4,155', 'Investments 19 - - - 24,070 19,888', '(53,354) 1 1 (5,380) 52,256',
'Stocks 20 8,601 - - 21,507 25,820', 'Debtors 21 32,333 - - 386,175 353,842',
'Investments 22 23,140 - - 46,280 23,140', 'Cash at bank and in hand 573,752 - -
723,017 149,265', '637,826 - - 1,176,979 552,067', 'Creditors: Amounts Falling Due
Within 23 (5,674) (5,394) (5,394) (175,879) (170,199)', 'NET CURRENT ASSETS
(LIABILITIES) 632,152 (5,394) (5,394) 1,001,100 381,868', 'TOTAL ASSETS LESS
CURRENT 578,798 (5,393) (5,393) 995,720 434,124', 'Creditors: Amounts Falling Due
After 24 (10,013) - - (187,407) (177,394)', 'Provisions For Charges 30 - - -
(6,000) (6,000)', 'Deferred Taxation 29 - - - (61,046) (61,046)', 'NET ASSETS
568,785 (5,393) (5,393) 741,267 189,684', 'FUNDS OF THE CHARITY', 'Unrestricted
Funds 568,779 -', 'TOTAL FUNDS 547,263 -', 'The notes on pages 13 to 36 form part
of these financial statements.', 'Donations and gifts:', 'Donations and gifts
200,000 -', 'Crowd funding 204,000 -', 'Donated goods, facilities and services:',
'Donated goods 23,100 -', 'Use of property 23,600 -', 'The following donations and
legacies are included within the total income from donations and legacies above:',
'Notes - Edit Notes - Income from Donations and Legacies - Donations and Legacies -
Opening Text Box', 'Unrestricted Endowment Total', 'Legacy 1 - 5,000 5,000',
'Donation 1 5,000 - 5,000', '5,000 5,000 10,000', 'Unrestricted Endowment Total',
'Legacy 1 - - -', 'Donation 1 - - -', '- - -', 'Notes - Edit Notes - Income from
Donations and Legacies - Donations and Legacies - Additional Text Box', 'The
following grants are included within the total income from donations and legacies
above:', 'Notes - Edit Notes - Income from Donations and Legacies - Grants -
Opening Text Box', 'Restricted Restricted', 'Grant 1 10,000 -', 'Notes - Edit Notes
- Income from Donations and Legacies - Grants - Additional Text Box', '7. Income
from Charitable Activities', 'Charitable Activity 1', 'Consultancy services 26,100
-', 'Counselling services 2,620 -', 'Development 2,630 -', 'Publications,
newsletters and journals 2,830 -', 'Training 2,920 -', 'Youth programme 2,930 -',
'Rental income 32,500 -', 'Charitable Activity 2', 'Income from charitable
activities 25,000 -', 'Grants 330,000 -', 'Government Grants 33,100 -', '460,630
-', 'Notes - Edit Notes - Income from Charitable Activities', '11. Income from
Other Trading Activities', 'Income from other trading activities 3,500 -',
'Sponsorships 36,100 -', 'Fundraising events 36,500 -', '76,100 -', 'Notes - Edit
Notes - Income from Other Trading Activities', '12. Other Income', 'Royalty,
licence and similar receivables 931 -', 'Release to income funds from endowment 940
-', 'Gain on disposal of intangible fixed assets 945 -', "Gain on disposal of
tangible fixed assets held for charity's own use 946 -", 'Gain on disposal of
heritage assets 947 -', 'Gain on disposal of programme related investment 948 -',
'5,657 -', 'Grants, included above, are as follows:', 'Notes - Edit Notes - Income
from Charitable Activities - Grants - Opening Text Box', 'Restricted Restricted',
'Grant 1 10,000 -', 'Notes - Edit Notes - Income from Charitable Activities -
Grants - Additional Text Box', '10. Funds Received As Agent', 'Notes -> Edit Notes
-> Funds Received as Agent', 'As at Amounts Amounts As at', '4/1/2023 received paid
out 3/31/2024', 'Party 1 - 5,000 (4,550) 450', '- 5,000 (4,550) 450', 'Notes ->
Edit Notes -> Funds Received as Agent -> Additional Text', '8. Investment Income',
'Rental income from investment property 840 -', '9. Average Number of Employees',
'13. Prior Period Adjustment', '14. Header - Additional Note to the Accounts
(SoFA)->Charity', '15. Intangible Assets', '16. Tangible Assets', '17. Heritage
Assets', '18. Investment Property', '19. Investments', '20. Stocks', '21. Debtors',
'22. Current Asset Investments', '23. Creditors: Amounts Falling Due Within One
Year', '24. Creditors: Amounts Falling Due After More Than One Year', '25. Secured
Creditors', '26. Loans', '27. Obligations Under Finance Leases and Hire Purchase',
'28. Capital Grants', '29. Deferred Taxation', '30. Provisions for Liabilities',
'31. Financial Instruments', '32. Foreign Currency Risk', '33. Credit Risk', '34.
Market Risk', '35. Liquidity Risk', '36. Cash-flow Interest Rate Risk', '37. Value
at Risk sensitivity Analysis', '38. Other type of Risk', '39. Contingent Assets',
'40. Contingent Liabilities', '41. Capital Commitments', '42. Other Commitments',
'43. Pension Commitments', '44. Reserves', '45. Post Balance Sheet Events', '46.
Related Party Disclosures', '47. Controlling Parties', '48. Company limited by
guarantee', '49. Exceptional Items', '50. Off-Balance Sheet Arrangements', '51.
Header - Additional Note to the Account->Charity', '52. Transition to FRS 102',
'Page 38', '1,801 -', 'Page 39', '(131,878) -', 'SURPLUS BEFORE TAXATION 527,462
-', 'SURPLUS AFTER TAXATION BEING SURPLUS FOR THE 523,662 -', 'Page 40']
['Charity registration number: 99885562', 'Company Information 1', "Independent
Auditor's Report 2—3", "Trustees' Report 4—7", "Independent Examiner's Report 8",
'Statement of Financial Activities 9', 'Comparative Statement of Financial
Activities 10', 'Balance Sheet 11', 'Notes to the Financial Statements 12—33',
'Detailed Statement of Financial Activities 34—37', 'Company Information',
'Accountants Unbelievable Chartered Accountants', 'Notes -> Edit Notes -> Charity
Information Page->Charity', '2024 which comprise the Statement of Financial
Activities, Balance Sheet and the related notes, including a summary of',
'significant accounting policies. The financial reporting framework that has been
applied in their preparation is applicable law', 'and United Kingdom Accounting
Standards (United Kingdom Generally Accepted Accounting Practice), including FRS
102 "The', 'Financial Reporting Standard applicable in the UK and Republic of
Ireland".', "As explained more fully in the Trustees' Responsibilities Statement
set out on page 4—7, the trustees are responsible for the", 'I E Test', 'Friday,
November 1, 2024', 'Unrestricted Total Total', 'Notes £ £ £', 'Donations and
legacies 516,900 516,900 -', 'Other trading activities 76,100 76,100 -',
'Investments 5,513 5,513 -', 'Separate material item of income 920 920 -', 'Other
5,657 5,657 -', '1,065,720 1,065,720 -', 'Raising funds (505,861) (505,861) -',
'Charitable activities - (21,516) -', '(505,861) (527,377) -', 'NET INCOME BEFORE
INVESTMENT GAINS 559,859 538,343 -', 'Net losses on investments (3,720) (3,720) -',
'NET INCOME 556,139 534,623 -', 'Transfers between funds - - -', 'Other gains 8,240
8,240 -', 'NET MOVEMENT IN FUNDS 564,379 542,863 -', 'Total funds brought forward
8,200 8,200 -', 'TOTAL FUNDS CARRIED FORWARD 568,779 547,263 -', 'The notes on
pages 12 to 33 form part of these financial statements.', 'Total', 'funds', 'Notes
£', 'NET INCOME/(expenditure) -', 'NET MOVEMENT IN FUNDS -', 'Total funds brought
forward -', 'The notes on pages 12 to 33 form part of these financial statements.',
'Notes £ £ £ £', 'Intangible Assets 12 12,096 28,219', 'Tangible Assets 13 (28,963)
(16,534)', 'Heritage Assets 14 (12,573) 16,528', 'Investment Properties 15 (10)
4,155', 'Investments 16 24,070 19,888', '(5,380) 52,256', 'Stocks 17 21,507
25,820', 'Debtors 18 386,175 353,842', 'Investments 19 46,280 23,140', 'Cash at
bank and in hand 723,017 149,265', '1,176,979 552,067', 'Creditors: Amounts Falling
Due Within 20 (175,879) (170,199)', 'NET CURRENT ASSETS (LIABILITIES) 1,001,100
381,868', 'TOTAL ASSETS LESS CURRENT 1,008,293 417,596', 'Creditors: Amounts
Falling Due After 21 (187,407) (177,394)', 'Provisions For Charges 26 (6,000)
(6,000)', 'Deferred Taxation 25 (61,046) (61,046)', 'NET ASSETS 753,840 173,156',
'Statement of Financial Activities 526,519 -', "MEMBERS' FUNDS 526,519 -", 'The
notes on pages 12 to 33 form part of these financial statements.', 'Donations and
gifts 404,000 -', 'Donated goods, facilities and services 46,700 -', '7. Investment
Income', 'Interest on short-term deposits 901 -', 'Interest from investments 1,462
-', 'Dividends from investments 1,410 -', 'Rents received from investment
properties 840 -', '8. Average Number of Employees', '9. Tax on Surplus', 'The tax
charge on the surplus for the year was as follows:', 'Notes -> Edit Notes -> Tax on
Surplus- > Charity', 'Current tax', 'UK Corporation Tax 3,800 -', 'Total tax charge
for the year 3,800 -', 'The actual charge for the year can be reconciled to the
expected charge for the year based on the surplus', 'and the standard rate of
corporation tax as follows:', 'Notes -> Edit Notes -> Tax on Surplus- > Charity',
'Profit before tax 530,319 -', 'Tax on profit at 0% (UK standard rate) 1 1',
'Goodwill/depreciation not allowed for tax 2 2', 'Expenses not deductible for tax
purposes 3 3', 'Tax losses utilised 4 4', 'Capital allowances 5 5', 'Short term
timing differences 6 6', 'Research and Development tax credit 7 7', 'Prior period
adjustment 8 8', 'Difference in tax rates 9 9', 'Total tax charge for the period 45
45', 'Notes -> Edit Notes -> Tax on Surplus- > Charity', '10. Prior Period
Adjustment', '11. Header - Additional Note to the Accounts (SoFA)->Charity', '12.
Intangible Assets', '13. Tangible Assets', '14. Heritage Assets', '15. Investment
Property', '16. Investments', '17. Stocks', '18. Debtors', '19. Current Asset
Investments', '20. Creditors: Amounts Falling Due Within One Year', '21. Creditors:
Amounts Falling Due After More Than One Year', '22. Loans', '23. Obligations Under
Finance Leases and Hire Purchase', '24. Capital Grants', '25. Deferred Taxation',
'26. Provisions for Liabilities', '27. Financial Instruments', '28. Foreign
Currency Risk', '29. Credit Risk', '30. Market Risk', '31. Liquidity Risk', '32.
Cash-flow Interest Rate Risk', '33. Value at Risk sensitivity Analysis', '34. Other
type of Risk', '35. Contingent Assets', '36. Contingent Liabilities', '37. Capital
Commitments', '38. Other Commitments', '39. Pension Commitments', '40. Reserves',
'41. Post Balance Sheet Events', '42. Related Party Disclosures', '43. Controlling
Parties', '44. Company limited by guarantee', '45. Exceptional Items', '46. Off-
Balance Sheet Arrangements', '47. Header - Additional Note to the Account-
>Charity', '48. Transition to FRS 102', '8,378 -', '(135,598) -', 'SURPLUS BEFORE
TAXATION 530,319 -', 'SURPLUS AFTER TAXATION BEING SURPLUS FOR THE 526,519 -']
INFO - Exited from function: 'Sleep'. Runtime: 20.0085 secs.
📓 Starting TEST-20187, STEP-21, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ print(image_quality_s) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
75
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 6.7194 secs.
📓 Starting TEST-20187, STEP-21, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0076 secs.
📓 Starting TEST-20187, STEP-21, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0607 secs.
📓 Starting TEST-20187, STEP-21, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0121 secs.
📓 Starting TEST-20187, STEP-21, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = #[0m{
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0339 secs.
📓 Starting TEST-20187, STEP-21, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0071 secs.
📓 Starting TEST-20187, STEP-21, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\Administrator\
Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
The system cannot find the path specified.
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0507 secs.
📓 Starting TEST-20187, STEP-21, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ # Function to delete a │
│ │ │ specified file │
│ │ │ def delete_file(file_path): │
│ │ │ if │
│ │ │ os.path.isfile(file_path): │
│ │ │ os.remove(file_path) │
│ │ │ print(f"File │
│ │ │ {file_path} has been │
│ │ │ deleted.") │
│ │ │ else: │
│ │ │ print(f"File │
│ │ │ {file_path} does not │
│ │ │ exist.") │
│ │ │ │
│ │ │ # Assuming temp_pdf1_path │
│ │ │ and temp_pdf2_path are │
│ │ │ defined and valid paths │
│ │ │ delete_file(str(temp_pdf1_p… │
│ │ │ delete_file(str(temp_pdf2_p… │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
File C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf does
not exist.
File C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf does not exist.
INFO - execute_python_code : common_functions
Newly declared variables:
delete_file = <function delete_file at 0x0000026551FB0C20>
By default all the newly declared variables, functions are added in
shared_variables
and accessible in next python_code action or in %| |%.
But if you dont want your newly declared variables accessible in next actions
Cleanup the variables at the end of the code. Such as:
del account_name
del function_name
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0254 secs.
📓 Starting TEST-20187, STEP-21, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0215 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf'
deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0314 secs.
for_loop_action : sequential_actions
Loop action handled successfully
📓 Starting TEST-20187, STEP-21, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0044 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0167 secs.
📓 Starting TEST-20187, STEP-21, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0061 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0156 secs.
📓 Starting TEST-20187, STEP-21, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0046 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0149 secs.
main : MainDriverApi
compare pdf file - FFS - Data Mine Wizard - Data Mine Wizard - using python
script : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #22 | run | Type |
+=======+==========================================+========+========+
| 56822 | compare pdf file - RFS - Data Mine | False | global |
| | Wizard - Data Mine Wizard - using python | | |
| | script | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-22, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-27 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-22, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0697 secs.
📓 Starting TEST-20187, STEP-22, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0080 secs.
📓 Starting TEST-20187, STEP-22, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0468 secs.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
📓 Starting TEST-20187, STEP-22, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0185 secs.
📓 Starting TEST-20187, STEP-22, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0076 secs.
📓 Starting TEST-20187, STEP-22, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0073 secs.
📓 Starting TEST-20187, STEP-22, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0080 secs.
📓 Starting TEST-20187, STEP-22, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0090 secs.
📓 Starting TEST-20187, STEP-22, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0077 secs.
📓 Starting TEST-20187, STEP-22, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0052 secs.
📓 Starting TEST-20187, STEP-22, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\Administrator\\Desktop\\
Accoun
...(truncated 388 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0059 secs.
📓 Starting TEST-20187, STEP-22, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0106 secs.
📓 Starting TEST-20187, STEP-22, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
"C:\Users\Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0404 secs.
📓 Starting TEST-20187, STEP-22, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py", line 67, in
<module>
with open(output, 'r',encoding='utf-8') as file1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - Exited from function: 'Sleep'. Runtime: 20.0089 secs.
📓 Starting TEST-20187, STEP-22, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0939 secs.
📓 Starting TEST-20187, STEP-22, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0184 secs.
📓 Starting TEST-20187, STEP-22, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0449 secs.
📓 Starting TEST-20187, STEP-22, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0074 secs.
📓 Starting TEST-20187, STEP-22, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = #[0m{
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0549 secs.
📓 Starting TEST-20187, STEP-22, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0059 secs.
📓 Starting TEST-20187, STEP-22, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\Administrator\
Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = #[0m{
"return_code": null,
"output": ""
}
The system cannot find the path specified.
INFO - Exited from function: 'run_command'. Runtime: 0.0529 secs.
📓 Starting TEST-20187, STEP-22, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ │
│ │ │ # Function to delete │
│ │ │ specified files │
│ │ │ def delete_files(files): │
│ │ │ if os.path.isfile(file): │
│ │ │ os.remove(file) │
│ │ │ print(f"File {file} │
│ │ │ has been deleted.") │
│ │ │ else: │
│ │ │ print(f"File {file} │
│ │ │ does not exist.") │
│ │ │ │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class 'TypeError': Error Message ~ stat:
path should be string, bytes, os.PathLike or integer, not TextIOWrapper: File Name
~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0064 secs.
📓 Starting TEST-20187, STEP-22, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0055 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf'
deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0151 secs.
📓 Starting TEST-20187, STEP-22, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0051 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0131 secs.
📓 Starting TEST-20187, STEP-22, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0051 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_RFS_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0139 secs.
📓 Starting TEST-20187, STEP-22, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0024 secs.
ERROR - Delete_File_or_Folder : BuiltInUtilityFunction
Could not find file in attachments, home directory or in the local directory: C:\
Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0116 secs.
for_loop_action : sequential_actions
Loop action handled successfully
main : MainDriverApi
compare pdf file - RFS - Data Mine Wizard - Data Mine Wizard - using python
script : Test Step Passed
main : MainDriverApi
Test Case Passed
INFO - main : MainDriverApi
Execution time = 115.0 sec
🟢 paul_ap2_5 is Online
[deploy] Run complete.
🟢 paul_ap2_5 is Online
Save temp_run_file_path = 'C:\Users\Administrator\Desktop\Zeuz_new\
Zeuz_Python_Node-dev\AutomationLog'
'adb' is not recognized as an internal or external command,
operable program or batch file.
Server version = 8.0.0
INFO - main : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU
dependency = {
"Browser": "Chrome",
"Mobile": "Android"
}
run_time_params = {
"PDF_FILE_COMPARISON_CLIENT_SHEET": "C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\DB_Excel_Sheet\\Client_List_1.xlsx"
}
PDF_FILE_COMPARISON_CLIENT_SHEET = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\
Accounts_Comparison\\\\DB_Excel_Sheet\\\\Client_List_1.xlsx"
run_id = "debug_paul_ap2_5_CSOXU"
global_attachments = "<Framework.attachment_db.GlobalAttachment object at
0x00000265614F63D0>"
device_order = [
[
1,
1
]
]
device_info = {}
run_id = "debug_paul_ap2_5_CSOXU"
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\Log
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\Log
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\screenshots
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\screenshots
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\performance_report
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\performance_report
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\json_report
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\json_report
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\zeuz_download_folder
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\session_1\TEST-20187\zeuz_download_folder
INFO - create_tc_log_ss_folder : MainDriverApi
Creating folder: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\initial_download_folder
Folder created: C:\Users\Administrator\Desktop\Zeuz_new\Zeuz_Python_Node-dev\
AutomationLog\debug_paul_ap2_5_CSOXU\initial_download_folder
zeuz_download_folder = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\Zeuz_new\\\\
Zeuz_Python_Node-dev\\\\AutomationLog\\\\debug_paul_ap2_5_CSOXU\\\\session_1\\\\
TEST-20187\\\\zeuz_download_folder"
zeuz_attachments_dir = "C:\\\\Users\\\\Administrator\\\\Desktop\\\\Zeuz_new\\\\
Zeuz_Python_Node-dev\\\\AutomationLog\\\\attachments"
╔══════════════════════════════════════════╗
║ ║
║ TEST-20187 ║
║ ║
╠══════════════════════════════════════════╣
║ ║
║ Regresession testing DB - Secondary File ║
║ - RFS , FFS , Lead Schedule - Using ║
║ Datamine from PM - Using python script ║
║ and winmerge - it will close and reopen ║
║ with each 100 clients ║
║ ║
╚══════════════════════════════════════════╝
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #3 | run | Type |
+=======+==========================================+========+========+
| 56884 | Declare pdf and text file path for | False | global |
| | comparison - Paul | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-3, ACTION-1: 'Base pdf file save location
for lead schedules' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ main_folder_name │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
main_folder_name = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0049 secs.
📓 Starting TEST-20187, STEP-3, ACTION-2: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ def │
│ │ │ create_folder_structure(mai… │
│ │ │ subfolders): │
│ │ │ subfolder_paths = {} # │
│ │ │ Dictionary to store │
│ │ │ subfolder paths │
│ │ │ │
│ │ │ # Create the main folder │
│ │ │ if it doesn't exist │
│ │ │ if not │
│ │ │ os.path.exists(main_folder): │
│ │ │ os.makedirs(main_fo… │
│ │ │ print(f"Main folder │
│ │ │ '{main_folder}' created.") │
│ │ │ │
│ │ │ # Create subfolders and │
│ │ │ store their paths │
│ │ │ for subfolder in │
│ │ │ subfolders: │
│ │ │ subfolder_path = │
│ │ │ os.path.join(main_folder, │
│ │ │ subfolder) │
│ │ │ if not │
│ │ │ os.path.exists(subfolder_pa… │
│ │ │ os.makedirs(sub… │
│ │ │ print(f"Subfold… │
│ │ │ '{subfolder}' created.") │
│ │ │ else: │
│ │ │ print(f"Subfold… │
│ │ │ '{subfolder}' already │
│ │ │ exists, skipping.") │
│ │ │ │
│ │ │ # Store the path in │
│ │ │ the dictionary │
│ │ │ subfolder_paths = │
│ │ │ subfolder_path │
│ │ │ │
│ │ │ return subfolder_paths │
│ │ │ │
│ │ │ # Define the main folder │
│ │ │ name │
│ │ │ main_folder_name = │
│ │ │ main_folder_name │
│ │ │ │
│ │ │ # Define the list of │
│ │ │ subfolder names │
│ │ │ subfolder_names = [ │
│ │ │ "Base_PDF_Folder", │
│ │ │ "Secondary_PDF_Folder", │
│ │ │ "Base_Highlighted_PDF_F… │
│ │ │ "Secondary_Highlighted_… │
│ │ │ "Base_Text_File_Folder", │
│ │ │ "Secondary_Text_File_Fo… │
│ │ │ "Comparison_Report_Fold… │
│ │ │ "base_ixbrli_location", │
│ │ │ "secondary_ixbrli_locat… │
│ │ │ "xhtml_report", │
│ │ │ "lead_schedule_main_db_… │
│ │ │ "lead_schedule_secondar… │
│ │ │ "lead_schedule_files_to… │
│ │ │ "lead_schedule_files_to… │
│ │ │ "DB_Excel_Sheet", │
│ │ │ "Last_base_file_run_tra… │
│ │ │ "Last_secondary_file_ru… │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ ] │
│ │ │ │
│ │ │ # Create the folder │
│ │ │ structure and get the paths │
│ │ │ subfolder_paths = │
│ │ │ create_folder_structure(mai… │
│ │ │ subfolder_names) │
│ │ │ │
│ │ │ # Access and print the paths │
│ │ │ for name, path in │
│ │ │ subfolder_paths.items(): │
│ │ │ print(f"Path for │
│ │ │ '{name}': {path}") │
│ │ │ │
│ │ │ # Optionally, you can access │
│ │ │ specific paths directly if │
│ │ │ needed │
│ │ │ lead_schedule_base_pdf = │
│ │ │ subfolder_paths["Base_PDF_F… │
│ │ │ lead_schedule_secondary_pdf │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ lead_schedule_base_highligh… │
│ │ │ = │
│ │ │ subfolder_paths["Base_Highl… │
│ │ │ lead_schedule_secondary_hig… │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ lead_schedule_base_text_file │
│ │ │ = │
│ │ │ subfolder_paths["Base_Text_… │
│ │ │ lead_schedule_secondary_tex… │
│ │ │ = │
│ │ │ subfolder_paths["Secondary_… │
│ │ │ pdf_report_path = │
│ │ │ subfolder_paths["Comparison… │
│ │ │ base_ixbrli_location = │
│ │ │ subfolder_paths["base_ixbrl… │
│ │ │ secondary_ixbrli_location = │
│ │ │ subfolder_paths["secondary_… │
│ │ │ xhtml_report = │
│ │ │ subfolder_paths["xhtml_repo… │
│ │ │ lead_schedule_main_db_text_… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_secondary_db_… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_files_to_be_c… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ lead_schedule_files_to_be_c… │
│ │ │ = │
│ │ │ subfolder_paths["lead_sched… │
│ │ │ DB_Excel_Sheet = │
│ │ │ subfolder_paths["DB_Excel_S… │
│ │ │ Last_base_file_run_tracker = │
│ │ │ subfolder_paths["Last_base_… │
│ │ │ Last_secondary_file_run_tra… │
│ │ │ = │
│ │ │ subfolder_paths["Last_secon… │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ # Print individual paths if │
│ │ │ needed │
│ │ │ print(f"Base PDF Folder │
│ │ │ Path: │
│ │ │ {lead_schedule_base_pdf}") │
│ │ │ print(f"Secondary PDF Folder │
│ │ │ Path: │
│ │ │ {lead_schedule_secondary_pd… │
│ │ │ print(f"Base Highlighted PDF │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_base_highlig… │
│ │ │ print(f"Secondary │
│ │ │ Highlighted PDF Folder Path: │
│ │ │ {lead_schedule_secondary_hi… │
│ │ │ print(f"Base Text File │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_base_text_fi… │
│ │ │ print(f"Secondary Text File │
│ │ │ Folder Path: │
│ │ │ {lead_schedule_secondary_te… │
│ │ │ print(f"Comparison Report │
│ │ │ Folder Path: │
│ │ │ {pdf_report_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
Subfolder 'Base_PDF_Folder' already exists, skipping.
Subfolder 'Secondary_PDF_Folder' already exists, skipping.
Subfolder 'Base_Highlighted_PDF_Folder' already exists, skipping.
Subfolder 'Secondary_Highlighted_PDF_Folder' already exists, skipping.
Subfolder 'Base_Text_File_Folder' already exists, skipping.
Subfolder 'Secondary_Text_File_Folder' already exists, skipping.
Subfolder 'Comparison_Report_Folder' already exists, skipping.
Subfolder 'base_ixbrli_location' already exists, skipping.
Subfolder 'secondary_ixbrli_location' already exists, skipping.
Subfolder 'xhtml_report' already exists, skipping.
Subfolder 'lead_schedule_main_db_text_file' already exists, skipping.
Subfolder 'lead_schedule_secondary_db_text_file' already exists, skipping.
Subfolder 'lead_schedule_files_to_be_compared_main_db_text_file' already exists,
skipping.
Subfolder 'lead_schedule_files_to_be_compared_secondary_db_text_file' already
exists, skipping.
Subfolder 'DB_Excel_Sheet' already exists, skipping.
Subfolder 'Last_base_file_run_tracker' already exists, skipping.
Subfolder 'Last_secondary_file_run_tracker' already exists, skipping.
Path for 'Base_PDF_Folder': C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder
Path for 'Secondary_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_PDF_Folder
Path for 'Base_Highlighted_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder
Path for 'Secondary_Highlighted_PDF_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Highlighted_PDF_Folder
Path for 'Base_Text_File_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder
Path for 'Secondary_Text_File_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder
Path for 'Comparison_Report_Folder': C:\Users\Administrator\Desktop\
Accounts_Comparison\Comparison_Report_Folder
Path for 'base_ixbrli_location': C:\Users\Administrator\Desktop\
Accounts_Comparison\base_ixbrli_location
Path for 'secondary_ixbrli_location': C:\Users\Administrator\Desktop\
Accounts_Comparison\secondary_ixbrli_location
Path for 'xhtml_report': C:\Users\Administrator\Desktop\Accounts_Comparison\
xhtml_report
Path for 'lead_schedule_main_db_text_file': C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_main_db_text_file
Path for 'lead_schedule_secondary_db_text_file': C:\Users\Administrator\Desktop\
Accounts_Comparison\lead_schedule_secondary_db_text_file
Path for 'lead_schedule_files_to_be_compared_main_db_text_file': C:\Users\
Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file
Path for 'lead_schedule_files_to_be_compared_secondary_db_text_file': C:\Users\
Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_secondary_db_text_file
Path for 'DB_Excel_Sheet': C:\Users\Administrator\Desktop\Accounts_Comparison\
DB_Excel_Sheet
Path for 'Last_base_file_run_tracker': C:\Users\Administrator\Desktop\
Accounts_Comparison\Last_base_file_run_tracker
Path for 'Last_secondary_file_run_tracker': C:\Users\Administrator\Desktop\
Accounts_Comparison\Last_secondary_file_run_tracker
Base PDF Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder
Secondary PDF Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder
Base Highlighted PDF Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder
Secondary Highlighted PDF Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Highlighted_PDF_Folder
Base Text File Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Text_File_Folder
Secondary Text File Folder Path: C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder
Comparison Report Folder Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Comparison_Report_Folder
INFO - execute_python_code : common_functions
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.1470 secs.
main : MainDriverApi
Declare pdf and text file path for comparison - Paul : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #4 | run | Type |
+=======+==========================================+========+========+
| 56885 | Declare application file location - | False | global |
| | Paul | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-4, ACTION-1: 'base file ap - only file'
📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ base_file_ap │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
base_file_ap = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0060 secs.
📓 Starting TEST-20187, STEP-4, ACTION-2: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ def │
│ │ │ create_folder_if_not_exists… │
│ │ │ if not │
│ │ │ os.path.exists(folder_path): │
│ │ │ os.makedirs(folder_… │
│ │ │ print(f"Folder │
│ │ │ '{folder_path}' created │
│ │ │ successfully.") │
│ │ │ else: │
│ │ │ print(f"Folder │
│ │ │ '{folder_path}' already │
│ │ │ exists.") │
│ │ │ │
│ │ │ │
│ │ │ folder_path = base_file_ap │
│ │ │ create_folder_if_not_exists… │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
Folder 'C:\Users\Administrator\Desktop\Accounts_Comparison' already exists.
INFO - execute_python_code : common_functions
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0139 secs.
📓 Starting TEST-20187, STEP-4, ACTION-3: 'secondary file ap - only
file' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ secondary_file_ap │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
secondary_file_ap = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0053 secs.
📓 Starting TEST-20187, STEP-4, ACTION-4: 'pdftotext_path' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdftotext_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdftotext_path = "C:\\Users\\Administrator\\Desktop\\xpdf-tools-win-4.05\\xpdf-
tools-win-4.05\\bin64"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0071 secs.
📓 Starting TEST-20187, STEP-4, ACTION-5: 'pdftotext_path' 📓
┌─────────────────────┬──────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼──────────────────┼────────────────────────┤
│ data │ element │ C:\Comparison\WinMerge │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_path │
└─────────────────────┴──────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_path = "C:\\Comparison\\WinMerge"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0052 secs.
📓 Starting TEST-20187, STEP-4, ACTION-6: 'python script for
highlight' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ C:\Users\Administrator\Des… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_script_for_highlight │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_script_for_highlight = "C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0039 secs.
📓 Starting TEST-20187, STEP-4, ACTION-7: '6904' 📓
┌─────────────────────┬─────────────────┬───────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼─────────────────┼───────────────┤
│ data │ element │ 75 │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ image_quality │
└─────────────────────┴─────────────────┴───────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
image_quality = 75
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0037 secs.
📓 Starting TEST-20187, STEP-4, ACTION-8: '6904' 📓
┌─────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├─────────────────────────┼────────────────────┼────────┤
│ data │ element parameter │ 150 │
│ operation │ element parameter │ save │
│ save into variable │ common action │ DPI │
└─────────────────────────┴────────────────────┴────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
DPI = 150
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0061 secs.
main : MainDriverApi
Declare application file location - Paul : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #5 | run | Type |
+=======+==========================================+========+========+
| 56887 | Maintaing quality and DPI with the pdf | False | global |
| | images options | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-5, ACTION-1: '6904' 📓
┌─────────────────────┬─────────────────┬───────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼─────────────────┼───────────────┤
│ data │ element │ 75 │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ image_quality │
└─────────────────────┴─────────────────┴───────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
image_quality = 75
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0057 secs.
📓 Starting TEST-20187, STEP-5, ACTION-2: '6904' 📓
┌─────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├─────────────────────────┼────────────────────┼────────┤
│ data │ element parameter │ 150 │
│ operation │ element parameter │ save │
│ save into variable │ common action │ DPI │
└─────────────────────────┴────────────────────┴────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
DPI = 150
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0042 secs.
main : MainDriverApi
Maintaing quality and DPI with the pdf images options : Test Step Passed
+-----+---------------------------+--------+-------+
| | | Always | |
| ID | STEP #6 | run | Type |
+=====+===========================+========+=======+
| 139 | Declare variables - Nadim | False | local |
+-----+---------------------------+--------+-------+
📓 Starting TEST-20187, STEP-6, ACTION-1: '6904' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ admin │
│ operation │ element parameter │ save │
│ save into variable │ common action │ username │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
username = "admin"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0054 secs.
📓 Starting TEST-20187, STEP-6, ACTION-2: '6905' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ a │
│ operation │ element parameter │ save │
│ save into variable │ common action │ password │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
password = "a"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0042 secs.
📓 Starting TEST-20187, STEP-6, ACTION-3: '6906' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rnd │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rnd = "054293"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0045 secs.
📓 Starting TEST-20187, STEP-6, ACTION-4: '6907' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ office_code │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
office_code = 616389
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0066 secs.
📓 Starting TEST-20187, STEP-6, ACTION-5: '6908' 📓
┌────────────────────┬─────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────┤
│ data │ element │ %|random_data('ul',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ ofc_name │
└────────────────────┴─────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
ofc_name = "riNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0041 secs.
📓 Starting TEST-20187, STEP-6, ACTION-6: '6909' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ ZeuZOffice%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zoffice │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zoffice = "ZeuZOfficeriNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0200 secs.
📓 Starting TEST-20187, STEP-6, ACTION-7: '6910' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ Rubra One, Mulberry │
│ │ parameter │ Business Park, Fishponds │
│ │ │ Road │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ address1 │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
address1 = "Rubra One, Mulberry Business Park, Fishponds Road"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0132 secs.
📓 Starting TEST-20187, STEP-6, ACTION-8: '6911' 📓
┌────────────────────┬─────────────────┬────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────┤
│ data │ element │ United Kingdom │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ country │
└────────────────────┴─────────────────┴────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
country = "United Kingdom"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0047 secs.
📓 Starting TEST-20187, STEP-6, ACTION-9: '6912' 📓
┌───────────────────────┬───────────────────┬───────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼───────────┤
│ data │ element parameter │ Wokingham │
│ operation │ element parameter │ save │
│ save into variable │ common action │ town │
└───────────────────────┴───────────────────┴───────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
town = "Wokingham"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0111 secs.
📓 Starting TEST-20187, STEP-6, ACTION-10: '6913' 📓
┌───────────────────────┬───────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼───────────────────┼────────────┤
│ data │ element parameter │ RG41 2GY │
│ operation │ element parameter │ save │
│ save into variable │ common action │ postalcode │
└───────────────────────┴───────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
postalcode = "RG41 2GY"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0067 secs.
📓 Starting TEST-20187, STEP-6, ACTION-11: '6914' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ Rolename%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rolename │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rolename = "RolenameriNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0068 secs.
📓 Starting TEST-20187, STEP-6, ACTION-12: '6915' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ ZeuZUser%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ ruser │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
ruser = "ZeuZUserriNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0070 secs.
📓 Starting TEST-20187, STEP-6, ACTION-13: '6916' 📓
┌────────────────────┬─────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────────┤
│ data │ element │ %|random_data('n',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ rpassword │
└────────────────────┴─────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
rpassword = 925353
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0209 secs.
📓 Starting TEST-20187, STEP-6, ACTION-14: '6917' 📓
┌────────────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼───────────────────────┤
│ data │ element │ ZeuzFirst%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ fname │
└────────────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
fname = "ZeuzFirstriNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0078 secs.
📓 Starting TEST-20187, STEP-6, ACTION-15: '6918' 📓
┌────────────────────┬─────────────────┬─────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────┤
│ data │ element │ ZeuzSur%|ofc_name|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ sname │
└────────────────────┴─────────────────┴─────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
sname = "ZeuzSurriNONx"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0048 secs.
📓 Starting TEST-20187, STEP-6, ACTION-16: '6919' 📓
┌────────────────────┬─────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────┤
│ data │ element │ %|random_data('ul',6)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ database_name │
└────────────────────┴─────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
database_name = "ctnusE"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0036 secs.
📓 Starting TEST-20187, STEP-6, ACTION-17: '6920' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ %|random_data(n,7)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zeuz │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zeuz = 6444571
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0082 secs.
📓 Starting TEST-20187, STEP-6, ACTION-18: '6921' 📓
┌──────────────────────┬──────────────────┬──────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼──────────────────┼──────────────┤
│ data │ element │ zeuz%|zeuz|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ zeuz1 │
└──────────────────────┴──────────────────┴──────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
zeuz1 = "zeuz6444571"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0109 secs.
📓 Starting TEST-20187, STEP-6, ACTION-19: '6922' 📓
┌───────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼───────────────────────┤
│ date │ element │ %|today(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
16/04/2025
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date = "16/04/2025"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0117 secs.
📓 Starting TEST-20187, STEP-6, ACTION-20: '6923' 📓
┌───────────────┬─────────────────┬──────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼──────────────────────────┤
│ date2 │ element │ %|today-3y(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴──────────────────────────┘
screen_capture = "none"
16/04/2022
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date2 = "16/04/2022"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0082 secs.
📓 Starting TEST-20187, STEP-6, ACTION-21: '6924' 📓
┌───────────────────┬───────────────────┬────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼───────────────────┼────────────────┤
│ data │ element parameter │ today │
│ format │ optional │ %d %B %Y │
│ │ parameter │ │
│ modify datetime │ common action │ variable_name │
└───────────────────┴───────────────────┴────────────────┘
screen_capture = "none"
INFO - Entering into function: 'modify_datetime'.
modify_datetime : common_functions
Modified datetime. New value: 16 April 2025
variable_name = "16 April 2025"
INFO - Exited from function: 'modify_datetime'. Runtime: 0.0122 secs.
📓 Starting TEST-20187, STEP-6, ACTION-22: '6925' 📓
┌────────────────────┬─────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼───────────────────────┤
│ data │ element │ %|random_data(n,10)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ utr │
└────────────────────┴─────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
utr = 3122961384
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0040 secs.
📓 Starting TEST-20187, STEP-6, ACTION-23: '6926' 📓
┌────────────────────┬─────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼──────────────────────┤
│ data │ element │ %|random_data(n,8)|% │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ reg │
└────────────────────┴─────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
reg = 51336586
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0043 secs.
📓 Starting TEST-20187, STEP-6, ACTION-24: '6926' 📓
┌────────────────────┬─────────────────┬────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼────────────────────┤
│ data │ element │ %|zeuz|%@gmail.com │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ email │
└────────────────────┴─────────────────┴────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
email = "
[email protected]"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0081 secs.
📓 Starting TEST-20187, STEP-6, ACTION-25: '6926' 📓
┌───────────────┬─────────────────┬──────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────┼─────────────────┼──────────────────────────┤
│ date3 │ element │ %|today-2y(DD/MM/YYYY)|% │
│ │ parameter │ │
│ save variable │ common action │ save │
└───────────────┴─────────────────┴──────────────────────────┘
screen_capture = "none"
16/04/2023
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
date3 = "16/04/2023"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0092 secs.
📓 Starting TEST-20187, STEP-6, ACTION-26: 'Generated file date' 📓
┌──────────────────┬─────────────────────┬───────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────┼─────────────────────┼───────────────────────────┤
│ today │ element parameter │ %|today(DD/MM/YYYY)|% │
│ save variable │ common action │ save │
└──────────────────┴─────────────────────┴───────────────────────────┘
screen_capture = "none"
16/04/2025
INFO - Entering into function: 'Save_Variable'.
WARNING - The function 'Save_Variable' has been deprecated and will be removed at a
later period.
today = "16/04/2025"
INFO - Exited from function: 'Save_Variable'. Runtime: 0.0082 secs.
📓 Starting TEST-20187, STEP-6, ACTION-27: 'Generated file date' 📓
┌──────────────────────────┬──────────────────────────┬──────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼──────────────────────────┼──────────────┤
│ data │ element parameter │ today │
│ format │ optional parameter │ %d/%m/%Y │
│ modify datetime │ common action │ mod │
└──────────────────────────┴──────────────────────────┴──────────────┘
screen_capture = "none"
INFO - Entering into function: 'modify_datetime'.
modify_datetime : common_functions
Modified datetime. New value: 16/04/2025
mod = "16/04/2025"
INFO - Exited from function: 'modify_datetime'. Runtime: 0.0134 secs.
📓 Starting TEST-20187, STEP-6, ACTION-28: 'Generated file date' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ data │ element parameter │ %|today(YYYY-MMM-DD)|% │
│ operation │ optional │ save │
│ │ parameter │ │
│ save into variable │ common action │ file_date │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
2025-Apr-16
INFO - Entering into function: 'save_into_variable'.
file_date = "2025-Apr-16"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0079 secs.
📓 Starting TEST-20187, STEP-6, ACTION-29: 'counter for PDF' 📓
┌───────────────────────┬────────────────────┬──────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────────┼────────────────────┼──────────────────────┤
│ data │ element parameter │ 0 │
│ operation │ optional parameter │ save │
│ save into variable │ common action │ pdf_client_counter │
└───────────────────────┴────────────────────┴──────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_client_counter = 0
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0053 secs.
main : MainDriverApi
Declare variables - Nadim : Test Step Passed
+-------+------------------------------------------+--------+-------+
| | | Always | |
| ID | STEP #7 | run | Type |
+=======+==========================================+========+=======+
| 39760 | Import excel sheet data and fetch the | False | local |
| | file from there - Lead Schedules , RFS | | |
| | , FFS- Data Mine Wizard | | |
+-------+------------------------------------------+--------+-------+
📓 Starting TEST-20187, STEP-7, ACTION-1: 'None' 📓
┌─────────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────┼────────────────┼─────────────────────────────────────┤
│ create_file │ path │ %|lead_schedule_files_to_be_compar… │
│ create │ utility action │ file │
└─────────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Create_File_or_Folder'.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0022 secs.
INFO - Entering into function: 'CreateFile'.
CreateFile : BuiltInUtilityFunction
Creating file C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt
CreateFile : BuiltInUtilityFunction
File already exists
INFO - Exited from function: 'CreateFile'. Runtime: 0.0080 secs.
Create_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt' created successfully
INFO - Exited from function: 'Create_File_or_Folder'. Runtime: 0.0183 secs.
📓 Starting TEST-20187, STEP-7, ACTION-2: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_files_to_b… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ main_file_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
main_file_path = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
lead_schedule_files_to_be_compared_main_db_text_file\\
lead_schedule_secondary_main_db_file.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0040 secs.
📓 Starting TEST-20187, STEP-7, ACTION-3: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_files_to_b… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ secondary_file_path │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
secondary_file_path = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
lead_schedule_files_to_be_compared_secondary_db_text_file\\
lead_schedule_secondary_db_file.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0071 secs.
📓 Starting TEST-20187, STEP-7, ACTION-4: 'None' 📓
┌─────────────────┬─────────────────┬────────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────┼─────────────────┼────────────────────────────────┤
│ file path │ element │ %|PDF_FILE_COMPARISON_CLIENT_… │
│ │ parameter │ │
│ sheet name │ element │ Sheet1 │
│ │ parameter │ │
│ cell range │ element │ A1:AS5 │
│ │ parameter │ │
│ expand │ optional │ down │
│ │ parameter │ │
│ read from excel │ common action │ excel_sheet │
└─────────────────┴─────────────────┴────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'excel_read'.
excel_sheet = [
[
"ASHLEYKINGGROUPLIMITED",
null,
null,
null
],
[
"ASPLTD001",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS102",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS1021A",
null,
null,
null
],
[
"AUDITEXEMPTLLPFRS105",
null,
null,
null
],
[
"BALLARAHOLDINGSLIMITED",
null,
null,
null
],
[
"C&FFRS1021ALLPTEST1",
null,
null,
null
],
[
"C&FFRS105DORMANTTEST1",
null,
...(truncated 26115 chars)
INFO - Exited from function: 'excel_read'. Runtime: 0.0965 secs.
📓 Starting TEST-20187, STEP-7, ACTION-5: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ xcel = │
│ │ │ sr.Get_Shared_Variables("ex… │
│ │ │ # input data │
│ │ │ path = │
│ │ │ sr.Get_Shared_Variables("ma… │
│ │ │ # input data │
│ │ │ path2 = │
│ │ │ sr.Get_Shared_Variables("se… │
│ │ │ # input data │
│ │ │ │
│ │ │ import os │
│ │ │ import operator as op │
│ │ │ │
│ │ │ with open(path , "r+") as │
│ │ │ my_file: │
│ │ │ data = my_file.read() │
│ │ │ data_into_list = │
│ │ │ data.split("\n") │
│ │ │ # print(data_into_list) │
│ │ │ my_file.close() │
│ │ │ │
│ │ │ def get_string(a): │
│ │ │ if a != None: │
│ │ │ return a │
│ │ │ return '_' │
│ │ │ │
│ │ │ │
│ │ │ try: │
│ │ │ c_name = [] │
│ │ │ │
│ │ │ for client_code in xcel: │
│ │ │ if client_code[0] not │
│ │ │ in data_into_list: │
│ │ │ # client_code_12 │
│ │ │ = │
│ │ │ get_string(client_code[12]) │
│ │ │ # client_code_13 │
│ │ │ = │
│ │ │ get_string(client_code[13]) │
│ │ │ # client_code_14 │
│ │ │ = │
│ │ │ get_string(client_code[14]) │
│ │ │ # client_code_15 │
│ │ │ = │
│ │ │ get_string(client_code[15]) │
│ │ │ # client_code_16 │
│ │ │ = │
│ │ │ get_string(client_code[16]) │
│ │ │ if client_code[0] │
│ │ │ == None: │
│ │ │ continue │
│ │ │ with │
│ │ │ open(path2,"a+") as f: │
│ │ │ if │
│ │ │ (op.countOf(client_code[0]," │
│ │ │ ")) > 0: │
│ │ │ c_name.a… │
│ │ │ ','').replace('N/A','_').up… │
│ │ │ f.write(… │
│ │ │ ','').replace('N/A','_').up… │
│ │ │ else: │
│ │ │ c_name.a… │
│ │ │ ','').replace('N/A','_'),cl… │
│ │ │ f.write(… │
│ │ │ ','').replace('N/A','_')}\n… │
│ │ │ with open(path, │
│ │ │ "a+") as file: │
│ │ │ file.seek(0) │
│ │ │ line = │
│ │ │ file.read(100) │
│ │ │ if len(line) │
│ │ │ > 0: │
│ │ │ file.wri… │
│ │ │ file.write(c… │
│ │ │ my_file = open(path2, │
│ │ │ "r") │
│ │ │ data1 = my_file.read() │
│ │ │ new_data = │
│ │ │ data1.split("\n") │
│ │ │ my_file.close() │
│ │ │ ap = [] │
│ │ │ for i in new_data: │
│ │ │ ap.append(i.split('… │
│ │ │ │
│ │ │ │
│ │ │ except FileNotFoundError as │
│ │ │ e: │
│ │ │ print("No new data got │
│ │ │ added to excel sheet. Error │
│ │ │ description : " , e) │
│ │ │ │
│ │ │ if os.path.exists(path2): │
│ │ │ os.remove(path2) │
│ │ │ else: │
│ │ │ print("Couldn't delete the │
│ │ │ file as the file does not │
│ │ │ exist.") │
│ │ │ │
│ │ │ # │
│ │ │ sr.Set_Shared_Variables("la… │
│ │ │ ap) │
│ │ │ print(ap) │
│ │ │ │
│ │ │ │
│ │ │ sr.Set_Shared_Variables("la… │
│ │ │ ap) │
│ │ │ sr.Set_Shared_Variables("c_… │
│ │ │ c_name) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
[['TESTUNINCORPORATEDASSOCIATION2'], ['']]
latest_client_code = [
[
"TESTUNINCORPORATEDASSOCIATION2"
],
[
""
]
]
c_name = [
[
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
]
INFO - execute_python_code : common_functions
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0254 secs.
📓 Starting TEST-20187, STEP-7, ACTION-6: 'None' 📓
┌───────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼────────────────┼─────────────────────────────────────┤
│ from_path │ path │ %|lead_schedule_files_to_be_compar… │
│ to_path │ path │ %|Last_secondary_file_run_tracker|… │
│ copy │ utility action │ file │
└───────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Copy_File_or_Folder'.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0024 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0036 secs.
INFO - Entering into function: 'raw'.
INFO - Exited from function: 'raw'. Runtime: 0.0056 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0025 secs.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0026 secs.
INFO - Entering into function: 'copy_file'.
INFO - Exited from function: 'copy_file'. Runtime: 0.0225 secs.
Copy_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
lead_schedule_files_to_be_compared_main_db_text_file\
lead_schedule_secondary_main_db_file.txt' copied to the destination 'C:\Users\
Administrator\Desktop\Accounts_Comparison\Last_secondary_file_run_tracker\
lead_schedule_secondary_main_db_file_2025-Apr-16.txt' successfully
INFO - Exited from function: 'Copy_File_or_Folder'. Runtime: 0.0687 secs.
📓 Starting TEST-20187, STEP-7, ACTION-7: 'None' 📓
┌────────┬──────────────────┬───────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼──────────────────┼───────────────────────────┤
│ log 1 │ utility action │ %|latest_client_code|% │
└────────┴──────────────────┴───────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Add_Log'.
Add_Log : BuiltInUtilityFunction
[['TESTUNINCORPORATEDASSOCIATION2'], ['']]
INFO - Exited from function: 'Add_Log'. Runtime: 0.0073 secs.
main : MainDriverApi
Import excel sheet data and fetch the file from there - Lead Schedules , RFS ,
FFS- Data Mine Wizard : Test Step Passed
+-------+------------------------------------------+--------+-------+
| | | Always | |
| ID | STEP #20 | run | Type |
+=======+==========================================+========+=======+
| 56820 | compare pdf file - Lead Schedules - Data | False | local |
| | Mine Wizard - Data Mine Wizard - using | | |
| | python script | | |
+-------+------------------------------------------+--------+-------+
📓 Starting TEST-20187, STEP-20, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-27 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-20, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0224 secs.
📓 Starting TEST-20187, STEP-20, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0142 secs.
📓 Starting TEST-20187, STEP-20, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0281 secs.
📓 Starting TEST-20187, STEP-20, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0082 secs.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf'
📓 Starting TEST-20187, STEP-20, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0086 secs.
📓 Starting TEST-20187, STEP-20, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0093 secs.
📓 Starting TEST-20187, STEP-20, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0076 secs.
📓 Starting TEST-20187, STEP-20, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0053 secs.
📓 Starting TEST-20187, STEP-20, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0045 secs.
📓 Starting TEST-20187, STEP-20, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0073 secs.
📓 Starting TEST-20187, STEP-20, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\
...(truncated 448 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0061 secs.
📓 Starting TEST-20187, STEP-20, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0079 secs.
📓 Starting TEST-20187, STEP-20, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0371 secs.
📓 Starting TEST-20187, STEP-20, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py", line 70, in
<module>
with open(output2, 'r',encoding='utf-8') as file2:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - Exited from function: 'Sleep'. Runtime: 20.0058 secs.
📓 Starting TEST-20187, STEP-20, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0801 secs.
📓 Starting TEST-20187, STEP-20, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0079 secs.
📓 Starting TEST-20187, STEP-20, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\
Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0152 secs.
📓 Starting TEST-20187, STEP-20, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0100 secs.
📓 Starting TEST-20187, STEP-20, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0441 secs.#[0m
#[0m
📓 Starting TEST-20187, STEP-20, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.pdf'
"none"
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0097 secs.
📓 Starting TEST-20187, STEP-20, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\
Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0210 secs.
#[0m
The system cannot find the path specified.
📓 Starting TEST-20187, STEP-20, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ │
│ │ │ # Function to delete │
│ │ │ specified files │
│ │ │ def delete_files(files): │
│ │ │ if os.path.isfile(file): │
│ │ │ os.remove(file) │
│ │ │ print(f"File {file} │
│ │ │ has been deleted.") │
│ │ │ else: │
│ │ │ print(f"File {file} │
│ │ │ does not exist.") │
│ │ │ │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class 'TypeError': Error Message ~ stat:
path should be string, bytes, os.PathLike or integer, not TextIOWrapper: File Name
~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0052 secs.
📓 Starting TEST-20187, STEP-20, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0042 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0162 secs.
📓 Starting TEST-20187, STEP-20, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0039 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted
successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0111 secs.
📓 Starting TEST-20187, STEP-20, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0031 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_Lead_Schedule_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted
successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0141 secs.
📓 Starting TEST-20187, STEP-20, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0021 secs.
ERROR - Delete_File_or_Folder : BuiltInUtilityFunction
Could not find file in attachments, home directory or in the local directory: C:\
Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0085 secs.
for_loop_action : sequential_actions
Loop action handled successfully
main : MainDriverApi
compare pdf file - Lead Schedules - Data Mine Wizard - Data Mine Wizard - using
python script : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #21 | run | Type |
+=======+==========================================+========+========+
| 56821 | compare pdf file - FFS - Data Mine | False | global |
| | Wizard - Data Mine Wizard - using python | | |
| | script | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-21, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-24 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-21, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0174 secs.
📓 Starting TEST-20187, STEP-21, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0069 secs.
📓 Starting TEST-20187, STEP-21, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0326 secs.
📓 Starting TEST-20187, STEP-21, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0150 secs.
📓 Starting TEST-20187, STEP-21, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0044 secs.
📓 Starting TEST-20187, STEP-21, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0110 secs.
📓 Starting TEST-20187, STEP-21, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0100 secs.
📓 Starting TEST-20187, STEP-21, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0084 secs.
📓 Starting TEST-20187, STEP-21, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0139 secs.
📓 Starting TEST-20187, STEP-21, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0087 secs.
📓 Starting TEST-20187, STEP-21, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\Administrator\\Desktop\\
Accoun
...(truncated 388 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0043 secs.
📓 Starting TEST-20187, STEP-21, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0220 secs.
📓 Starting TEST-20187, STEP-21, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
"C:\Users\Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0191 secs.
📓 Starting TEST-20187, STEP-21, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
['Charity registration number: 632145', "Independent Auditor's Report 1—3",
"Trustees' Report 4—8", "Independent Examiner's Report 9", 'Balance Sheet 12',
'Notes to the Financial Statements 13—36', 'Detailed Statement of Financial
Activities 37—40', '2024 which comprise the Statement of Financial Activities
(including Income and Expenditure Account), Balance Sheet and', 'the related notes,
including a summary of significant accounting policies. The financial reporting
framework that has been', 'applied in their preparation is applicable law and
United Kingdom Accounting Standards (United Kingdom Generally Accepted',
'Accounting Practice), including FRS 102 "The Financial Reporting Standard
applicable in the UK and Republic of Ireland".', "As explained more fully in the
Trustees' Responsibilities Statement set out on page 4—8, the trustees are
responsible for the", 'Mudd Partners LLP', 'Statutory Auditors', 'Lakeview House',
'4 Woodbrook Crescent', 'Essex', 'CM12 0EQ', 'Reference and Administrative
Details', 'Trustees', 'Rev Test Trustee 6', 'Dr Test Trustee 5', 'Other Personnel',
'Sarah Green - CEO', 'Robert Brown - COO', 'Charity Number', '632145', 'Principal
Address', '1 Principal Road', 'Principalshire', 'PR14 5AL', 'Accountants',
'Auditors', 'Mudd Partners LLP', 'Statutory Auditors', 'Lakeview House', '4
Woodbrook Crescent', 'Essex', 'CM12 0EQ', 'Bankers', '1 Bankers Road', 'Bankers
Town', 'Solicitors', '1 Solicitors Avenue', 'Solicitors Town', 'Notes - Edit Notes
- Report of the Trustees - Reference and Administrative Details', 'Unrestricted
Total', 'Notes £ £', 'Donations and legacies 6 516,900 -', 'Charitable Activity 1 7
72,530 -', 'Charitable Activity 2 7 388,100 -', 'Other trading activities 11 76,100
-', 'Investments 5,513 -', 'Separate material item of income 920 -', 'Other 12
5,657 -', '1,065,720 -', 'Raising funds (505,861) -', 'Charitable activities - -',
'(505,861) -', 'NET INCOME BEFORE INVESTMENT GAINS 559,859 -', 'Net losses on
investments (3,720) -', 'NET INCOME 556,139 -', 'Other gains 8,240 -', 'NET
MOVEMENT IN FUNDS 564,379 -', 'Total funds brought forward 8,200 -', 'TOTAL FUNDS
CARRIED FORWARD 568,779 -', 'The notes on pages 13 to 36 form part of these
financial statements.', 'Notes', 'NET INCOME/(expenditure)', 'NET MOVEMENT IN
FUNDS', 'Total funds brought forward', 'The notes on pages 13 to 36 form part of
these financial statements.', 'Unrestricted Restricted Endowment Total Total',
'funds funds funds funds funds', 'Notes £ £ £ £ £', 'Intangible Assets 15 (20,105)
- - 12,096 28,219', 'Tangible Assets 16 (16,511) - - (28,963) (16,534)', 'Heritage
Assets 17 (12,573) 1 1 (12,573) 16,528', 'Investment Properties 18 (4,165) - - (10)
4,155', 'Investments 19 - - - 24,070 19,888', '(53,354) 1 1 (5,380) 52,256',
'Stocks 20 8,601 - - 21,507 25,820', 'Debtors 21 32,333 - - 386,175 353,842',
'Investments 22 23,140 - - 46,280 23,140', 'Cash at bank and in hand 573,752 - -
723,017 149,265', '637,826 - - 1,176,979 552,067', 'Creditors: Amounts Falling Due
Within 23 (5,674) (5,394) (5,394) (175,879) (170,199)', 'NET CURRENT ASSETS
(LIABILITIES) 632,152 (5,394) (5,394) 1,001,100 381,868', 'TOTAL ASSETS LESS
CURRENT 578,798 (5,393) (5,393) 995,720 434,124', 'Creditors: Amounts Falling Due
After 24 (10,013) - - (187,407) (177,394)', 'Provisions For Charges 30 - - -
(6,000) (6,000)', 'Deferred Taxation 29 - - - (61,046) (61,046)', 'NET ASSETS
568,785 (5,393) (5,393) 741,267 189,684', 'FUNDS OF THE CHARITY', 'Unrestricted
Funds 568,779 -', 'TOTAL FUNDS 547,263 -', 'The notes on pages 13 to 36 form part
of these financial statements.', 'Donations and gifts:', 'Donations and gifts
200,000 -', 'Crowd funding 204,000 -', 'Donated goods, facilities and services:',
'Donated goods 23,100 -', 'Use of property 23,600 -', 'The following donations and
legacies are included within the total income from donations and legacies above:',
'Notes - Edit Notes - Income from Donations and Legacies - Donations and Legacies -
Opening Text Box', 'Unrestricted Endowment Total', 'Legacy 1 - 5,000 5,000',
'Donation 1 5,000 - 5,000', '5,000 5,000 10,000', 'Unrestricted Endowment Total',
'Legacy 1 - - -', 'Donation 1 - - -', '- - -', 'Notes - Edit Notes - Income from
Donations and Legacies - Donations and Legacies - Additional Text Box', 'The
following grants are included within the total income from donations and legacies
above:', 'Notes - Edit Notes - Income from Donations and Legacies - Grants -
Opening Text Box', 'Restricted Restricted', 'Grant 1 10,000 -', 'Notes - Edit Notes
- Income from Donations and Legacies - Grants - Additional Text Box', '7. Income
from Charitable Activities', 'Charitable Activity 1', 'Consultancy services 26,100
-', 'Counselling services 2,620 -', 'Development 2,630 -', 'Publications,
newsletters and journals 2,830 -', 'Training 2,920 -', 'Youth programme 2,930 -',
'Rental income 32,500 -', 'Charitable Activity 2', 'Income from charitable
activities 25,000 -', 'Grants 330,000 -', 'Government Grants 33,100 -', '460,630
-', 'Notes - Edit Notes - Income from Charitable Activities', '11. Income from
Other Trading Activities', 'Income from other trading activities 3,500 -',
'Sponsorships 36,100 -', 'Fundraising events 36,500 -', '76,100 -', 'Notes - Edit
Notes - Income from Other Trading Activities', '12. Other Income', 'Royalty,
licence and similar receivables 931 -', 'Release to income funds from endowment 940
-', 'Gain on disposal of intangible fixed assets 945 -', "Gain on disposal of
tangible fixed assets held for charity's own use 946 -", 'Gain on disposal of
heritage assets 947 -', 'Gain on disposal of programme related investment 948 -',
'5,657 -', 'Grants, included above, are as follows:', 'Notes - Edit Notes - Income
from Charitable Activities - Grants - Opening Text Box', 'Restricted Restricted',
'Grant 1 10,000 -', 'Notes - Edit Notes - Income from Charitable Activities -
Grants - Additional Text Box', '10. Funds Received As Agent', 'Notes -> Edit Notes
-> Funds Received as Agent', 'As at Amounts Amounts As at', '4/1/2023 received paid
out 3/31/2024', 'Party 1 - 5,000 (4,550) 450', '- 5,000 (4,550) 450', 'Notes ->
Edit Notes -> Funds Received as Agent -> Additional Text', '8. Investment Income',
'Rental income from investment property 840 -', '9. Average Number of Employees',
'13. Prior Period Adjustment', '14. Header - Additional Note to the Accounts
(SoFA)->Charity', '15. Intangible Assets', '16. Tangible Assets', '17. Heritage
Assets', '18. Investment Property', '19. Investments', '20. Stocks', '21. Debtors',
'22. Current Asset Investments', '23. Creditors: Amounts Falling Due Within One
Year', '24. Creditors: Amounts Falling Due After More Than One Year', '25. Secured
Creditors', '26. Loans', '27. Obligations Under Finance Leases and Hire Purchase',
'28. Capital Grants', '29. Deferred Taxation', '30. Provisions for Liabilities',
'31. Financial Instruments', '32. Foreign Currency Risk', '33. Credit Risk', '34.
Market Risk', '35. Liquidity Risk', '36. Cash-flow Interest Rate Risk', '37. Value
at Risk sensitivity Analysis', '38. Other type of Risk', '39. Contingent Assets',
'40. Contingent Liabilities', '41. Capital Commitments', '42. Other Commitments',
'43. Pension Commitments', '44. Reserves', '45. Post Balance Sheet Events', '46.
Related Party Disclosures', '47. Controlling Parties', '48. Company limited by
guarantee', '49. Exceptional Items', '50. Off-Balance Sheet Arrangements', '51.
Header - Additional Note to the Account->Charity', '52. Transition to FRS 102',
'Page 38', '1,801 -', 'Page 39', '(131,878) -', 'SURPLUS BEFORE TAXATION 527,462
-', 'SURPLUS AFTER TAXATION BEING SURPLUS FOR THE 523,662 -', 'Page 40']
['Charity registration number: 99885562', 'Company Information 1', "Independent
Auditor's Report 2—3", "Trustees' Report 4—7", "Independent Examiner's Report 8",
'Statement of Financial Activities 9', 'Comparative Statement of Financial
Activities 10', 'Balance Sheet 11', 'Notes to the Financial Statements 12—33',
'Detailed Statement of Financial Activities 34—37', 'Company Information',
'Accountants Unbelievable Chartered Accountants', 'Notes -> Edit Notes -> Charity
Information Page->Charity', '2024 which comprise the Statement of Financial
Activities, Balance Sheet and the related notes, including a summary of',
'significant accounting policies. The financial reporting framework that has been
applied in their preparation is applicable law', 'and United Kingdom Accounting
Standards (United Kingdom Generally Accepted Accounting Practice), including FRS
102 "The', 'Financial Reporting Standard applicable in the UK and Republic of
Ireland".', "As explained more fully in the Trustees' Responsibilities Statement
set out on page 4—7, the trustees are responsible for the", 'I E Test', 'Friday,
November 1, 2024', 'Unrestricted Total Total', 'Notes £ £ £', 'Donations and
legacies 516,900 516,900 -', 'Other trading activities 76,100 76,100 -',
'Investments 5,513 5,513 -', 'Separate material item of income 920 920 -', 'Other
5,657 5,657 -', '1,065,720 1,065,720 -', 'Raising funds (505,861) (505,861) -',
'Charitable activities - (21,516) -', '(505,861) (527,377) -', 'NET INCOME BEFORE
INVESTMENT GAINS 559,859 538,343 -', 'Net losses on investments (3,720) (3,720) -',
'NET INCOME 556,139 534,623 -', 'Transfers between funds - - -', 'Other gains 8,240
8,240 -', 'NET MOVEMENT IN FUNDS 564,379 542,863 -', 'Total funds brought forward
8,200 8,200 -', 'TOTAL FUNDS CARRIED FORWARD 568,779 547,263 -', 'The notes on
pages 12 to 33 form part of these financial statements.', 'Total', 'funds', 'Notes
£', 'NET INCOME/(expenditure) -', 'NET MOVEMENT IN FUNDS -', 'Total funds brought
forward -', 'The notes on pages 12 to 33 form part of these financial statements.',
'Notes £ £ £ £', 'Intangible Assets 12 12,096 28,219', 'Tangible Assets 13 (28,963)
(16,534)', 'Heritage Assets 14 (12,573) 16,528', 'Investment Properties 15 (10)
4,155', 'Investments 16 24,070 19,888', '(5,380) 52,256', 'Stocks 17 21,507
25,820', 'Debtors 18 386,175 353,842', 'Investments 19 46,280 23,140', 'Cash at
bank and in hand 723,017 149,265', '1,176,979 552,067', 'Creditors: Amounts Falling
Due Within 20 (175,879) (170,199)', 'NET CURRENT ASSETS (LIABILITIES) 1,001,100
381,868', 'TOTAL ASSETS LESS CURRENT 1,008,293 417,596', 'Creditors: Amounts
Falling Due After 21 (187,407) (177,394)', 'Provisions For Charges 26 (6,000)
(6,000)', 'Deferred Taxation 25 (61,046) (61,046)', 'NET ASSETS 753,840 173,156',
'Statement of Financial Activities 526,519 -', "MEMBERS' FUNDS 526,519 -", 'The
notes on pages 12 to 33 form part of these financial statements.', 'Donations and
gifts 404,000 -', 'Donated goods, facilities and services 46,700 -', '7. Investment
Income', 'Interest on short-term deposits 901 -', 'Interest from investments 1,462
-', 'Dividends from investments 1,410 -', 'Rents received from investment
properties 840 -', '8. Average Number of Employees', '9. Tax on Surplus', 'The tax
charge on the surplus for the year was as follows:', 'Notes -> Edit Notes -> Tax on
Surplus- > Charity', 'Current tax', 'UK Corporation Tax 3,800 -', 'Total tax charge
for the year 3,800 -', 'The actual charge for the year can be reconciled to the
expected charge for the year based on the surplus', 'and the standard rate of
corporation tax as follows:', 'Notes -> Edit Notes -> Tax on Surplus- > Charity',
'Profit before tax 530,319 -', 'Tax on profit at 0% (UK standard rate) 1 1',
'Goodwill/depreciation not allowed for tax 2 2', 'Expenses not deductible for tax
purposes 3 3', 'Tax losses utilised 4 4', 'Capital allowances 5 5', 'Short term
timing differences 6 6', 'Research and Development tax credit 7 7', 'Prior period
adjustment 8 8', 'Difference in tax rates 9 9', 'Total tax charge for the period 45
45', 'Notes -> Edit Notes -> Tax on Surplus- > Charity', '10. Prior Period
Adjustment', '11. Header - Additional Note to the Accounts (SoFA)->Charity', '12.
Intangible Assets', '13. Tangible Assets', '14. Heritage Assets', '15. Investment
Property', '16. Investments', '17. Stocks', '18. Debtors', '19. Current Asset
Investments', '20. Creditors: Amounts Falling Due Within One Year', '21. Creditors:
Amounts Falling Due After More Than One Year', '22. Loans', '23. Obligations Under
Finance Leases and Hire Purchase', '24. Capital Grants', '25. Deferred Taxation',
'26. Provisions for Liabilities', '27. Financial Instruments', '28. Foreign
Currency Risk', '29. Credit Risk', '30. Market Risk', '31. Liquidity Risk', '32.
Cash-flow Interest Rate Risk', '33. Value at Risk sensitivity Analysis', '34. Other
type of Risk', '35. Contingent Assets', '36. Contingent Liabilities', '37. Capital
Commitments', '38. Other Commitments', '39. Pension Commitments', '40. Reserves',
'41. Post Balance Sheet Events', '42. Related Party Disclosures', '43. Controlling
Parties', '44. Company limited by guarantee', '45. Exceptional Items', '46. Off-
Balance Sheet Arrangements', '47. Header - Additional Note to the Account-
>Charity', '48. Transition to FRS 102', '8,378 -', '(135,598) -', 'SURPLUS BEFORE
TAXATION 530,319 -', 'SURPLUS AFTER TAXATION BEING SURPLUS FOR THE 526,519 -']
INFO - Exited from function: 'Sleep'. Runtime: 20.0058 secs.
📓 Starting TEST-20187, STEP-21, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ print(image_quality_s) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf
75
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 6.0704 secs.
📓 Starting TEST-20187, STEP-21, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0113 secs.
📓 Starting TEST-20187, STEP-21, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0195 secs.
📓 Starting TEST-20187, STEP-21, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0101 secs.
📓 Starting TEST-20187, STEP-21, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}#[0m
INFO - Exited from function: 'run_command'. Runtime: 0.0237 secs.
📓 Starting TEST-20187, STEP-21, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0071 secs.
📓 Starting TEST-20187, STEP-21, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\Administrator\
Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0215 secs.
📓 Starting TEST-20187, STEP-21, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ # Function to delete a │
│ │ │ specified file │
│ │ │ def delete_file(file_path): │
│ │ │ if │
│ │ │ os.path.isfile(file_path): │
│ │ │ os.remove(file_path) │
│ │ │ print(f"File │
│ │ │ {file_path} has been │
│ │ │ deleted.") │
│ │ │ else: │
│ │ │ print(f"File │
│ │ │ {file_path} does not │
│ │ │ exist.") │
│ │ │ │
│ │ │ # Assuming temp_pdf1_path │
│ │ │ and temp_pdf2_path are │
│ │ │ defined and valid paths │
│ │ │ delete_file(str(temp_pdf1_p… │
│ │ │ delete_file(str(temp_pdf2_p… │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = #[0m"none"
The system cannot find the path specified.
INFO - Entering into function: 'execute_python_code'.
File C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf does
not exist.
File C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf does not exist.
INFO - execute_python_code : common_functions
execute_python_code : common_functions
Executed the python code which was provided
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0369 secs.
📓 Starting TEST-20187, STEP-21, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0143 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf'
deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0303 secs.
for_loop_action : sequential_actions
Loop action handled successfully
📓 Starting TEST-20187, STEP-21, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0048 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_FFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0149 secs.
📓 Starting TEST-20187, STEP-21, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0098 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0245 secs.
📓 Starting TEST-20187, STEP-21, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0051 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0154 secs.
main : MainDriverApi
compare pdf file - FFS - Data Mine Wizard - Data Mine Wizard - using python
script : Test Step Passed
+-------+------------------------------------------+--------+--------+
| | | Always | |
| ID | STEP #22 | run | Type |
+=======+==========================================+========+========+
| 56822 | compare pdf file - RFS - Data Mine | False | global |
| | Wizard - Data Mine Wizard - using python | | |
| | script | | |
+-------+------------------------------------------+--------+--------+
📓 Starting TEST-20187, STEP-22, ACTION-1: 'None' 📓
┌──────────────────────────┬────────────────────┬────────┐
│ Field │ Sub-field │ Value │
├──────────────────────────┼────────────────────┼────────┤
│ for client_code in │ for loop action │ 2-27 │
│ %|c_name|% │ │ │
└──────────────────────────┴────────────────────┴────────┘
WARNING - for_loop_action : sequential_actions
Instead of setting hardcoded action, you can use 'next' keyword in for loop, if
else and conditional actions. For example
next+1,next+4
next to next+4
next action
client_code = [
"TESTUNINCORPORATEDASSOCIATION2",
"TESTUNINCORPORATEDASSOCIATION2"
]
📓 Starting TEST-20187, STEP-22, ACTION-2: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_base_pdf|%… │
│ │ │ "%|lead_schedule_base_text_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0213 secs.
📓 Starting TEST-20187, STEP-22, ACTION-3: 'None' 📓
┌──────────────┬────────────────────────────┬────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
INFO - Exited from function: 'Sleep'. Runtime: 3.0074 secs.
📓 Starting TEST-20187, STEP-22, ACTION-4: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 3.5 -enc UTF-8 │
│ │ │ "%|lead_schedule_secondary_… │
│ │ │ "%|lead_schedule_secondary_… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 3.5 -enc UTF-8 "C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0415 secs.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
📓 Starting TEST-20187, STEP-22, ACTION-5: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_highl… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Highlighted_PDF_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0149 secs.
📓 Starting TEST-20187, STEP-22, ACTION-6: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf_highlighted │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf_highlighted = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Highlighted_PDF_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0066 secs.
📓 Starting TEST-20187, STEP-22, ACTION-7: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_pdf|%… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_PDF_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0064 secs.
📓 Starting TEST-20187, STEP-22, ACTION-8: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_pdf │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_pdf = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_PDF_Folder\\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0095 secs.
📓 Starting TEST-20187, STEP-22, ACTION-9: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_base_text_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file1_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file1_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0040 secs.
📓 Starting TEST-20187, STEP-22, ACTION-10: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|lead_schedule_secondary_… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ file2_text │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
file2_text = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Secondary_Text_File_Folder\\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0155 secs.
📓 Starting TEST-20187, STEP-22, ACTION-11: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|pdf_report_path|%\Report… │
│ │ parameter │ │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ pdf_report │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
pdf_report = "C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Comparison_Report_Folder\\Report_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0041 secs.
📓 Starting TEST-20187, STEP-22, ACTION-12: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ python │
│ │ parameter │ %|python_script_for_highli… │
│ │ │ "%|file1_text|%" │
│ │ │ "%|file2_text|%" │
│ │ │ "%|file1_pdf|%" │
│ │ │ "%|file2_pdf|%" │
│ │ │ "%|file1_pdf_highlighted|%" │
│ │ │ "%|file2_pdf_highlighted|%" │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ python_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'save_into_variable'.
python_var = "python C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
seps.py \"C:\\Users\\Administrator\\Desktop\\Accounts_Comparison\\
Base_Text_File_Folder\\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\
Administrator\\Desktop\\Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_PDF_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf\" \"C:\\Users\\Administrator\\Desktop\\
Accoun
...(truncated 388 chars)
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0077 secs.
📓 Starting TEST-20187, STEP-22, ACTION-13: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 4 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 4.0 seconds
Sleep : common_functions
Sleeping for 4.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 4.0115 secs.
📓 Starting TEST-20187, STEP-22, ACTION-14: 'Click on Database' 📓
┌──────────────────────┬────────────────────┬────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼────────────────────┼────────────────────────┤
│ command │ value │ %|str(python_var)|% │
│ run in background │ optional parameter │ true │
│ run command │ utility action │ run │
└──────────────────────┴────────────────────┴────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'python C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py
"C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf"
"C:\Users\Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf" "C:\Users\Administrator\
Desktop\Accounts_Comparison\Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0182 secs.
📓 Starting TEST-20187, STEP-22, ACTION-15: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 20 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 20.0 seconds
Sleep : common_functions
Sleeping for 20.0 seconds
Output: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt
Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Text_File_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt
File1 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
File2 Path: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
Highlighted Output1: C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Highlighted Output2: C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Accounts_Comparison\seps.py", line 67, in
<module>
with open(output, 'r',encoding='utf-8') as file1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - Exited from function: 'Sleep'. Runtime: 20.0078 secs.
📓 Starting TEST-20187, STEP-22, ACTION-16: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ pdf1_path = │
│ │ │ file1_pdf_highlighted │
│ │ │ pdf2_path = │
│ │ │ file2_pdf_highlighted │
│ │ │ temp_pdf1_path = │
│ │ │ file1_pdf_highlighted.repla… │
│ │ │ temp_pdf2_path = │
│ │ │ file2_pdf_highlighted.repla… │
│ │ │ merged_pdf_path = pdf_report │
│ │ │ │
│ │ │ print(pdf1_path) │
│ │ │ print(pdf2_path) │
│ │ │ print(temp_pdf1_path) │
│ │ │ print(temp_pdf2_path) │
│ │ │ print(merged_pdf_path) │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ │ │ image_folder1 = │
│ │ │ temp_pdf1_path.replace("_hi… │
│ │ │ image_folder2 = │
│ │ │ temp_pdf2_path.replace("_hi… │
│ │ │ output_folder = │
│ │ │ pdf_report.replace(".pdf","… │
│ │ │ + '//' + "combined_images" │
│ │ │ │
│ │ │ │
│ │ │ image_quality_s = │
│ │ │ int(image_quality) │
│ │ │ dpi1 = int(DPI) │
│ │ │ │
│ │ │ import os │
│ │ │ from pdf2image import │
│ │ │ convert_from_path │
│ │ │ from PIL import Image │
│ │ │ │
│ │ │ def │
│ │ │ convert_pdf_to_images(pdf_p… │
│ │ │ image_folder, dpi=dpi1): │
│ │ │ """Convert PDF to images │
│ │ │ and save to the specified │
│ │ │ folder with reduced DPI.""" │
│ │ │ images = │
│ │ │ convert_from_path(pdf_path, │
│ │ │ dpi=dpi) │
│ │ │ image_paths = [] │
│ │ │ for i, img in │
│ │ │ enumerate(images): │
│ │ │ image_path = │
│ │ │ f"{image_folder}/page_{i + │
│ │ │ 1}.jpg" │
│ │ │ img.save(image_path, │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.append(… │
│ │ │ return image_paths │
│ │ │ │
│ │ │ def │
│ │ │ add_blank_images(image_path… │
│ │ │ total_pages, image_folder): │
│ │ │ """Add blank images to │
│ │ │ match the total number of │
│ │ │ pages.""" │
│ │ │ num_pages = │
│ │ │ len(image_paths) │
│ │ │ blank_image_path = │
│ │ │ f"{image_folder}/blank.jpg" │
│ │ │ │
│ │ │ if num_pages < │
│ │ │ total_pages: │
│ │ │ with │
│ │ │ Image.open(image_paths[0]) │
│ │ │ as img: │
│ │ │ width, height = │
│ │ │ img.size │
│ │ │ blank_img = │
│ │ │ Image.new("RGB", (width, │
│ │ │ height), (255, 255, 255)) │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ │
│ │ │ for _ in │
│ │ │ range(total_pages - │
│ │ │ num_pages): │
│ │ │ blank_image_path │
│ │ │ = │
│ │ │ f"{image_folder}/page_{num_… │
│ │ │ + 1}.jpg" │
│ │ │ blank_img.save(… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ image_paths.app… │
│ │ │ │
│ │ │ def │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, │
│ │ │ output_folder): │
│ │ │ """Combine images side │
│ │ │ by side and save as a new │
│ │ │ image.""" │
│ │ │ max_pages = │
│ │ │ max(len(image_paths1), │
│ │ │ len(image_paths2)) │
│ │ │ combined_images = [] │
│ │ │ │
│ │ │ for i in │
│ │ │ range(max_pages): │
│ │ │ img1 = │
│ │ │ Image.open(image_paths1) if │
│ │ │ i < len(image_paths1) else │
│ │ │ Image.open(image_paths1[0]) │
│ │ │ img2 = │
│ │ │ Image.open(image_paths2) if │
│ │ │ i < len(image_paths2) else │
│ │ │ Image.open(image_paths2[0]) │
│ │ │ │
│ │ │ # Combine images │
│ │ │ side by side │
│ │ │ total_width = │
│ │ │ img1.width + img2.width │
│ │ │ max_height = │
│ │ │ max(img1.height, │
│ │ │ img2.height) │
│ │ │ combined_img = │
│ │ │ Image.new("RGB", │
│ │ │ (total_width, max_height)) │
│ │ │ combined_img.paste(… │
│ │ │ (0, 0)) │
│ │ │ combined_img.paste(… │
│ │ │ (img1.width, 0)) │
│ │ │ │
│ │ │ combined_image_path │
│ │ │ = │
│ │ │ f"{output_folder}/combined_… │
│ │ │ + 1}.jpg" │
│ │ │ combined_img.save(c… │
│ │ │ "JPEG", │
│ │ │ quality=image_quality_s) # │
│ │ │ Lower quality to reduce size │
│ │ │ combined_images.app… │
│ │ │ │
│ │ │ return combined_images │
│ │ │ │
│ │ │ def │
│ │ │ convert_images_to_pdf(image… │
│ │ │ output_pdf): │
│ │ │ """Convert a list of │
│ │ │ images to a single PDF.""" │
│ │ │ images = │
│ │ │ [Image.open(img).convert('R… │
│ │ │ for img in image_paths] │
│ │ │ images[0].save(output_p… │
│ │ │ save_all=True, │
│ │ │ append_images=images[1:], │
│ │ │ resolution=100.0) │
│ │ │ │
│ │ │ # Create directories for │
│ │ │ output if they don't exist │
│ │ │ os.makedirs(image_folder1, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(image_folder2, │
│ │ │ exist_ok=True) │
│ │ │ os.makedirs(output_folder, │
│ │ │ exist_ok=True) │
│ │ │ │
│ │ │ # Convert PDFs to images │
│ │ │ with reduced DPI and quality │
│ │ │ image_paths1 = │
│ │ │ convert_pdf_to_images(pdf1_… │
│ │ │ image_folder1, dpi=dpi1) │
│ │ │ image_paths2 = │
│ │ │ convert_pdf_to_images(pdf2_… │
│ │ │ image_folder2, dpi=dpi1) │
│ │ │ │
│ │ │ # Add blank images to match │
│ │ │ page counts │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths2), │
│ │ │ image_folder1) │
│ │ │ add_blank_images(image_path… │
│ │ │ len(image_paths1), │
│ │ │ image_folder2) │
│ │ │ │
│ │ │ # Combine images side by │
│ │ │ side │
│ │ │ combined_images = │
│ │ │ combine_images_side_by_side… │
│ │ │ image_paths2, output_folder) │
│ │ │ │
│ │ │ # Convert combined images │
│ │ │ back to a PDF │
│ │ │ convert_images_to_pdf(combi… │
│ │ │ merged_pdf_path) │
│ │ │ │
│ │ │ print(f"PDFs have been │
│ │ │ merged and saved to │
│ │ │ {merged_pdf_path}") │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf
C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class
'pdf2image.exceptions.PDFPageCountError': Error Message ~ Unable to get page count.
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2_highlighted.pdf': No error.
: File Name ~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0963 secs.
📓 Starting TEST-20187, STEP-22, ACTION-17: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0189 secs.
📓 Starting TEST-20187, STEP-22, ACTION-18: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_base_pdf|%\… │
│ │ │ %|lead_schedule_base_text_f… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Base_PDF_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0286 secs.
📓 Starting TEST-20187, STEP-22, ACTION-19: 'None' 📓
┌──────────────┬────────────────────────────┬─────────────┐
│ Field │ Sub-field │ Value │
├──────────────┼────────────────────────────┼─────────────┤
│ sleep │ common action │ 3 │
└──────────────┴────────────────────────────┴─────────────┘
screen_capture = "none"
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
INFO - Entering into function: 'Sleep'.
Sleeping for 3.0 seconds
Sleep : common_functions
Sleeping for 3.0 seconds
INFO - Exited from function: 'Sleep'. Runtime: 3.0105 secs.
📓 Starting TEST-20187, STEP-22, ACTION-20: 'Click on Database' 📓
┌───────────────────┬─────────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├───────────────────┼─────────────────┼──────────────────────────────┤
│ command │ value │ %|pdftotext_path|%\pdftotext │
│ │ │ -table -lineprinter -fixed │
│ │ │ 4.5 -enc UTF-8 │
│ │ │ %|lead_schedule_secondary_p… │
│ │ │ %|lead_schedule_secondary_t… │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└───────────────────┴─────────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Users\Administrator\Desktop\xpdf-tools-win-4.05\xpdf-tools-
win-4.05\bin64\pdftotext -table -lineprinter -fixed 4.5 -enc UTF-8 C:\Users\
Administrator\Desktop\Accounts_Comparison\Secondary_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}
INFO - Exited from function: 'run_command'. Runtime: 0.0230 secs.
#[0m 📓 Starting TEST-20187, STEP-22, ACTION-21: 'None' 📓
┌────────────────────┬─────────────────┬─────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────────────────┼─────────────────┼─────────────────────────────┤
│ data │ element │ %|winmerge_path|%\WinMerge… │
│ │ parameter │ /u -noninteractive │
│ │ │ "%|lead_schedule_base_text… │
│ │ │ "%|lead_schedule_secondary… │
│ │ │ -or │
│ │ │ "%|pdf_report_path|%\Repor… │
│ operation │ element │ save │
│ │ parameter │ │
│ save into variable │ common action │ winmerge_var │
└────────────────────┴─────────────────┴─────────────────────────────┘
screen_capture = "none"
I/O Error: Couldn't open file 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_PDF_Folder\Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.pdf'
INFO - Entering into function: 'save_into_variable'.
winmerge_var = "C:\\Comparison\\WinMerge\\WinMergeU.exe /u -noninteractive \"C:\\
Users\\Administrator\\Desktop\\Accounts_Comparison\\Base_Text_File_Folder\\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" \"C:\\Users\\Administrator\\Desktop\\
Accounts_Comparison\\Secondary_Text_File_Folder\\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt\" -or \"C:\\Users\\Administrator\\
Desktop\\Accounts_Comparison\\Comparison_Report_Folder\\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html\""
INFO - Exited from function: 'save_into_variable'. Runtime: 0.0091 secs.
📓 Starting TEST-20187, STEP-22, ACTION-22: 'Click on Database' 📓
┌──────────────────────┬───────────────────┬─────────────────────────┐
│ Field │ Sub-field │ Value │
├──────────────────────┼───────────────────┼─────────────────────────┤
│ command │ value │ %|str(winmerge_var)|% │
│ run in background │ optional │ true │
│ │ parameter │ │
│ run command │ utility action │ run │
└──────────────────────┴───────────────────┴─────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'run_command'.
run_command : BuiltInUtilityFunction
Running Command: 'C:\Comparison\WinMerge\WinMergeU.exe /u -noninteractive "C:\
Users\Administrator\Desktop\Accounts_Comparison\Base_Text_File_Folder\
Base_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" "C:\Users\Administrator\Desktop\
Accounts_Comparison\Secondary_Text_File_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2.txt" -or "C:\Users\Administrator\
Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2.html"'
INFO - run_command : BuiltInUtilityFunction
Command output:
run = {
"return_code": null,
"output": ""
}#[0m
The system cannot find the path specified.
INFO - Exited from function: 'run_command'. Runtime: 0.0171 secs.
📓 Starting TEST-20187, STEP-22, ACTION-23: 'None' 📓
┌─────────────────────┬───────────────┬──────────────────────────────┐
│ Field │ Sub-field │ Value │
├─────────────────────┼───────────────┼──────────────────────────────┤
│ execute python code │ common action │ import os │
│ │ │ │
│ │ │ │
│ │ │ # Function to delete │
│ │ │ specified files │
│ │ │ def delete_files(files): │
│ │ │ if os.path.isfile(file): │
│ │ │ os.remove(file) │
│ │ │ print(f"File {file} │
│ │ │ has been deleted.") │
│ │ │ else: │
│ │ │ print(f"File {file} │
│ │ │ does not exist.") │
│ │ │ │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ delete_files(str(temp_pdf1_… │
│ │ │ delete_files(str(temp_pdf2_… │
│ │ │ │
│ │ │ │
│ │ │ │
└─────────────────────┴───────────────┴──────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'execute_python_code'.
ERROR - execute_python_code:common_functions.py
Following exception occurred: Error Type ~ class 'TypeError': Error Message ~ stat:
path should be string, bytes, os.PathLike or integer, not TextIOWrapper: File Name
~ common_functions.py: Function Name ~ execute_python_code: Line ~ 3709
INFO - Exited from function: 'execute_python_code'. Runtime: 0.0091 secs.
📓 Starting TEST-20187, STEP-22, ACTION-24: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder1|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0031 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Base_Highlighted_PDF_Folder\Base_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf'
deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0107 secs.
📓 Starting TEST-20187, STEP-22, ACTION-25: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|image_folder2|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0033 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\
Secondary_Highlighted_PDF_Folder\
Secondary_RFS_TESTUNINCORPORATEDASSOCIATION2_temp.pdf' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0131 secs.
📓 Starting TEST-20187, STEP-22, ACTION-26: 'None' 📓
┌───────────┬─────────────────────┬───────────────────────┐
│ Field │ Sub-field │ Value │
├───────────┼─────────────────────┼───────────────────────┤
│ source │ path │ %|output_folder|% │
│ delete │ utility action │ folder │
└───────────┴─────────────────────┴───────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'DeleteFolder'.
INFO - Exited from function: 'DeleteFolder'. Runtime: 0.0040 secs.
Delete_File_or_Folder : BuiltInUtilityFunction
File 'C:\Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_RFS_TESTUNINCORPORATEDASSOCIATION2//combined_images' deleted successfully
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0111 secs.
📓 Starting TEST-20187, STEP-22, ACTION-27: 'None' 📓
┌────────┬────────────────┬─────────────────────────────────────┐
│ Field │ Sub-field │ Value │
├────────┼────────────────┼─────────────────────────────────────┤
│ source │ path │ %|pdf_report_path|%\Report_FFS_%|c… │
│ delete │ utility action │ folder │
└────────┴────────────────┴─────────────────────────────────────┘
screen_capture = "none"
INFO - Entering into function: 'Delete_File_or_Folder'.
INFO - Entering into function: 'get_home_folder'.
INFO - Exited from function: 'get_home_folder'. Runtime: 0.0058 secs.
ERROR - Delete_File_or_Folder : BuiltInUtilityFunction
Could not find file in attachments, home directory or in the local directory: C:\
Users\Administrator\Desktop\Accounts_Comparison\Comparison_Report_Folder\
Report_FFS_TESTUNINCORPORATEDASSOCIATION2
INFO - Exited from function: 'Delete_File_or_Folder'. Runtime: 0.0164 secs.
for_loop_action : sequential_actions
Loop action handled successfully
main : MainDriverApi
compare pdf file - RFS - Data Mine Wizard - Data Mine Wizard - using python
script : Test Step Passed
main : MainDriverApi
Test Case Passed
INFO - main : MainDriverApi
Execution time = 162.55 sec
🟢 paul_ap2_5 is Online
[deploy] Run complete.
🟢 paul_ap2_5 is Online