-
November 24th, 2011, 05:48 PM
#1
C#/Java - Execute an onclick through C# code (WebBrowser obj)
Hello there,
I've made this post a day or 2 ago on the C# forums (the language in which i am working), but haven't gotten a respond yet. So i'm hoping (as i suppose this is java) you guys can help me.
I'm desperately in need of some help with automating a webpage.
There's this href link i need to click but it's position changes and unfortunately I can't seem to figure out how to trigger the onclick event.
Code:
<a href="page/page2" onclick="return multiform(000001,'test')">do something</a>
I dunno if i can execute it as an InvokeScript or something? Any help would be greatly appreciated.
Thanks in advance!
-
November 25th, 2011, 01:06 AM
#2
Re: C#/Java - Execute an onclick through C# code (WebBrowser obj)
two questions:
1.is this within an ASP.NET page?
2.are you looking to do this client or server side?
-
November 25th, 2011, 06:31 AM
#3
Re: C#/Java - Execute an onclick through C# code (WebBrowser obj)
So i'm hoping (as i suppose this is java) you guys can help me.
Nope, this is Javascript which is not Java. You need the client side scripting forum, I'll ask a mod to move this post for you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|