I am using TestComplete to help automate the testing of a web site.
When trying to automate my testing I used the Object Properties Window to help find the object I was looking for. When I used the little find icon to select the object it turned out to be in a frame. A frame that isn't there when the page first loads and one that I can't seem to gain access to unless I first use the Object Properties window to find the frame then run my test, since the frame is already loaded then.
I know this may be a little hard to understand, but any help would be great. I can also give any additional information if needed.
That sounds like you might need a Refresh call on the window that has the frame in place.
Also, when you say that the frame is not there when the page first loads, do you have a waitwindow or wait child in place to make sure that the page has finished loading before moving on to the next line?
If not, then I would recommend WaitWindow, followed by refresh, on the lines before your frame access.