Hi,
 
we also use Tosca. Our solution is to put a client property and read it out on 
clientside:
 
  public static void setTestIdentifier(ULCComponent component, String 
identifier) {
    if (component != null && identifier != null) {
      component.putClientProperty("testIdentifier", identifier);
    }
  }
 
This is kind of ugly but it works :)
 
Best Regards,
    Ilja Pavkovic
 
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Friday, October 26, 2007 1:17 PM
To: [EMAIL PROTECTED]
Subject: [ULC-developer] Name Property on UI of ULCTableTree


Hi all,
we encountered a problem with the user interface of ULCTableTree. Our automated 
testing tool (Tosca, http://www.tricentis.com/) needs to find the name property 
of a client side ULC Component in order to be able to navigate on it and to do 
input and read output. With a ULCTable everything works fine, the name property 
is readable. The hierarchy of the component seems to be:
 
com.ulcjava.base.client.UITable$UIJTable
javax.swing.JTable
javax.swing.JComponent
.....
 
with ULCTableTree, the hierarchy seems to be:
 
com.ulcjava.base.client.UITableTree$UIJTableTree$a_
com.ulcjava.base.client.tabletree.TableTreeTable
javax.swing.JTable
....
and there is no name property that can be read. Is there a way to get around 
this problem and to set a name property on the top level component ? From the 
ULC development runners view I can see that the name of the ULCTableTree 
Component is sent to the client.
We are using ULC 6.0.4, Java 1.5.0_11 and Windows XP as the client side 
operating system.
 
Best regards,
Claus 
 

 

Mit freundlichem Gruß
C.J.Seitter

MÜNCHENER VEREIN        http://www.muenchener-verein.de 
<http://www.muenchener-verein.de/> 
Versicherungsgruppe          [EMAIL PROTECTED]
Pettenkoferstraße 19         
D-80336 München              Tel.: 089/5152-1073
                                         Fax   089/5152-3073 

MÜNCHENER VEREIN Krankenversicherung a.G. (Sitz München, HRB 764, AG München)

MÜNCHENER VEREIN Lebensversicherung a.G. (Sitz München, HRB 350, AG München)

MÜNCHENER VEREIN Allgemeine Versicherungs-AG (Sitz München, HRB 42132, AG 
München)

 

Direktion

Pettenkoferstraße 19, 80336 München

Tel. 089/51 52-1000, Fax 089/51 52-1501

 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

www.muenchener-verein.de

 

Vorsitzender der Aufsichtsräte: Heinrich Traublinger, MdL

Vorstände: Dr. Rainer Reitzler (Vorsitzender) - Hartmut Krause -

Karl-Bernd Telger - Andrea Wozniak (stv.)

 

 

Reply via email to