Tag Info

Hot answers tagged


Short answer to your question: Unfortunately, Selenium do not provide any built-in function for minimizing the browser window, there is only function for maximizing the window. But there are some work around for doing this. You want window to be out of sight, then you need to use this code. by using it browser window will be out of your sight and you will ...


https://github.com/2gis/Winium.Desktop (the following text is just to get through the 30 characters limit) Winium.Desktop is an open source test automation tool for automated testing of Windows application based on WinForms and WPF platforms. Winium.Desktop.Driver implements Selenium Remote WebDriver and listens for JsonWireProtocol commands.


Click on Upload File Copy your Path in Clipboard (as Shown in the code) Press Ctrl+Vand hit Enter using robot class StringSelection selection = new StringSelection(file); Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); clipboard.setContents(selection, selection); robot.keyPress(KeyEvent.VK_CONTROL); robot.keyPress(KeyEvent.VK_V); ...


Unless you are doing any database or backend testing, you dont need any SQL knowledge for selenium. Selenium is a UI automation tool. In case if your test data is separated by any Database, you may require SQL queries to retrieve data from the DB; that would be only plain language + DB connection.

Only top voted, non community-wiki answers of a minimum length are eligible