worker-automate-hub 0.4.339__py3-none-any.whl → 0.4.341__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- worker_automate_hub/utils/util.py +14 -5
- {worker_automate_hub-0.4.339.dist-info → worker_automate_hub-0.4.341.dist-info}/METADATA +2 -2
- {worker_automate_hub-0.4.339.dist-info → worker_automate_hub-0.4.341.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.4.339.dist-info → worker_automate_hub-0.4.341.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.339.dist-info → worker_automate_hub-0.4.341.dist-info}/entry_points.txt +0 -0
@@ -318,17 +318,26 @@ async def login_emsys_fiscal(
|
|
318
318
|
app = Application().connect(class_name="TFrmLoginModulo")
|
319
319
|
main_window = app["Login"]
|
320
320
|
|
321
|
-
|
322
|
-
|
323
|
-
edit_password = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=0)
|
321
|
+
user = config.get("user")
|
324
322
|
password = config.get("pass")
|
325
|
-
edit_password.set_edit_text(password)
|
326
323
|
|
324
|
+
if not user or not password:
|
325
|
+
return RpaRetornoProcessoDTO(
|
326
|
+
sucesso=False,
|
327
|
+
retorno=f"Erro: Não foi possivel obter as credencias para login",
|
328
|
+
status=RpaHistoricoStatusEnum.Falha,
|
329
|
+
)
|
330
|
+
|
331
|
+
main_window.set_focus()
|
327
332
|
await worker_sleep(1)
|
328
333
|
edit_user = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=1)
|
329
|
-
user = config.get("user")
|
330
334
|
edit_user.set_edit_text(user)
|
331
335
|
|
336
|
+
await worker_sleep(2)
|
337
|
+
edit_password = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=0)
|
338
|
+
edit_password.set_edit_text(password)
|
339
|
+
|
340
|
+
|
332
341
|
await worker_sleep(2)
|
333
342
|
pyautogui.press("enter")
|
334
343
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: worker-automate-hub
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.341
|
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
|
@@ -74,7 +74,7 @@ Worker Automate Hub is available on PyPI. You can install it through `pip`:
|
|
74
74
|
- Worker Automate Hub should work on Windows 7 or newer, but we only officially support Windows 8+.
|
75
75
|
|
76
76
|
# TODO
|
77
|
-
|
77
|
+
New version
|
78
78
|
RUN
|
79
79
|
LINT
|
80
80
|
|
@@ -64,10 +64,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
64
64
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
65
65
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
66
66
|
worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxtygE2Jps,7280
|
67
|
-
worker_automate_hub/utils/util.py,sha256=
|
67
|
+
worker_automate_hub/utils/util.py,sha256=O3gPOqUJOQBaxEGvjXlQRWxW76kPb5pJOizshzWP3cA,117264
|
68
68
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=4--3HDyWddT8vw2mBNY_-9IscvAQYBygwPIMiKvAG-w,27583
|
69
69
|
worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.341.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.341.dist-info/METADATA,sha256=jgj9pNAhv1hZ4ybOk2SHnlIgFIDmhGpskryg4UuQcIY,2895
|
72
|
+
worker_automate_hub-0.4.341.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.341.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.339.dist-info → worker_automate_hub-0.4.341.dist-info}/entry_points.txt
RENAMED
File without changes
|