Unable to get object list to match redirected page
Here is the scenario: We have a web site that will force a login if you do not have a current session open. So the user may enter a URL such as "http://www.mysite.com/dosomething.jsp", but they are instead sent to a login page such as "http://www.mysite.com/login.jsp", and if successful, redirected to the URL they originally entered.
Here is the problem. When the above scenario is executed, TestComplete will store the page's objects for the login page, not for the URL that was originally entered. I attempted to wait for the redirect to complete, and request a Refresh for the page, but TestComplete will still not update the object list to that of the requested URL (currently displayed page).
I need to find a way to get TestComplete to load/refresh the object list to match that of the currently displayed (redirected) web page. I know this should be straight forward, but for some reason I cannot get it to work.
Anyone have any suggestions or experience with a situation such as this.
Thanks in advance.
Re: Unable to get object list to match redirected page
Please see my answer in the official TestComplete newsgroup: