Posts taggés avec ‘Python’

  • Improved Syntax Highlighting for the Script-based Object Map

    By on juillet 30, 2019

    With the release of the Script-based Object Map, we also added some syntax highlighting options to the Squish IDE. As references to the Script-based Object Map will make up a big part of your test scripts, it’s important to be able to see at first glance which scripted object...

    En savoir plus
    froglogic
  • Setting Up a Python Virtual Environment with Squish

    By on juin 25, 2019

    Python Virtual Environments are great tools for separating different Python configurations on the same machine. Configuring Squish to use a virtual environment gives you the freedom to install packages and make changes that aid your testing efforts without compromising your existing Python installation(s). Here we will show you how...

    En savoir plus
    froglogic
  • Testing Multiple Instances of the Same Application

    By on juin 20, 2019

    In some scenarios, you might need to test multiple instances of your application at the same time, for example if multiple desktop clients access a server. The Squish GUI Tester is capable of handling such scenarios from within one test script. We will demonstrate how to write a test...

    En savoir plus
    froglogic
  • Leveraging Python Packages For Better UI Testing

    By on avril 23, 2019

    Python is a very popular language, and for good reason. A wealth of production-quality packages for performing all kinds of tasks is freely available on the Internet. But did you know that all this power is readily available in Squish tests, too? This article explains how to extend the...

    En savoir plus
    froglogic
  • Finding Table Cells by Header Text

    By on janvier 15, 2019

    Surely you have seen (screenshots of) huge Excel spreadsheets before. If not, just imagine a wall of numbers. Now imagine such a table in the application you need to test. Verifying a table cell by looking for the correct number? Not so easy. What would be better than looking...

    En savoir plus
    froglogic
  • Live update of Python code during debugging, using builtin reload()

    By on août 28, 2018

    Introduction When debugging a Test Script, one can use Python’s built-in reload() from the Squish Script Console to get recent changes to module functions in the currently running Test Execution. Debugging Python Test Scripts While debugging your Test Scripts in the Squish IDE, the Script Console might come in...

    En savoir plus
    froglogic
  • Replay Squish tests using the ‘squishtest’ module

    By on juin 19, 2018

    Why? Since 5.1, Squish offers a squishtest Python module. It lets you use Squish as a module in Python scripts without involving the squishrunner. If using the squishtest module helps you improve your testing efforts but you already have a lot of existing testcases (written in Python), this might...

    En savoir plus
    froglogic
  • Squish & Python

    By on avril 17, 2018

    Squish is shipped with different scripting languages allowing to start recording or writing tests cases in any of them without lengthily setup. The list is: Ruby, JavaScript, Perl, Tcl and the one of interest in this article Python. The intent of this article is to provide information that might...

    En savoir plus
    froglogic
  • Overview of the new file comparison functions in Squish 6.3

    By on septembre 12, 2017

    With Squish 6.3 we added two new file comparison functions. The objective is to make it easier to verify not just the application state but also the output an application might generate. Squish now offers a general comparison function test.compareTextFiles. This function can be used to compare any type...

    En savoir plus
    froglogic
  • Squish tip of the week: How to get around folding/collapsing comment lines while editing comments in Python

    By on novembre 2, 2016

    Lately, there was a support question regarding folding/collapsing comment lines while editing comments in Python. If one tries to comment tests in Python, the Squish IDE folds or minimizes the comment while writing. In some cases this is unpleasant and time-consuming even if one subsequently clicks the small « + »...

    En savoir plus
    froglogic