Hi,
I am looking for a way to do 'cross-domain' scripting in a webbrowser control using VB6. (Ultimately it needs to work in VB6, but if you say have coded something in C++, like a DLL/type library/control/etc that can be used with a VB6 wrapper, then I am open to hearing what you have)
Basically, filling in a form with random data in an 'iframe', if the iframe originates from a different domain. By default, MSIE 'disabled' the ability to do this the 'standard' way (i.e., [login to view URL](x).element(whatever).value = "abc"), so I am looking for a work around.
I am not looking for a 'sendkeys' solution (because I need to be able to access webpages that say have flash forms/other dynamic media), so please use a different solution. If you have a different control, or some workaround, etc that can access elements, superb, please let me know!
An example you can use for 'testing' purposes is here:
[login to view URL]
Whatever filling you have, it should be able to 'load' this page, access the 'iframe' document, and fill it in with random data (i.e., fill in the textfields with say 'abc', automatically checkmark the checkboxes, select a radio button, select the 2nd element in dropdown lists, etc, etc).
If you can do it, please let me know, and send me a working demo (.exe) with your bid. (PPS, this should be able to work 'generically', i.e., different websites that have embedded iframes, with different forms. This link above is just an 'example' link).
Thanks!