+91 9790664230
kumar.arun211@gmail.com

Category: java

Blog to learn python and selenium

Browser driver management with WebDriverManager

In this article, we are going to leverage WebDriverManager by Boni Garcia to setup browser driver required to execute our tests. We all know that we need to have browser drivers, .exe files like chromedriver.exe and geckodriver.exe in case of windows environment or binary files like chromedriver and geckodriver in case of linux distributions, in…
Read more

Working with file upload using Java Selenium WebDriver

We have seen how to download file in selenium in this article. Like file download scenario, file upload is also frequently used use case in automation testing. In this article, lets learn how to upload a file using Java Selenium Webdriver. For python example, visit our article. Sample HTML: <!DOCTYPE html> <html> <body> <form action=”**”>…
Read more

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 browser on the same machine. This specific Firefox browser tests run using python selenium is possible and as easy as running tests in other scenarios using Selenium WebDriver. In java, We can do it in two ways: 1)…
Read more

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy