204 questions
0
votes
0
answers
41
views
Squish | Unable to launch cmd .exe
I am trying to automate command prompt of external device and explorer.exe.But squish is not able to launch it.Please provide method or code to do so.
I have tried setting its location in AUT settings ...
1
vote
1
answer
60
views
Is there any way to take input from user while running the python script using Squish. #Squish
I have a below scenario:
In my script, I am entering the credential and logging to the application, after login it asks for text code that is sent to the mobile device.
Currently, through code only I ...
1
vote
1
answer
481
views
Squish fails to load Qt AUT
I'm trying to automate my Qt QML application using squish. When I try to capture the testcases for my AUT squish fails to load it. The server log display
Squish Qt toolkit support failed: ...
0
votes
1
answer
189
views
Unable to call Squish functions in Python modules
Problem: Unable to call squish functions in Python modules. Imported squish & added squish. in front of its function but doesn't seem to work.
test.py
import gAPI
screenshot(obj, filename)
...
0
votes
0
answers
77
views
The attachToapplication shows timeout handshake
Integrating squish with robotframework using python library.
Creating the test case using attach to application ${autname} ${host} ${port} ${timeout}
Shows a timeout expired during hand shake
How to ...
0
votes
0
answers
300
views
how to run squish qt test cases on pyqt5 application running on source code
I am new to squish ,so please help me solve this issue .
Is there any way to attach pyqt5 application running on source code (.py) file as a aut in squish for qt, I am using this command to run pyqt5 ...
1
vote
1
answer
302
views
How to using multiple object maps in the same test suite (squish)?
I try to build up a usable framework for squish based test cases. Actually it uses one gigantic Object map, which is surely not works later. So, I wanted to split the text based Object map to several ...
0
votes
1
answer
70
views
When spying GUI objects with squish, Different GUI namespaces are displayed (uiAutomation vs Wpf) depending on the connection type (LAN vs WIFI)
So I'm using Squish 7.1.0 and when running some scripts remotely they don't work when i'm connected through ethernet but they do through wifi (I am trying to migrate to using only ethernet).
I went to ...
0
votes
1
answer
353
views
Setting up a Windows agent for Jenkins to work with Squish
Rather an answer than a question, but I thought there might be other people running into the same issue.
Thus I want to document and share the solution I found here:
We have been using Squish to test ...
-1
votes
1
answer
454
views
how to run the squish qt test suit from the python script
when trying to run a testsuit from the python script the report generated by squish is always showing RuntimeError: Could not connect to Squish server at host 127.0.0.1, port 4322: Connection refused.
...
1
vote
1
answer
287
views
Squish GUI testing for Java, use windows primary mouse button rather than set mouse button manually?
My workplace uses Squish for testing our Java gui, and I recently had an issue where no tests would run properly on my machine, we eventually worked out that this was due to the fact that I use a left-...
0
votes
0
answers
34
views
wand 0.6.11 constructor running in the context of squish requires 2 constructor arguments. Which arguments?
wand 0.6.11 running in the context of squish with python 3.8 seems to require 2 constructor arguments. Which arguments?
I want to use wand.image to compare the result of an image export function of a ...
0
votes
0
answers
79
views
Read JPG/PNG using squish and fetch CSS properties
We need to add an image components verification where we need to verify CSS properties like font-size, font-family, position (x and y axis) etc. are matching with the benchmark data (Excel/JSON format)...
2
votes
1
answer
304
views
Is there any possibility to run all test suites and generate report?
Is there any command with squish runner or any option available in squish to run all the test suites in single run and generate report of complete project?
0
votes
1
answer
84
views
Unable to load/display GUI Window
Followed steps mentioned in squish website,
https://kb.froglogic.com/squish/howto/semi-automatic-testing/
Downloaded and copied easygui.py and choicebox.py in test suite folder.
Copied below script ...
1
vote
1
answer
794
views
Where to install python library or package
Using squish tool to automate my application,
Need to know in which path python library should get installed.
Using Linux environment.
Also is there any possibility to add python library in squish IDE?...
-1
votes
1
answer
349
views
How to handle known Object not found error and continue next line of script execution?
Tool : Squish
Script : Python
How to handle known Object not found error and continue next line of script execution?
Tool : Squish
Script : Python
How to handle known Object not found error and ...
0
votes
1
answer
159
views
Squish 7.0.1 is missing the startwinaut.exe binary
The Squish binary startwinaut.exe appears to be missing from a clean installation.
I'm trying to start an AUT using Squish 7.0.1 and the startApplication("msiexec /i \"C:\\myinstaller.msi\&...
0
votes
3
answers
479
views
How to delete text characters in the text field(eg: username field) in squish tool
Unable to delete text in textbox in squish tool using python. Anyone kindly support.
d.clear() is not working, unable to clear entry in login username.need to clear all text characters in username ...
1
vote
1
answer
413
views
Can you use Squish for Android with other IDEs?
I find Squish IDE extremely clunky and counter intuitive. I wanted to try Squish testing but I would like to use some other tools to write scripts, like VSCode or PyCharm. Is it possible? Could you ...
-1
votes
1
answer
265
views
mouseMove fails with nRuntimeError: Failed sending fake pointer move
I'm running squish (Qt and Windows) on a Windows VM. I use Remote Desktop (RDP) to access the VM. I'm trying to run a suite of tests from the command line (No Squish IDE). Everything works fine if i ...
0
votes
2
answers
329
views
@unittest.skip(reason) can't work on main function
I'd like to prevent/skip some tests cases during runinng others in python. I couldn't achive to use @unittest.skip(reason) on my case. It always generates a Script Error in python unittest.
My code;
...
1
vote
2
answers
418
views
Simulate Bluetooth "Out of range" scenarios for test automation
I've an Android phone which needs to be paired with an embedded device (Qt based application on Linux) which we test. I've automated the basic scenarios using ADB commands, to turn on/off BT on the ...
0
votes
1
answer
910
views
Qt QML Type Combobox Item cannot be accessed in Squish
I am trying to automate my GUI testing with Squish Qt tool. My Qt application was developed using QML scripts. For my automation, I have to select item in a Combobox(QML Type), this is the code i am ...
0
votes
1
answer
246
views
SQUISH issue to recognize "&" in GUI object names
I use SQUISH to perform automated tests (written in python) on a GUI application (based Linux SUSE 15) with Qt version 5.9.4.
This application contains objects with properties (example name of a menu) ...
0
votes
1
answer
980
views
Qt6Widgets.dll cannot load error "Squish 7.0.0 Qt 6.2.3"
I am using Squish 7.0.0 6.2x for my Qt application which is built on Qt 6.2.3. While launching the AUT from squish its throw error "could not load Qtwidgets library qt6widgests.dll : The ...
1
vote
0
answers
121
views
squish qt: How to create QList<QUrl> in squish javascrip
Squish claims that we can directly access all QT API from squish script. I am able to create some QT objects in javascript from Squish QT, e.g.
// create a new QObject
let qObject = new QObject();
...
0
votes
1
answer
669
views
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 ...
0
votes
1
answer
580
views
Squish Date Time Scroll Bar Test
How can I scroll till specific object visible in Squish Tests (QT application)? The scroll bar has date (Month, Day and Year) to pick. Please provide any suggestions on how to locate the object and ...
0
votes
2
answers
316
views
imageSource property is unavailable on Squish IDE?
I would like to know if an image is green or red in a button I test with Squish.
My problem is that the imageSource property of my Qt object button is blank in Squish IDE so I don't know if it ...
0
votes
2
answers
352
views
Keep a class running in a python subprocess or thread or process
I am using Squish to automate a Qt-based GUI application. I look up qt objects in the application recursively. Since it's time-intensive, I would like to cache objects once found for later reuse. I ...
0
votes
0
answers
2k
views
Squish sometimes fails to startApplication on the second test case in a Test Suite when running Valgrind
I have a Squish Test Suite with two test cases inside. It runs fine normally.
However, when Valgrind is enabled, the second test case fails maybe 50% of the time, with the error:
Script Error ...
0
votes
0
answers
1k
views
Squish test: get active or top window by Squish
I am creating automation tests using Squish, application depends on hardware, so I cannot kill application from processes because it is not good for hardware. When test cases are failed, the script ...
0
votes
1
answer
53
views
Reset office application state on start
I use squish for testing and it doesn't close the tested application correct always.
In that case office (Word, Excel, PowerPoint) starts with some recovery options (previous documents getting ...
0
votes
1
answer
587
views
PyQt in Squish IDE
I use Squish IDE in python for automatic tests on Qt Application. During the execution of test case, I want create an external graphic interface to give information test. I have installed PyQt5 ...
0
votes
2
answers
1k
views
Squish test functions always pass when used with squishtest module
We are using Squish for Qt 6.6.2 on Windows 10 with Python 3.8.7 and running our tests using squishtest module with Robot Framework 4.0.1.
We are having an issue with the test functions provided by ...
-1
votes
2
answers
190
views
waitForObject returns the first object matching the pattern. Is there a way I can get list of all objects?
I need a list of all objects with same property/type. Is there a way or an API(just like waitForObject) where I give the type/property and get list of all objects.
I am using Python script for Squish.
1
vote
1
answer
250
views
Public slots not visible in Squish
I have a small application, written in Qt, in which the MainWindow class is having 2 public slots namely:
class MainWindow : public QMainWindow
{
Q_OBJECT
.
.
.
.
public slots:
quint8 ...
0
votes
1
answer
2k
views
Lost AUT connection between test cases in Squish
We are using Squish for QT in Python. For my tests I need to start application before execute test suite and close when execution is done.
To achieve this I do next steps:
Register AUT in Squish IDE
...
0
votes
1
answer
282
views
Reinitializing a PyQt5 App without restarting (for GUI testing with squish)
Is it possible to reinitialize (reset) a pyqt5 GUI App without needing to be closed and restarted? I mean to bring the Pyqt5 App to the original status (like deleting all entries that the user made ...
0
votes
1
answer
157
views
Eclipse (Squish) add custom annotation types
Hay, has anybody experiences with adding custom annotation types or appearance color options to the eclipse squish IDE? I'm trying to find a way to highlight previously verbalized words in the editor (...
0
votes
1
answer
1k
views
Get an object by coordinates without using a name in Squish
I have a problem, waitForObject or findObject only works with elements that are in names. But I need to get these objects simply by coordinates, I use x, y.
Is this in principle possible in Squish?
1
vote
1
answer
2k
views
Custom Python keyword for Robot Framework - Expected 0 arguments, got 1
I'm creating a Python keyword library using Squish for Qt for running a custom Qt application GUI tests with Robot Framework. Currently I'm running Robot Framework 3.2.2 on Python 3.8.7 (and Squish 6....
0
votes
1
answer
378
views
About dragging images with Squish for Windows using Image-Based Testing
I am executing automation testing with Squish for Windows using Image-Based Testing. But some of the events are not working!
For example, i have a control looking like this:
My sample control
I would ...
1
vote
0
answers
374
views
Squish for Windows keep inspecting the whole application window
I've just moved from using Squish for Web to Squish for Windows to automation test a window application, and i'm having this issue. When i tried to record and playback testcases, Squish keep ...
0
votes
0
answers
1k
views
How can I scroll till specific object visible in Squish Tests (QT application)?
I want to scroll to a specific object till it is visible in squish tests. This scroll is a horizontal one. I'm using a QT application. Currently I'm using mouseDrag method to do that. But it doesn't ...
0
votes
1
answer
801
views
Where are Squish tools located?
After installing Squish IDE I get a window that asks for the location of Squish tools. I can't get past it, because the OK button is always disabled and when you click cancel the program exits. I also ...
0
votes
1
answer
118
views
Code control couldn't go inside the child class constructor in javascript
I have been learning squish to automate a desktop application and I'm using Javascript at language to write my tests.
So I have these three following classes in my code : Actions, Button and ...
0
votes
2
answers
676
views
How to detect colorisation on a text box with Squish and Robot framework?
I have a desktop application that has a form that people fill out in text boxes. If an invalid value is entered, then the box turns pink with a red border. I am using Robot framework with Squish to ...
0
votes
0
answers
1k
views
How to use an object in Squish as a pure QT object
I am trying to write a Squish script in python to print all children of a custom QObject. For confidentiality reasons I cannot share any details about the QObject type. The script prints lists all ...