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?
Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA
Search
Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA
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.
Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA
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
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
Re: Automated GUI tester Squish can't see basic shapes or reference panels in WinCC OA
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.
-
- 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
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.
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.