I'm trying to simulate a click on a link which is located in a frame.
I'm using vbscript. The Link doesn't have an ID nor Name attributes. Below u can c 3 lines of code which does the same thing and they r all work with IE5.5 and IE6.0 but do not work with IE5:
doc.frames(1).document.links(3).click()
doc.frames.item("content".document.links(3).click()
doc.Frames("content".document.links(3).click()
The problem with IE5 is that it gives error each time I'm using somekind of list, like Frames(index) and Links(index).
I succeeded to bypass the Frames list by referencing directly the frame name : doc.all.content.document but then I get stuck bypassing the link list.
Please help me.
I'm using vbscript. The Link doesn't have an ID nor Name attributes. Below u can c 3 lines of code which does the same thing and they r all work with IE5.5 and IE6.0 but do not work with IE5:
doc.frames(1).document.links(3).click()
doc.frames.item("content".document.links(3).click()
doc.Frames("content".document.links(3).click()
The problem with IE5 is that it gives error each time I'm using somekind of list, like Frames(index) and Links(index).
I succeeded to bypass the Frames list by referencing directly the frame name : doc.all.content.document but then I get stuck bypassing the link list.
Please help me.