'Squish Remote Control(UI of qt app) from py script

Is there any way i can start Squish Remote Control(UI of qt app) from py script.Trying to avoid Squish IDE. I searched in squish api but hasn't find solution.I guess Remote System should be used. from remotesystem import RemoteSystem def main(): try: remotesys = RemoteSystem("localhost", 4322) except Exception as e: test.fail("Connect to squishserver", str(e))



Solution 1:[1]

You might follow this instruction to use squishtest as a module in your python script to interact with the Gui.

Using Squish as a module in other Python scripts, applications

If you are using the Python Squish interpreter and the Squishserver you can use other IDEs to write your tests.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 A_Wdgnm