Automate Field Entry in outside site

Posted by JClaspill on Stack Overflow See other posts from Stack Overflow or by JClaspill
Published on 2010-05-20T20:50:09Z Indexed on 2010/05/20 21:00 UTC
Read the original article Hit count: 163

Filed under:
|
|
|
|

I am attempting to automate the entry of data into form fields. The problem is that this data (user/pass) is not known by the user. I'm not expressly hiding it from them, but they also don't need to know it.

This is used to automate logins on several of our outside partner websites, who do not want our agents knowing their passwords. Sadly, most of these sites do not have any APIs I can work with... so I have to get the user logged in.

I tried using an iframe and javascript, but I ran into the issue of security permissions denying it access. And sadly, our clients do not have access to add our domain to their sites(they seem to be 3rd party).

Requirements: - Display webpage - Automatically enter data into fields

Would be nice: - Automate signin similar to form.submit() - Flash/AJAX support. These seem to give the VB app issues.

Is there a way to do this via javascript/html, and if not, do you have any recommendations for C#/php/asp.net options?

PS: I am not sure what this techinque is called, so google isn't helping me it seems. Please set me straight on the terminology of what I am actually trying to accomplish.

© Stack Overflow or respective owner

Related posts about html

Related posts about c#