i am automating web login.
i put username and password and click on submit button automatically. it is working. now main is in frames. anyone can tell me how can i choose one frame which elements base on list. how can i acccess that frame's nested list item.
Also can tell how can i convert "System.Widows.Forms.HTMLDocument" to "mshtml.HTMLDocument". i am applying this code.
mshtml.HTMLDocument HTMLDoc = new HTMLDocument();
but giving exception "cannot convert "System.Widows.Forms.HTMLDocument" to "mshtml.HTMLDocument".
I have a requirement to insert an Iframe element dynamically in IE Browser. I can able to create the tag Element but not able to load the "src" element of it. can anyone tell me how to do this.
I am working in ATL VC++. I can see the created IFRAME in the browser and nothing in the IFRAME because there is no "src" attribute to it. I tried using setattribute(...) method of IHTMLElement*. I can even see this attribute setting the given value(path of the file in server) but nothing in the created IFrame tag. It seems the attribute was not loading.
I want how to load this src dynamically. It will be good if any body having a working example of it.