51Testing软件测试论坛

标题: 如何获取已经打开的浏览器的创建顺序? [打印本页]

作者: wangkun99987    时间: 2014-1-9 17:43
标题: 如何获取已经打开的浏览器的创建顺序?
不使用QTP等工具,怎样可以获取浏览器的创建顺序呢?
作者: luke2xue    时间: 2014-1-10 10:21
不能
作者: wangkun99987    时间: 2014-1-10 13:24
回复 2# luke2xue

为什么不能?
作者: luke2xue    时间: 2014-1-10 14:39
回复 3# wangkun99987


    I presume that you were asking about the order of opened pages, a.k.a., TABs, instead of actual "browsers". But, in fact, neither case could be tracked down with specific numbers, you can neither retrieve nor manipulate the order. The only thing you can do is to force tab switching between adjacent pages(tabs).




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2