How to close browser tab in Ranorex?

99封情书 提交于 2020-01-17 05:31:08

问题


Was trying to close browser tab in Ranorex. The shortcut key "Ctrl+W" seems to work with Chrome and Firefox, but IE closes the application and not a tab. Please help.


回答1:


3 simple steps:

  • Use the spy to uniquely identify the tab you want to close.
  • Add the item to your repository.
  • Drag the item from the repository in a recording and when prompted for an action to perform, select "Close Application".

I have successfully tested this on IE 11 with Ranorex 5.4.6.

Hope this helps!



来源:https://stackoverflow.com/questions/37142841/how-to-close-browser-tab-in-ranorex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!