(older archive entries before 2007 are not shown here, but included in the onsite-search)
Mailing List - Entries of 2012
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Default Settings for QFTest / Components Unnamed
Title: RE: Default Settings for QFTest / Components Unnamed
Based on a bit more reading and experimenting. I am thinking I need to use a Name Resolver. I am wondering if it is possible to make a name resolver which if a name is not set will use the attibute name of which it is an instance. E.g. For a Class Foo that has an isntance attribute of Jpanel called bar, I would like to get "bar". I would then like to go further an hierarchically build up a name based on the attributes name that this then belongs to. I think this way we could have unique names. I know there is then the issue of anonymous instances but I don't believe we have many instances of these (though if we did how would we know?)
Are there any examples of how to do this? I can see how I can add (for example) the dimensions of a JPanel to it's name but can't quite see how from a Jpanel I can ask it's instance, what it's name was when it was defined within some other class and then potentially recursively call this until I no longer have a parent.
I'm using groovy other Jython at the moment as it feels more natural coming from a java background.
Thanks for the Help,
I've recently started using QFTest (using version V3.4.2) and I am trying to look at getting existing tests which have not been ran for some time to run reliably.
Genrally the majority of the components are unnamed, the application consists of many components mostly swing extensions, lots of dialogs and also dynamic components markers moving around a screen.
As a start I am trying to play with the settings under the Replay->Recognition options. I think I want the tool to bias toward using the geometry and not the names. So to start I presume I should use "Name override mode" as Plain attribute? It seems that I am curently getting better recognition when using Hierarchical resolution.
I am currently experimenting with the bonus and penalty values are there any recommendations? Also I am unable to set these values back to the defaults so have to remember what they were before my changes. Is there a reset values function somewhere?
Thanks for the help,
This email, including any attachment, is a confidential communication intended solely for the use of the individual or entity to whom it is addressed. It contains information which is private and may be proprietary or covered by legal professional privilege. If you have received this email in error, please notify the sender upon receipt, and immediately delete it from your system.
Anything contained in this email that is not connected with the businesses of this company is neither endorsed by nor is the liability of this company.
Whilst we have taken reasonable precautions to ensure that any attachment to this email has been swept for viruses, we cannot accept liability for any damage sustained as a result of software viruses, and would advise that you carry out your own virus checks before opening any attachment.