squish help
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
squish help
There is someone that can help me with squish test for wincc oa?
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: squish help
Perhaps elaborating about your squish issue, might result in more useful information.
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
Re: squish help
hi,
I just started and I am looking for someone who want to share some experience and spend some hours to discuss which it is the best way how to use it.
It seems that squish is a good solution and maybe someone has already worked with it and WinCC OA.
I have just done 2 stupid test:
1. check if WinCC OA is running
2. check if a small pannel, where I am pressing the button is setting the background yellow
I just started and I am looking for someone who want to share some experience and spend some hours to discuss which it is the best way how to use it.
It seems that squish is a good solution and maybe someone has already worked with it and WinCC OA.
I have just done 2 stupid test:
1. check if WinCC OA is running
2. check if a small pannel, where I am pressing the button is setting the background yellow
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: squish help
We are using squish for our BDD tests with WinCC OA. The latest implementation of ETM allowed us to cover most of the shapes.
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
Re: squish help
I found out that squish is not capable to detect the rectangle,am I right?
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: squish help
Hi,
That should work with P007:
29265: Now automated Squish tests are able to query the following
shape properties:
QString foreCol, QString backCol, bool visible, bool enabled,
bool selected
Br
A. Daneau
That should work with P007:
29265: Now automated Squish tests are able to query the following
shape properties:
QString foreCol, QString backCol, bool visible, bool enabled,
bool selected
Br
A. Daneau
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: squish help
Hi,
Yes all shapes which are not widget (rectangle, primitive text, circle, polygon, ellipse, ...) cannot be accessed using squish picker.
You need to use script for that. Ex:
function main()
{
ctx = startApplication(PVSSII_PATH + "bin/WCCOAui -currentproj -p yourpanel.pnl -lang de_AT.utf8 -user root:");
var panel = waitForObject(":etmPanelArea_PanelQT");
logProperties(panel.getShape("PRIMITIVE_TEXT1"));
logProperties(panel.getShape("PRIMITIVE_TEXT2"));
}
function logProperties(obj)
{
var text = obj.property("text").toString();
test.log(text);
var textList = obj.property("textList").toStringList()
for (var i=0; i
Yes all shapes which are not widget (rectangle, primitive text, circle, polygon, ellipse, ...) cannot be accessed using squish picker.
You need to use script for that. Ex:
function main()
{
ctx = startApplication(PVSSII_PATH + "bin/WCCOAui -currentproj -p yourpanel.pnl -lang de_AT.utf8 -user root:");
var panel = waitForObject(":etmPanelArea_PanelQT");
logProperties(panel.getShape("PRIMITIVE_TEXT1"));
logProperties(panel.getShape("PRIMITIVE_TEXT2"));
}
function logProperties(obj)
{
var text = obj.property("text").toString();
test.log(text);
var textList = obj.property("textList").toStringList()
for (var i=0; i
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
Re: squish help
Is there any documentation to understand for example what is ":etmPanelArea_PanelQT"?
- MrKintaro
- Posts:53
- Joined: Fri Aug 16, 2013 6:56 pm
Re: squish help
Hi,
I worked a little bit on Rectangle shape.
It works!!!
I wondering if there is any docu or if we can share some experience about squish and WOA in order to understand what is possible and what is not.
I am open for a telko if you want.
I am working for siemens.
I worked a little bit on Rectangle shape.
It works!!!
I wondering if there is any docu or if we can share some experience about squish and WOA in order to understand what is possible and what is not.
I am open for a telko if you want.
I am working for siemens.