my html code is: <a id="myId" href="javascript:myJS('paramA');"> <img src="/test.gif"> </a>
In java code:
WebLink link = response.getLinkWithID('link'); link.click();
Error: no such property: name ...
HELP ME !!!
if i am not mistaken your id='myId' not 'link'
Note --> response.getLinkWithId('link'); Should be --> response.getLinkWithId('myId');
Log in to post a comment.
my html code is:
<a id="myId" href="javascript:myJS('paramA');">
<img src="/test.gif">
</a>
In java code:
WebLink link = response.getLinkWithID('link');
link.click();
Error:
no such property: name ...
HELP ME !!!
if i am not mistaken your id='myId' not 'link'
Note --> response.getLinkWithId('link');
Should be --> response.getLinkWithId('myId');