Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Find and share HowTos to various installations / configurations!
Search

Post Reply
5 posts • Page 1 of 1
Sector97
Posts: 13
Joined: Thu Feb 02, 2023 3:26 am

Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Post by Sector97 »

Hi everyone,

I am exploring options for automated GUI testing of WinCC OA and have identified Squish https://kb.froglogic.com/squish/installation/ as a potential tool for this purpose. However, I am quite new to Squish, and I've been running into issues integrating it with WinCC OA. I've been able to successfully load WinCC OA test panels with Squish, but Squish seems to struggle detecting any basic shapes or reference panels within my test panel.

For example, in the screenshot below, Squish can't seem to detect the Circle, Square, or reference panel that I have added to my test panel (see below image). It only sees the enclosing container of the panel (it appears in Squish as though there are no child elements).
https://pasteboard.co/yNcAoq29Gm3R.png

Lacking the ability to detect those components would limit the utility of Squish as a testing tool. Is there something obvious I'm missing in order to configure Squish to detect these elements? For reference, I'm using WinCC OA 3.18 and Squish IDE 7.2.1 for Qt 5.15.X.

I've also found there are few resources or tutorials on configuring Squish for WinCC OA, so I would be grateful if someone could share any if they exist.

Alternatively, if Squish doesn't have these capabilities, has anyone had any luck with other tools for automating GUI testing in WinCC OA?

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Post by kilianvp »

This is a known limitation. Squish can only access QT elements, so you need to use labels instead of text, for example, if you want to test this.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Post by leoknipp »

WinCC OA 3.18 also offers the functionality to record user input and to replay it.
For details please have a look at the WinCC OA Documentation:
https://www.winccoa.com/documentation/W ... ord%2Cgedi

Best Regards
Leopold Knipp
Senior Support Specialist

Sector97
Posts: 13
Joined: Thu Feb 02, 2023 3:26 am

Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Post by Sector97 »

Cheers, Leopold thanks for your response. It's a pity Squish is so limited in the components it can select. Thanks for the tip to look at the OA recording functionality, I'll have to investigate that capability to see if it's suitable for automated GUI testing.

gschijndel
Posts: 373
Joined: Tue Jan 15, 2019 3:12 pm

Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA

Post by gschijndel »

Since the input recording feature is there, basically everything you need for automated GUI testing is available in the control(++) language.
I have been working on automated GUI testing with the control language, but did not have enough time yet to finish it.

With control all objects are available and you do not need a squish license.

Post Reply
5 posts • Page 1 of 1