207 questions
0
votes
0
answers
74
views
Problem running and testing the application in squish
I have recently started using Squish for an application I made with Qt.
After installing it I was able to run some tests on the application, but now I am getting an error as shown below:
The Runner/...
0
votes
0
answers
76
views
Python Squish wrapper that reports the original call location
Just some background, so this doesn't end up being an XY Problem:
The Squish library has some basic methods to do tests, test.verify, test.compare, etc.
Because the screenshot functionality is not ...
1
vote
1
answer
128
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 ...
0
votes
1
answer
270
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)
gAPI....
0
votes
0
answers
416
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 ...
0
votes
1
answer
144
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 ...
-1
votes
1
answer
674
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.
...
0
votes
0
answers
36
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 ...
2
votes
1
answer
417
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?
1
vote
1
answer
1k
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?...
0
votes
1
answer
195
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\&...
1
vote
1
answer
482
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 ...
0
votes
2
answers
356
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;
...
0
votes
1
answer
1k
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
1k
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 ...
0
votes
1
answer
745
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
2
answers
360
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
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
1
answer
58
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
2
answers
2k
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
vote
1
answer
282
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
333
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
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?
0
votes
1
answer
466
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 ...
0
votes
0
answers
2k
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 ...