Python Forum
Handling Thick client applications using Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling Thick client applications using Python
#1
I need some advices from Python experts for one of my automation requirement that I am planning to succeed using Python.

This requirement is for automating the infrastructure activities like (1) stopping the running components in Virtual Machine, (2) copying files / running SQLs / deploying new codes (3) starting Virtual Machine.

Following are my concerns with regards to this activity?

(a) Stopping some of the running components using Windows Thick-client applications. By using Python, what is the possible way to invoke a windows thick-client application, and do some actions like clicking specific button, reading text messages from specific field, handling alert messages?

(b) Until this time, files are manually copying from local to Virtual machine using WinSCP (Windows Secure Copy). This tool is used for the reason behind that some files are copying in ‘binary’ mode – where this feature is in-built within this tool.

Can we handle this tool using Python or any other way that we can copy the files from local to Virtual Machines in ‘binary’ mode?

I have some background on Selenium (using JAVA) and Shell scripting and started learning Python on these recent days. Your guidance for me will be highly helpful. I am not looking for code, instead advice on Python module or best possible way to handle Thick client applications and to do so actions within it.
Reply
#2

  1. Starting, stopping processes: psutil
    Starting, stopping, creating windows services: pywinservicemanager
    Gui automation: PyAutoGUI
    For alert messages you need a kind of handler. Maybe PyAutogui can do this also, but I have only once time used it for a very simple task (seeking a Button with a screenshot of the button and clicking it).
  2. paramiko and to abstract paramiko you can use scp.


Python 3 can handle binary data strings with encoding.
For Selenium is also a Python-Wrapper/Port available.

For example the LibVirtManager on Linux for KVM is using Python.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Networking Issues - Python GUI client and server connection always freezes Veritas_Vos_Liberabit24 0 679 Mar-21-2023, 03:18 AM
Last Post: Veritas_Vos_Liberabit24
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 915 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
Star python exception handling handling .... with traceback mg24 3 1,219 Nov-09-2022, 07:29 PM
Last Post: Gribouillis
  Handling pdf files with python. fuzzin 1 1,218 Jan-19-2022, 02:24 PM
Last Post: ThiefOfTime
  creating python server and client in a pc kucingkembar 4 1,958 Nov-29-2021, 01:37 PM
Last Post: kucingkembar
  Handling Python Fatal Error richajain1785 7 5,764 Oct-14-2021, 01:34 PM
Last Post: Tails86
  Handling multi-input/output audio in python bor1904 4 3,498 Nov-04-2020, 08:25 AM
Last Post: CHLOVRL
  Python win32com.client: What are the syntax to open exe file & activate its window? JaneTan 0 4,130 Oct-14-2020, 09:09 AM
Last Post: JaneTan
  Python Requests package: Handling xml response soumyarani 1 2,103 Sep-14-2020, 11:41 AM
Last Post: buran
  Opening and closing Mac applications and files Nickd12 5 5,575 Sep-05-2020, 04:39 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020