Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Failure to find component IDs


  • Subject: Re: [QF-Test] Failure to find component IDs
  • From: Martin Moser <martin.moser@?.de>
  • Date: Mon, 24 Sep 2007 15:37:38 +0200

Hi Annie,

can you please send your test-suite to me directly (not to the list).

The problem is in the recogntion of the JScrollPane, which is created newly
at your second mail.

We've to find the difference between scroll, scroll2 and scroll3.



Regards,
Martin

--On Montag, September 24, 2007 12:20:05 +0100 Annie Connell
<anne.connell@?.com> wrote:

A supplmenetary question - in an attempt to try and understand what is
going on, I used F11 to re-record the 'Dates' tab component.  What I now
have in my 'Windows and components' node is this:



The 'scroll3' was added just now.  Why do I have 'scroll', 'scroll2',
and 'scroll3' - for what is actually the same component?  I've noticed
numerous components that have this numeric suffix - what is its
significance?  I have a feeling that there is something fundamental here
that I haven't quite grasped.



	-----Original Message-----
	From: qftest-list-bounces@?.de
[mailto:qftest-list-bounces@?.de] On Behalf Of Annie Connell
	Sent: 24 September 2007 11:40
	To: qftest-list@?.de
	Subject: [QF-Test] Failure to find component IDs



	I have some intermittent problems with 'component not found'
errors being raised, where I cannot understand why.

	Firstly, the component name does appear in the 'Windows and
Components' node; secondly, when I run the same script a step at a time,
the node is found quite happily.  It is only when I'm executing the
script as part of a production run that it fails.  It's not restricted
to one particular node, and it doesn't happen every time.

	The attached example shows this.  I'm wondering if the
information in the 'No matching component' entry in the log would give
me some useful information, but I'm at a loss to understand it, I'm
afraid.

	Here is the line in my script that is failing:

	Picture (Device Independent Bitmap)

	Here is the component node in the same script:

	Picture (Device Independent Bitmap)

	The screenshot in the log tells me that the 'Dates' tab is
indeed displaying:

	Picture (Device Independent Bitmap)

	And here are the details from the log:

	No matching component
	Component information
	Looking for matching top-level components
	Calculating probability for
techframework.swing.gui.screenframework.FrameScreenContainer[frameSelect
Screen,0,0,800x572,invalid,layout=java.awt.BorderLayout,title=Select
Screen,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPa
ne=javax.swing.JRootPane[,0,0,800x572,layout=com.incors.plaf.alloy.bk,al
ignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cv@9bee93,flags
=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnab
led=true]

	Geometry probability: 60%
	Feature mismatch
	Feature probability: 60%, penalty: 55%
	Name mismatch
	Name probability: 60%, penalty: 0%
	This is not the active window, penalty: 0%
	Combined probability: 0%, not acceptable
	Calculating probability for
techframework.swing.gui.screenframework.FrameScreenContainer[frameViewLe
dgerItem(SC025-01-04),0,0,800x572,invalid,layout=java.awt.BorderLayout,t
itle=View Ledger Item
(SC025-01-04),resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE
,rootPane=javax.swing.JRootPane[,0,0,800x572,invalid,layout=com.incors.p
laf.alloy.bk,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.
cv@9bee93,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootP
aneCheckingEnabled=true]

	Geometry probability: 60%
	Feature match
	Feature probability: 92%, penalty: 100%
	Name match
	Name probability: 99%, penalty: 100%
	This is not the active window, penalty: 99%
	Combined probability: 98%,  acceptable
	Got 1 top-level components

	Parent component:
techframework.swing.gui.screenframework.FrameScreenContainer[frameViewLe
dgerItem(SC025-01-04),0,0,800x572,invalid,layout=java.awt.BorderLayout,t
itle=View Ledger Item
(SC025-01-04),resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE
,rootPane=javax.swing.JRootPane[,0,0,800x572,invalid,layout=com.incors.p
laf.alloy.bk,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.
cv@9bee93,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootP
aneCheckingEnabled=true]

	Probability: 98%
	20 components match class javax.swing.JScrollPane, 5 of these
are visible
	Calculating probability for
javax.swing.JScrollPane[,4,4,250x110,layout=javax.swing.ScrollPaneLayout
$UIResource,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.Border
UIResource@93b16c,flags=16777544,maximumSize=,minimumSize=,preferredSize
=,columnHeader=javax.swing.JViewport[,0,0,235x20,layout=javax.swing.View
portLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumS
ize=,minimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=ja
va.awt.Point[x=0,y=0],scrollUnderway=false],horizontalScrollBar=javax.sw
ing.JScrollPane$ScrollBar[,0,0,0x0,hidden,layout=com.incors.plaf.alloy.A
lloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.Bo
rderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,m
inimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unit
Increment=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lo
werLeft=,lowerRight=,rowHeader=,upperLeft=,upperRight=,verticalScrollBar
=javaxswing.JScrollPane$ScrollBar[,235,20,15x90,layout=com.incors.plaf.a
lloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.p
laf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumS
ize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,
unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,vi
ewport=javax.swing.JViewport[,0,20,235x90,layout=javax.swing.ViewportLay
out,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,mi
nimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=java.awt.
Point[x=0,y=0],scrollUnderway=false],viewportBorder=]

	Geometry probability: 33%
	Structure mismatch index: 2, count: 20
	Structure probability: 33%, penalty: 60%
	Combined probability: 20%, not acceptable
	Calculating probability for
javax.swing.JScrollPane[,4,182,782x100,layout=javax.swing.ScrollPaneLayo
ut$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy
cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,colum
nHeader=,horizontalScrollBar=javax.swing.JScrollPane$ScrollBar[,2,83,763
x15,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,alignme
ntY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@e
a9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrem
ent=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy
=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperL
eft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$ScrollBar[,76
5,2,15x81,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,a
lignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIReso
urce@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,block
Increment=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPoli
cy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,2,2,763x
81,layout=javax.swing.ViewportLayout,alignmentX=0.0,alignmentY=0.0,borde
r=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,isViewSizeSet
=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=false],vi
ewportBorder=]

	Geometry probability: 53%
	Structure mismatch index: 5, count: 20
	Structure probability: 53%, penalty: 60%
	Combined probability: 32%, not acceptable
	Calculating probability for
javax.swing.JScrollPane[,4,286,782x205,invalid,layout=javax.swing.Scroll
PaneLayout$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.pl
af.alloy.cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSiz
e=,columnHeader=,horizontalScrollBar=javax.swing.JScrollPane$ScrollBar[,
2,188,763x15,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.
0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIR
esource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,bl
ockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScroll
BarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeade
r=,upperLeft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$Scro
llBar[,765,2,15x186,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignm
entX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBo
rderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredS
ize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScr
ollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport
[,2,2,763x186,invalid,layout=javax.swing.ViewportLayout,alignmentX=0.0,a
lignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferred
Size=,isViewSizeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrol
lUnderway=false],viewportBorder=]

	Geometry probability: 67%
	Structure mismatch index: 6, count: 20
	Structure probability: 67%, penalty: 60%
	Combined probability: 40%, not acceptable
	Calculating probability for
javax.swing.JScrollPane[,3,22,969x483,layout=javax.swing.ScrollPaneLayou
t$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.
cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,column
Header=,horizontalScrollBar=javax.swing.JScrollPane$ScrollBar[,0,0,0x0,h
idden,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,align
mentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource
@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncr
ement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPoli
cy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,uppe
rLeft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$ScrollBar[,
0,0,0x0,hidden,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=
0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderU
IResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,
blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBa
rPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,2,2
,965x479,layout=javax.swing.ViewportLayout,alignmentX=0.0,alignmentY=0.0
,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,isViewS
izeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=fal
se],viewportBorder=]

	Geometry probability: 88%
	Structure mismatch index: 7, count: 20
	Structure probability: 88%, penalty: 60%
	Combined probability: 53%,  acceptable
	Final probability: 52%
	Calculating probability for
javax.swing.JScrollPane[,0,0,536x434,layout=javax.swing.ScrollPaneLayout
$UIResource,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.Border
UIResource@93b16c,flags=16777544,maximumSize=,minimumSize=,preferredSize
=,columnHeader=javax.swing.JViewport[,0,0,536x34,layout=javax.swing.View
portLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumS
ize=,minimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=ja
va.awt.Point[x=0,y=0],scrollUnderway=false],horizontalScrollBar=javax.sw
ing.JScrollPane$ScrollBar[,0,0,0x0,hidden,layout=com.incors.plaf.alloy.A
lloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.Bo
rderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,m
inimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unit
Increment=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lo
werLeft=,lowerRight=,rowHeader=,upperLeft=,upperRight=,verticalScrollBar
=javax.swing.JScrollPane$ScrollBar[,0,0,0x0,hidden,layout=com.incors.pla
f.alloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swin
g.plaf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maxim
umSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTIC
AL,unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED
,viewport=javax.swing.JViewport[,0,34,536x400,layout=javax.swing.Viewpor
tLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize
=,minimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=java.
awt.Point[x=0,y=0],scrollUnderway=false],viewportBorder=]

	Geometry probability: 73%
	Structure mismatch index: 8, count: 20
	Structure probability: 73%, penalty: 60%
	Combined probability: 44%, not acceptable

	Parent component:
javax.swing.JScrollPane[,3,22,969x483,layout=javax.swing.ScrollPaneLayou
t$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.
cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,column
Header=,horizontalScrollBar=javax.swing.JScrollPane$ScrollBar[,0,0,0x0,h
idden,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,align
mentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource
@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncr
ement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPoli
cy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,uppe
rLeft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$ScrollBar[,
0,0,0x0,hidden,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=
0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderU
IResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,
blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBa
rPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,2,2
,965x479,layout=javax.swing.ViewportLayout,alignmentX=0.0,alignmentY=0.0
,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,isViewS
izeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=fal
se],viewportBorder=]

	Probability: 52%
	No components match class javax.swing.JTabbedPane
	No matching component

	Anne Connell
	HPD Software Limited
	Tel: + 44 (0) 20 8780 6800
	Fax: + 44 (0) 20 8780 6801/5
	mailto anne.connell@?.com





--
Martin Moser                           martin.moser@?.de
Quality First Software GmbH            http://www.qfs.de
Tulpenstr. 41                          Tel: +49 8171 919874
DE-82538 Geretsried                    Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer  HRB München 14083



Videos Downloads Dokumentation Kaufen Gratis Testen