问题描述
我正在使用已编码的UI测试项目(通用Windows)来自动化通用Windows应用.在Universal Windows Apps自动化期间,当我需要自动化任务栏图标/文件夹时,无法通过以下方式在任务栏上声明图标/文件夹 十字准线工具,然后继续进行.
例如:
(i)任何已最小化的应用程序,如果我们要从任务栏最大化该应用程序,则Crosshair工具将无法识别任务栏上的应用程序以最大化/打开该应用程序.
(ii)WIFI,键盘,电源,音量....图标/按钮无法通过十字准线工具识别,无法继续操作.
谁能为此提供解决方案?
I am using Coded UI Test Project(Universal Windows) for automating Universal Windows Apps. During automation of Universal Windows Apps, When I need to automate taskbar Icons/Folders, I am not able to make assertions of Icons/Folders on taskbar through Crosshair tool and proceed further.
example:
(i)Any App which is minimized and if we want to maximize that app from taskbar, Crosshair tool is not able to recognize apps on taskbar to maximize/open.
(ii)WIFI,Keyboard,power,volume....Icons/Buttons are not able to recognize through crosshair tool and proceed further.
Can anyone provide the solution for this?
推荐答案
编码的UI测试项目(通用Windows )无法识别在任务栏中最小化的应用.
Coded UI Test Project (Universal Windows) could not recognize the app which is minimized in the taskbar.
要测试任务栏上的图标/文件夹/键盘/电源/音量等,我们需要创建编码的UI测试项目(模板-> Visual C#->测试)即可.
To test the icons/folders/Keyboard/power/volume etc. on the taskbar, we need createCoded UI Test Project (Templates -> Visual C# -> Test) to make it.
我最终创建了一个,十字准线可以捕获图标.
I’ve created one in my end, the crosshair could capture the icons.
要捕获通用Windows应用程序:
To capture the Universal Windows app:
要捕获任务栏上的音量图标:
To capture the volume icon on the taskbar:
最诚挚的问候
Fletcher
这篇关于编码的用户界面:如何自动执行任务栏的图标/文件夹/按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!