worker-automate-hub 0.4.452__py3-none-any.whl → 0.5.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -2214,13 +2214,10 @@ async def select_documento_type(document_type: str) -> RpaRetornoProcessoDTO:
2214
2214
  try:
2215
2215
  set_combobox("||List", document_type)
2216
2216
  except Exception as e:
2217
- console.log("Não foi possivel selecionar o tipo de documento via set combobox, realizando a alteração utilizando pyautogui write")
2218
- pyautogui.write(document_type)
2219
- await worker_sleep(1)
2220
- pyautogui.hotkey("enter")
2221
- await worker_sleep(2)
2222
- pyautogui.write(document_type)
2223
- await worker_sleep(4)
2217
+ console.log("Não foi possivel selecionar o tipo de documento via set combobox, realizando a alteração utilizando send keys")
2218
+ combo_box_tipo_documento.click_input(double=True)
2219
+ send_keys(document_type)
2220
+
2224
2221
 
2225
2222
 
2226
2223
  combo_box_tipo_documento = panel_TTabSheet.child_window(class_name="TDBIComboBox", found_index=1)
@@ -2496,7 +2493,7 @@ async def itens_not_found_supplier(xml: str):
2496
2493
 
2497
2494
  window_title = main_window.window_text()
2498
2495
 
2499
- if "Confirm" in window_title:
2496
+ if "Confirm" in window_title or "Seleciona Itens Fornecedor" in window_title:
2500
2497
  console.print(f"Itens nao localizados para o fornecedor...\n")
2501
2498
  if main_window.exists():
2502
2499
  main_window.type_keys("%n")
@@ -3199,7 +3196,6 @@ async def kill_all_emsys():
3199
3196
  status=RpaHistoricoStatusEnum.Falha,
3200
3197
  )
3201
3198
 
3202
-
3203
3199
  async def errors_generate_after_import(xml_nota: str) -> RpaRetornoProcessoDTO:
3204
3200
  try:
3205
3201
  app = Application().connect(class_name="TFrmExibeLogErroImportacaoNfe")
@@ -3299,4 +3295,4 @@ async def errors_generate_after_import(xml_nota: str) -> RpaRetornoProcessoDTO:
3299
3295
  sucesso=False,
3300
3296
  retorno=f"Erro ao processar - Tela de Erros gerados na importação do NF-e, {e}",
3301
3297
  status=RpaHistoricoStatusEnum.Falha,
3302
- )
3298
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.452
3
+ Version: 0.5.2
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -67,10 +67,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
67
67
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
68
68
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
69
69
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
70
- worker_automate_hub/utils/util.py,sha256=JkSKFgnI6geDEIlpaJJ5Btd7XdPllfUSFcjvPAaG-bo,125954
70
+ worker_automate_hub/utils/util.py,sha256=3XNBaYVbJ-KgWyHDKY2jIFuQzgBQs-w1d5iEQZv1D4U,125867
71
71
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=p5r_L5k7gqCBvV8v6dbLFM6INKiSpGc4Gegid0_YAh4,29017
72
72
  worker_automate_hub/worker.py,sha256=tftQpX8liC-_0_bOUf1YYzXSCvloMQBvjmQ6lzfEE-c,4816
73
- worker_automate_hub-0.4.452.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
74
- worker_automate_hub-0.4.452.dist-info/METADATA,sha256=oeotvnViitb5bobxlb5GT2eFBeq5fFqt-fQTayvUE8I,2895
75
- worker_automate_hub-0.4.452.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
76
- worker_automate_hub-0.4.452.dist-info/RECORD,,
73
+ worker_automate_hub-0.5.2.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
74
+ worker_automate_hub-0.5.2.dist-info/METADATA,sha256=H-HRJpi5repINo4ieCCsES-Jfk0wN82BSHMgG1PwpeA,2893
75
+ worker_automate_hub-0.5.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
76
+ worker_automate_hub-0.5.2.dist-info/RECORD,,