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

2016 bis heute 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: "Annie Connell" <anne.connell@?.com>
  • Date: Mon, 24 Sep 2007 12:20:05 +0100

Title: Message
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[frameSelectScreen,0,0,800x572,invalid,layout=java.awt.BorderLayout,title=Select Screen,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,800x572,layout=com.incors.plaf.alloy.bk,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cv@9bee93,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=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[frameViewLedgerItem(SC025-01-04),0,0,800x572,invalid,layout=java.awt.BorderLayout,title=View Ledger Item (SC025-01-04),resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,800x572,invalid,layout=com.incors.plaf.alloy.bk,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cv@9bee93,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=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[frameViewLedgerItem(SC025-01-04),0,0,800x572,invalid,layout=java.awt.BorderLayout,title=View Ledger Item (SC025-01-04),resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,800x572,invalid,layout=com.incors.plaf.alloy.bk,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cv@9bee93,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=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.BorderUIResource@93b16c,flags=16777544,maximumSize=,minimumSize=,preferredSize=,columnHeader=javax.swing.JViewport[,0,0,235x20,layout=javax.swing.ViewportLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=false],horizontalScrollBar=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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,upperRight=,verticalScrollBar=javaxswing.JScrollPane$ScrollBar[,235,20,15x90,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,0,20,235x90,layout=javax.swing.ViewportLayout,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: 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.ScrollPaneLayout$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,columnHeader=,horizontalScrollBar=javax.swing.JScrollPane$ScrollBar[,2,83,763x15,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$ScrollBar[,765,2,15x81,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,2,2,763x81,layout=javax.swing.ViewportLayout,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: 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.ScrollPaneLayout$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,upperRight=,verticalScrollBar=javax.swing.JScrollPane$ScrollBar[,765,2,15x186,layout=com.incors.plaf.alloy.AlloyScrollBarUI,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,2,2,763x186,invalid,layout=javax.swing.ViewportLayout,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: 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.ScrollPaneLayout$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,columnHeader=,horizontalScrollBar=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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=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=,isViewSizeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=false],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.BorderUIResource@93b16c,flags=16777544,maximumSize=,minimumSize=,preferredSize=,columnHeader=javax.swing.JViewport[,0,0,536x34,layout=javax.swing.ViewportLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,isViewSizeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=false],horizontalScrollBar=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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=VERTICAL_SCROLLBAR_AS_NEEDED,viewport=javax.swing.JViewport[,0,34,536x400,layout=javax.swing.ViewportLayout,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.ScrollPaneLayout$UIResource,alignmentX=0.0,alignmentY=0.0,border=com.incors.plaf.alloy.cz@4adff7,flags=16777544,maximumSize=,minimumSize=,preferredSize=,columnHeader=,horizontalScrollBar=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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=HORIZONTAL,unitIncrement=1],horizontalScrollBarPolicy=HORIZONTAL_SCROLLBAR_AS_NEEDED,lowerLeft=,lowerRight=,rowHeader=,upperLeft=,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$EmptyBorderUIResource@ea9d22,flags=4194664,maximumSize=,minimumSize=,preferredSize=,blockIncrement=10,orientation=VERTICAL,unitIncrement=1],verticalScrollBarPolicy=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=,isViewSizeSet=true,lastPaintPosition=java.awt.Point[x=0,y=0],scrollUnderway=false],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



Videos Downloads Dokumentation Kaufen Gratis Testen