编码的UI:如何自动执行Microsoft Edge浏览器的更多选项窗口? [英] Coded UI:How to automate Microsoft Edge Browser's more options window?
问题描述
我正在尝试使用编码的UI测试项目(通用Windows)来自动执行Microsoft Edge浏览器.我需要自动执行其他设置选项,然后放大和放大缩小Microsoft Edge.
我在以下情况中导航:在Microsoft Edge中,我单击了更多("...")选项,并试图对更多选项"进行断言.十字准线工具打开窗口.但是,当我在更多"
选项"窗口,窗口关闭.
有人可以为此提供解决方案吗?
Hi,
I am trying to use a Coded UI Test Project (Universal Windows) for automating the Microsoft Edge browser. I need to automate different settings option, and Zoom in & Zoom out in Microsoft Edge.
I navigated through the following scenario: In Microsoft Edge, I clicked on the more ("...") option, and tried to make assertions on the "more options" window through the crosshair tool. However, when I move the crosshair tool on the "more
options" window, the window closes.
Can anyone provide the solution for this?
推荐答案
您好,vennu,
Hi vennu,
欢迎来到MSDN论坛.
Welcome to MSDN forum.
要在上下文菜单上捕获控件,我们需要使用键盘来选择控件.
To capture a control on the context menu, we need use keyboard to select the control.
启用 UIMap编码的UI测试生成器时:
启动Microsoft Edge ->点击…" -> 将鼠标放在缩放"上-> 点击率+我
Start Microsoft Edge -> clik ‘…’ -> put the mouse on Zoom -> Ctr + I
我站在我这边:
我可以添加断言:
最诚挚的问候
Fletcher
这篇关于编码的UI:如何自动执行Microsoft Edge浏览器的更多选项窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!