Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jubula-dev] Jubula 1.3 - Extending actions with "variable" type

Hi all,

I need to extend a component to add new actions. These actions must have a "variable" type (as "store" group of actions).
Until now, when implementing extensions, the methods I've used in the server implementation class are of the type:

public void method1 (String param1, String param2, .. String paramN)

And the file componentConfiguration.xml I define input parameters as:

 
               <action name="actionName">
                       <method>method1</method>                      
                       <param>
                       <type>java.lang.String</type>
                       </param>
                       <param>
                       <type>java.lang.String</type>
                       </param>
                        ...
                       <param>
                       <type>java.lang.String</type>
                       </param>
               </action>


If you need to return a String instead of void, how componentConfiguration.xml defined so that the String returned is a "variable" type in Jubula?

The case is that I need to get the last line of a JEditorPane, and I don't want to extend functions (as substring). I want to do a specific action for the component JEditorPane.
Thanks a lot and sorry for my poor English

 

blue_strip_201

 

Carlos Feal

CCSS Arquitectura

carlos.feal@xxxxxxxx
Albarracín 25,

28037 Madrid/SPAIN

www.atos.net

 

Atos_Olympic_Games_Logo_signature

 

 
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos, salvo ratificacion escrita por ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------

Back to the top