[英]How similar is Web Automation testing using Selenium C# in Visual Studio to Desktop App Automation Testing using C#?
I started a training on Web Automation testing using Selenium C# in Visual Studio, I would like to know if the commands used here are similar to the ones for testing desktop apps in Visual Studio. 我开始使用Visual Studio中的Selenium C#进行Web自动化测试的培训,我想知道这里使用的命令是否类似于在Visual Studio中测试桌面应用程序的命令。 Is it going to make it easier for me to learn automation for desktop apps after this training?
经过培训后,这是否会让我更轻松地学习台式机应用程序的自动化?
The concept remains the same. 概念保持不变。 In Web automation you use html's id property to get ui elements and then manipulate them, on desktop(windows) you use Automation Id to get ui elements.
在Web自动化中,您使用html的id属性获取ui元素,然后对其进行操作,在桌面(windows)上,您使用Automation Id来获取ui元素。
The first line of SeleniumHQ is Selenium automates browsers. SeleniumHQ的第一行是Selenium自动浏览器。 That's it!
而已! It is not a tool to automate windows application.
它不是使Windows应用程序自动化的工具。 Selenium does not have any native support for non-browser application.
Selenium没有对非浏览器应用程序的任何本机支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.