+91 9790664230
kumar.arun211@gmail.com

Category: java

Blog to learn python selenium from java selenium

Java selenium commands cheat sheet

Frequently used java selenium commands – Cheat Sheet Visit python selenium commands cheat sheet here. Driver setup: Firefox: System.se­tPr­ope­rty­(“we­bdr­ive­r.g­eck­o.d­riv­er”, “­Pat­h To­ g­eck­odr­ive­r”); To download: Visit GitHub Chrome: System.se­tPr­ope­rty­(“we­bdr­ive­r.chrome.d­riv­er”, “­Pat­h To­ chromedr­ive­r”); To download: Visit Here Internet Explorer: System.se­tPr­ope­rty­(“we­bdr­ive­r.ie.d­riv­er”, “­Pat­h To­ IEDriverServer.exe”); To download: Visit Here Edge: System.se­tPr­ope­rty­(“we­bdr­ive­r.edge.d­riv­er”, “­Pat­h To­ MicrosoftWebDriver.exe”); To download: Visit Here Opera:…
Read more

Test Automation: Reduce time to analyze and report failures

There are many basics expectations from automation testing framework like code re-usability, human readable report generation, easy maintenance etc… These are the expectations that are the widely discussed in every forum, blog and meet ups with few exceptions. However once we created framework with all expectations and starts using it in real time, there will…
Read more

Mouse Over actions using Python Selenium WebDriver

There will be scenarios where we need to click on the item of a drop down menu. In order to perform this action manually, first we need to bring up the drop down menu by holding mouse over the parent menu. Then click on required child menu from drop down menu displayed. Using ActionChains class…
Read more

How to open Firefox browser by passing driver executable path

In this post, we have seen how to start Firefox. Before executing the script, we ensured that Firefox driver is available in PATH. There is another way to start Firefox without PATH settings. Instead of setting PATH environment variable, executable_path property can be passed while invoking Firefox instance. Syntax: driver = webdriver.Firefox(executable_path=”[path to driver location]”);…
Read more

How to open URL in specific Firefox browser version

Often times we encounter a scenario where we need to run tests on different versions of Firefox on the same machine. This is possible and as easy as running tests in other scenarios using Selenium WebDriver. In java, We can do it in two ways: 1) System.setProperty(“webdriver.gecko.driver”, “Path_To_Firefox_Driver/geckodriver”); System.setProperty(“webdriver.firefox.bin”, “Path_To_Firefox_Binary”); WebDriver driver = new FirefoxDriver();…
Read more

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy