AW: User testing an application
AW: User testing an application
- Subject: AW: User testing an application
- From: Helge Staedtler <email@hidden>
- Date: Mon, 26 Sep 2005 15:39:58 +0200
hi.
AFAIK you can reconstruct the component where an action was "executed" by
overwriting invokeAction() e.g. this way:
if the following method would reside in component XYZ:
public WOActionResults invokeAction( WORequest wr, WOContext wc ) {
if ( wc.senderID().equals( wc.elementID() ) ) {
System.out.println( "Some action on component XYZ was called..."
);
}
return super.invokeAction( wr , wc );
}
just an idea. perhaps you will need to overwrite valueForKey or
valueForKeyPath and put some identification-string-part in your
action-method-names to trigger this.
regards,
helge
Am 26.09.2005 14:50 Uhr schrieb "Greg" unter
<email@hidden>:
> Hi,
> I am implementing a bit of functionality for my wo app so that it
> will log every action the user does while the system is in testing,
> so I have a complete visual of the steps used to produce an error. I
> am overriding Application's dispatchRequest so I can get the page
> name of the component returned from the response and the time it took
> to generate it. What I would like to know is, is there any way to get
> the method that is invoked in the component, as most components will
> return themselves when performing an action, so by finding the actual
> method name from the request would help fine tune the testing logging
> system.
>
> Any pointers are greatly appreciated.
>
> Regards,
> Greg
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Helge Städtler
- Expect and Respect.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden