I login as User1 from Browser- instance1, then login as User2 from same browser Instance2, how开发者_开发知识库 can I go back to Browser- instance1? Browser: IE6-7
Assuming you are using the Open Agent, you should be able to access the windows with Desktop.Find("//BrowserApplication[1]")
and Desktop.Find("//BrowserApplication[2]")
.
Alternatively, if the browsers have distinct captions, you can use Desktop.Find("//BrowserApplication[@caption='Distinct Caption']")
精彩评论