问题描述
我想使用硒来自动化桌面应用程序,但桌面应用程序不提供定位器和元素X路径,我如何在桌面应用程序中定位元素
i want to use selenium to automate desktop application but desktop applications does not provide locators and elements X path,how can i locate elements in desktop application
推荐答案
否,使用硒只能使基于Web的应用程序自动化. Selenium没有提供任何自动化桌面应用程序的方法.为了使桌面应用程序自动化,我们可以使用其他工具,例如 AutoIT .
No, Using selenium we can automate only web based application. Selenium doesn't provide any way to automate desktop applications. For automating desktop application we can use other tools such as AutoIT.
请在此处参考一些想法-> http://seleniumsimplified.com/2016/01/can-i-use-selenium-webdriver-to-automate-a-windows-desktop-application/
Refer here for some idea->http://seleniumsimplified.com/2016/01/can-i-use-selenium-webdriver-to-automate-a-windows-desktop-application/
这篇关于Selenium支持是否可以自动执行桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!