I understand that you are not using Test Studio and using the Framework, but what I am saying is that with latest Test Studio I am not able to reproduce this behavior, and please note that Test Studio is running on top of the framework, so it should fail on my end.
Not being able to reproduce this might be because of something specific in your application you are testing. Please try to use the following lines and see how this will work for you:
Browser cw = ActiveBrowser.Frames[
If this doesn't help you can provide us with either a public repro so we can review further or with your test and access to the application you are testing.
Thank you for your understanding and cooperation in advance.