Hi, what about following:
<clickLink xpath="//a[contains(@onclick, 'submitReportSelectionForm')]"/> This being said, does it make a good user experience when two links with the same label have a different behavior? Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Jay Termsand wrote: > So here is the link that I want to click. Basically the href="#" and > label "Customize Report" are the same as another link, so I can't use > clickLink. But the onclick is different. > > How can I make it go to the next page? Would I use clickElement & > XPath? I haven't worked with XPath. > > > <a href="#" onclick="document.choosetypeform.report_type.value='MULTI_PAGE'; > submitReportSelectionForm('customize'); return false">Customize > Report</a> > > Thanks > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

