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
1
vote
1 answer

MFC Resource ID and Squish

I'm trying to automate some GUI testing with Squish and keep getting problems with MFC resource IDs in Squish. I create a static label like this: CStatic m_Status; m_Status.Create("", WS_CHILD | WS_VISIBLE | SS_CENTERIMAGE | SS_LEFT, …
jpou
  • 1,935
  • 2
  • 21
  • 30
1
vote
1 answer

Is There a tutorial how to suppress Pylint warnings for Squish?

I am trying to suppress Pylint warnings from Squish, but not have same code written in front of the code like is described here: https://kb.froglogic.com/display/KB/Example+-+Using+PyLint+with+Squish+test+scripts+that+use+source%28%29 I would like…
1
vote
1 answer

TypeError: range() integer end argument expected, got int

I'm using Squish 6.4.2 to test my Qt applications, using Python 2.7.10 as the test scripting language and got the following error message when trying to use the range() function: TypeError: range() integer end argument expected, got int. Here's a…
ita
  • 115
  • 1
  • 7
1
vote
2 answers

Python 3rd party modules cannot be found in Squish

I am using "Squish for Web 6.3.1" for web application automation testing on Windows 10 platform. Inside the squish testing script, I need to use some 3rd party modules, such as requests, urllib3, etc. I've changed the python installation to my…
1
vote
1 answer

How are multiple matches handled for waitForObject?

I didn't find any statement in the Squish documentation about this: How is it handled in waitForObject (and other functions) if there are multiple matches for a given pattern? Is the first entry returned or does this result in a LookupError?
1
vote
1 answer

Is there a way in squish to use plural and singular in same BDD step?

I am trying to implement a BDD step which can be use if the step is referring to singular or plural ex: Then I should see the name "John" is displayed but also I want to use the same step if I have more then one name Then I should see the names…
1
vote
1 answer

How do Squish knows that it can execute another line?

There is a timeout of, by default 20 seconds, on Squish 6.2.0 (example given). How Squish knows after this timeout that it can execute another line ?
user6547518
1
vote
2 answers

Squish is not recognizing object

I'm trying to import objects from an external file. The Object is not stored in Object map. Definition: shutterMultiplier = waitForObject({"name": "UserVisible/Capturing Settings/Basic/Shutter Multiplier.AHBox.SpinBox", "type":…
Od1ne
  • 11
  • 6
1
vote
2 answers

Is there a shortcut to stop running in squish?

When I run a test case using Squish (version 6.2.0), is there a way to stop the run from keyboard ? I know that the Squish toolbar contains a button to do that. Unfortunately, this button is not accessible with the mouse when the test case is…
user6547518
1
vote
1 answer

Squish sharing step definitions across test suites (BDD)

On https://kb.froglogic.com/display/KB/Sharing+step+definitions+across+test+suites+%28BDD%29 it is described how to share step definition across test suits, but is not working for me. My case: source(findFile('scripts',…
1
vote
1 answer

how to add multiple test cases in a test suite inside jenkinsfile for jenkins?

I have a stage on jenkins which has to execute squish tests. Inside the jenkins file I have: step([$class: 'SquishBuilder', squishConfig: 'Default', testSuite: env.WORKSPACE +"/test_suites/suite_sample_module2"]) I…
golu kashyap
  • 213
  • 2
  • 5
  • 10
1
vote
1 answer

Assigning a QDateTime to QDateTimeEdit within QTableWidget

I'm working on a function in which I hope will set the correct date/time of a QDateTimeEdit object within a given table cell. The function is as follows: function setCalDateTime(iRow, month, day, year, hour, minute, ampm) { // We get a handle to the…
TargetofGravity
  • 343
  • 1
  • 6
  • 14
1
vote
1 answer

Using Qt Event Handlers in squishtest

I'm using squishtest library for manipulating Qt application from my Python code and attempting to use event handlers as follows: import squishtest def handle_mouse_event(event): print…
Vader
  • 3,675
  • 23
  • 40
1
vote
3 answers

Wait for an object property to be set in squish

I am using Squish 6.3 Qt. The application i am testing contains a QLabel whose content changes dynamically. Is it possible to wait for the label to be set to a particular value? I can't use waitForObject as the object always exists and only its text…
Shaiju Janardhanan
  • 546
  • 1
  • 11
  • 21
1
vote
1 answer

Halcon 9.0 generating errors under Windows 10 (but not Windows 8.1)

We are currently developing a C++ application (with VS2015) which uses Qt (5.9, for the UI framework) and Halcon 9.0 (for image processing). Recently we decided to use Squish to facilitate UI tests, and the initial test suites were executed without…
CharonX
  • 2,130
  • 11
  • 33
1 2
3
13 14