-
Moving slider and dragging elements with WebDriver
Recently i faced with a situation where i had to automate moving ajax slider to the left and right with WebDriver. Googling this situation brought me to working code and some conclusions : If you want to move slider ( both horizontal and vertical) , you can use this method: /** * A convenience method…
-
Disable right click action for sites built on squarespace platform
Squarespace is a really cool and nice platform for building fast and wow-effective websites :) Recently my girlfriend decided to update her website and make it look better, so we started to google different options. On the table there were wordpress, squarespace and wix. At first, we decided to try out…
-
Find all plugins for Sublime Text editor in one place
I'm a big fan of Sublime Text editor . It's an awesome tool for both developers and testers. In this editor i started my awesome trip into learning Python and i really like it when i need to write some simple script and check it very fast. Besides that, it's really…
-
Click menu item with mouse hover using WebDriver
Today I needed to select menu item from menu that couldn't be clicked, but had to be hovered to show all items. WebDriver has nice Actions class that easily allows you to do that : public void selectFromDropDownWithHover(String menuTitle, String menuItem, String locatorType) throws Exception { Actions actions = new Actions(manager.…
-
Adding simple logging to scala project
Recently i wanted to add some simple logging to tests in my scala project so it would be easier to understand with wich generated values i'm facing in each test. After some trials i came up to this nice and easy solution To set it up you just need to…
-
How to build jar out of your scala project using assembly
Currenty, in my free time, i'm working on my own project that will allow in the future to generate beautiful and meaningful test data for automated tests. The idea is to have it as a jar file that will be either included into project manually, or via maven. That's why…