简体   繁体   中英

Can I open an application using Selenium?

I'm writing a script for test automation which requires checking the back-end SQL database in the SQL Developer. Is it possible that I do this through selenium? Selenium is a web automation..

If not, I can do this through java, right?

Selenium仅用于Web浏览器,它在浏览器中打开网站并仅记录网站,它不用于桌面应用程序,您将使用Java或QTP的桌面应用程序。

I dont think selenium can open desktop applications. It can only open browser depending on the input variable. You need to do it in java.

If you are using java with selenium you can use :

Runtime.getRuntime().exec("//path to ur application")

Now further if that application has UI that you can get control on that using tools like Autoit .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM