Prawins - 2005-05-10

To test a an existing Intranet site which is developed with JSPs, I am not able to click on the below link

<A HREF="javascript:_onRoutingAction('Menu','BOX_PLAN','');" CLASS="sunav" TABINDEX=-2>Box Plan</A>.

I am using the below code snippet to acces the plan link but as this is having java script function iam getting a "Exception: java.lang.NullPointerException". pl let me know how to overcome this and tell me how should i modify the below code;

WebLink boxPlan = box.getFirstMatchingLink(
WebLink.MATCH_CONTAINED_TEXT, "BOX_PLAN");;
boxPlan.click();

My work is struck in between and if this is not possible with httpunit then we might need revert back all the work that we have done so far.

Thanks,
Prawin