Questions tagged [squish]

Squish is a cross-platform/cross-technology GUI test automation tool for functional GUI regression tests.

Squish is a cross-platform/cross-technology GUI test automation tool for functional GUI regression tests.

Features:

  • dedicated support for Qt, QtQuick, QML, Java, AWT, Swing, SWT, RCP, JavaFx, Windows, Mac, Tk, 4Js, iOS, Android, Embedded (Qt, Windows, Java) and Web, HTML5, Flex & JavaApplets
  • testing on Windows, Linux, Mac OS X, Unix. Mobile and Embedded testing on Android, iOS, embedded Linux and RTOSes such as QNX
  • Eclipse-based IDE
  • based object identification & Toolkit API Support
  • tests in your choice of Python, JavaScript, Perl, Ruby & Tcl
  • BDD tests with built-in (Gherkin) Feature File recording, playback & reporting
  • integrations with many ALM and Continuous Integration tools for executing and managing tests
  • complete command-line interface available

More information about Squish is available at https://www.froglogic.com/squish/.

204 questions
0
votes
3 answers

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 field. Tried delete, pop, clear, clean. Above…
Srinivas R
  • 31
  • 2
0
votes
0 answers

Squish doesn't record anything for QQuickView Application

I have Qt application that is using QQuickView. I am trying to record some test and Squish produces just one line attachToApplication("myApp"). What I am doing wrong? Is it any extension should be installed separately for QQuickView apps? I am using…
kwit04ka
  • 11
  • 5
0
votes
2 answers

@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; import unittest @unittest.skip("something") def…
Erol Erdogan
  • 128
  • 9
0
votes
1 answer

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 using for that. import…
smuthu06
  • 39
  • 3
0
votes
1 answer

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) containing the character "&". My test script…
0
votes
1 answer

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 specified module could not be found." While launching AUT…
smuthu06
  • 39
  • 3
0
votes
1 answer

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…
0
votes
1 answer

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 scroll or drag to a particular date.
rdeep
  • 49
  • 1
  • 6
0
votes
2 answers

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 displays a green image or a red image. Anyone knows how…
Fila2016
  • 53
  • 1
  • 6
0
votes
2 answers

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 have the below class to maintain a cache of objects…
0
votes
0 answers

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 RuntimeError: startApplication() failed I see in the…
Alchete
  • 1,629
  • 2
  • 18
  • 29
0
votes
0 answers

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 just clicks the Shutdown button. But I don't know…
kwit04ka
  • 11
  • 5
0
votes
1 answer

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 restored, some dialog windows appear, etc) I need to…
shuriksun
  • 1
  • 1
0
votes
1 answer

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 package in my environment, but when I import the…
0
votes
2 answers

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 the Squish API where any verifications done with…
Morkkis
  • 450
  • 3
  • 12