Hello Guys,
I have this issue, I'm creating a Macro that is automating a process in a Web Page, but this page have a lot of frames. So when I get the value of the object
it only have the values of the frame
I justo get the principal <FRAME>content for example:
And I cant get the objects like the buttons, divs, inputs, etc. That are in the pages like login.jsp, logon.jsp
I read something about contentWindow property but I cant find how can I use it.
Someone have any example? or How could I get the buttons, etc of those pages?
Thanks in advance, regards!
I have this issue, I'm creating a Macro that is automating a process in a Web Page, but this page have a lot of frames. So when I get the value of the object
it only have the values of the frame
Code:
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = False
IE.Navigate Sheet1.Range("A3").Value
MsgBox IE.Document.Body.innerHTML
I justo get the principal <FRAME>content for example:
Code:
<FRAME id=rbottom target="contents" scrolling="no" noResize src="/logon/hidden.htm" name="rbottom"><FRAME id=rhidden target="contents" scrolling="no" src="/test/logon.jsp" name="rhidden"><FRAME id=PApplet target="rtop" scrolling="no" noResize src="/test/login.jsp" name="PApplet">
[FRAME id=rbottom name=rbottom src="/logon/hidden.htm" noResize scrolling=no target="contents"][FRAME id=rhidden name=rhidden src="/test/logon.jsp" scrolling=no target="contents"][FRAME id=PApplet name=PApplet src="/test/login.jsp" noResize scrolling=no target="rtop"]
And I cant get the objects like the buttons, divs, inputs, etc. That are in the pages like login.jsp, logon.jsp
I read something about contentWindow property but I cant find how can I use it.
Someone have any example? or How could I get the buttons, etc of those pages?
Thanks in advance, regards!