iFrame's can be problematic, I spent some considerable time trying to automate the clicking of a WebElement inside an iFrame. Eventually had to set the Web Event Recording Config to High for the click.
I tried creating a collection of all the WebElements within an iframe, which I can do, but whenever I try to show some property of those elements, I get a "General Run Error"
This even happens without the IFrame involved,
Set Collection = Browser("micclass:=Browser","application version:=internet explorer 6").Page("micclass:=Page").ChildObjects(Obj)
For i = 0 to Collection.count -1
Next </pre><hr />
I get a count, but then the error. I tried print and msgbox. I also tried many different properties and even tried using
x = Collection(i).ToString
I am able to find a specific WebElement within an IFrame if I have enough descriptive properties though.