Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. Modify picker tool to ignore certain objects
Forum Update on Monday, May 27th 2025

Modify picker tool to ignore certain objects

Scheduled Pinned Locked Moved Solved Squish
2 Posts 1 Posters 279 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HowitzerDev
    wrote on 9 Jan 2025, 15:30 last edited by HowitzerDev 1 Sept 2025, 15:32
    #1

    I've been using Squish for years and on some apps the picker tool has no problem finding the object you click on. But on the current app I'm working on, it can't find almost anything useful. Instead it gets stuck on some container object that encompasses almost the whole UI. I CAN drill down in the Application Objects to find what I'm looking for but test writers cannot be expected to go through this hassle for every control in the UI.

    How can I modify the picker logic to ignore certain objects so it can find the actual control the user clicks on?

    Using Squish for QT version 8. The AUT in question is a QML app.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HowitzerDev
      wrote on 9 Jan 2025, 19:34 last edited by HowitzerDev 1 Sept 2025, 19:36
      #2

      You can modify ControlsExt.qml to do this: https://doc.qt.io/squish/how-to-use-the-qml-extension-api.html#qml-extension-api

      Modify the isIgnored function in the qml file.

      1 Reply Last reply
      0
      • H HowitzerDev has marked this topic as solved on 9 Jan 2025, 19:35

      1/2

      9 Jan 2025, 15:30

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved