为 Internet Explorer 获取 window 个标题而不获取其他 window 个标题
Get window titles not getting other window for Internet Explorer
我目前正在 IE 上进行 robotframework 测试,该测试需要更改为新的 window。通过使用 Get Window Titles
,我只得到 1 个标题,这是主要的 window,但我没有得到新打开的 window。任何人都可以帮助解决这个问题?
机器人框架脚本:
Search For Customer Via Find Button
[Arguments] ${customerNameField} ${customerName}
Set Delay .1
Sleep 3
@{Window Names} Wait Until Keyword Succeeds 20s 5s Get Window Titles
Select Window @{Window Names}[1]
提前致谢! :)
在路径为 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
的注册表编辑器中添加值为 0
的注册表项 TabProcGrowth
。这将使您看到其他 windows.
注意:在我的例子中,添加这个使得输入文本非常非常慢。
我目前正在 IE 上进行 robotframework 测试,该测试需要更改为新的 window。通过使用 Get Window Titles
,我只得到 1 个标题,这是主要的 window,但我没有得到新打开的 window。任何人都可以帮助解决这个问题?
机器人框架脚本:
Search For Customer Via Find Button
[Arguments] ${customerNameField} ${customerName}
Set Delay .1
Sleep 3
@{Window Names} Wait Until Keyword Succeeds 20s 5s Get Window Titles
Select Window @{Window Names}[1]
提前致谢! :)
在路径为 HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
的注册表编辑器中添加值为 0
的注册表项 TabProcGrowth
。这将使您看到其他 windows.
注意:在我的例子中,添加这个使得输入文本非常非常慢。