Mailingliste - Einträge 2006

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

[qftestJUI] Proper use of setname

  • Subject: [qftestJUI] Proper use of setname
  • From: "Mark Spielman" <Mark.Spielman@?.com>
  • Date: Fri, 23 Jun 2006 11:38:12 -0400

Our organization is beginning to use qftestJUI to test two of our GUI applications.  However I am finding it hard to understand when, where and how to appropriately use setname to make our lives easier?  We currently do not have extensive use of setname in either of our two products.  We have tried two approaches and both seem to work but are not necessarily ideal.  We are only in the early stages of test development.  What I was wondering is if there are general guidelines we can use to determine how to properly use setname to make our lives easier.  I’ve read the manual and am searching for slightly more detail, something along the lines of a best practices technical note or something?


The two approaches we’ve tried are:

  • Using java reflection to determine component names based on the coded variable names of the different components. In this case all components have names.  Here there’s a potential for a component to change names if ever a developer refactors the code.
  • Manually adding names to components as we discover difficulties in qftestJUI test implementation.  Components are named as needed but development of tests seems very slow.


What I’m wondering is if you were going to start a project from scratch, what is the ideal way to use setname to make testing and test development most efficient.






Mark Spielman

Software Developer

Solace Systems