开发者

SilkTest : Navigate to Browser Instance1

开发者 https://www.devze.com 2023-04-07 20:31 出处:网络
I login as User1 from Browser- instance1, then login as User2 from same browser Instance2, how开发者_开发知识库 can I go back to Browser- instance1?

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']")

0

精彩评论

暂无评论...
验证码 换一张
取 消