Often times, Selenium/Protactor action(s) will work on one browser but not on another browser. As in my case, the Scroll action and DoubleClick action are both accepted by Chrome, however not by Firefox Gecko driver. Some research find it to be a known issue with Firefox Gecko Driver not implementing the moveTo() action in selenium WebDriver. If run with the… Read more →
In my earlier posts here and here, I discussed how to configure protractor for single capabilities and multi-capabilities. In this post I will talk about how to detect the type of browser(s) that the tests are running against (ex. Chrome, Firefox etc.). The reason for doing so, because often times we are facing problems where we want to define certain… Read more →
In my earlier post, I talked about how to configure protractor to run on Firefox with single capabilities. however what if one needs to run on multiple browsers (whether if it is sequentiallly or parallely). That will be the topic of this post. So follow the conventions from the earlier post, we will use a separate file that contains the… Read more →
I have been developing tests using SerenityJS, which has Protractor running underneath it, to perform UI testing in a BDD fashion. The tests have been developed initially on MacOS with Chrome, as the tests mature, we wanted to extends our tests to run Firefox on MacOS.. Firefox uses the Gecko Driver. After some trial and error as well as extended… Read more →
Using SSH Key Pairs when working with a remote git repository (ex. GitHub) could save a lot of trouble and it is more secure. We will show you how to config GitHub using key pair you have generated today. (To see how to generate a key pair, you can see how to do it in Windows using PuttyGen here, or… Read more →
Today we will go through the steps to generate SSH Key pair using PuttyGen on Windows. So let’s get started: In your Windows, press start, then search for “PuttyGen” to launch the application Use PuttyGen to create a public key and private key pair Copy the public key in its entirety and save it somewhere (alternatively, click on the… Read more →
Recently I have been upgrading my windows systems to Windows 10 as the deadline for free upgrade was approaching. I first tried to upgrading my HP laptop which has Windows 8 installed, the upgrade went smoothly without a glitch. However when upgrading from Windows 7 I encountered the error: api-ms-win-core-libraryloader-l1-1-1.dll Is missing The information is rather vague, it simply… Read more →
I have a set of code which worked on before but never version controlled. I was trying to push it to Github by creating a new repo on Github with some git ignore config files and README.md, then initialize, add and commit the local repo with:
git add .
git commt -m "some message"
However when I try to pull from the remote repo on Github, an… Read more →
I have been architect and developing an automation framework recently. And I have been coding the framework in a pair with a colleague. We need to print out the result of the of test. He used System.out.println() in many different locations in the code to print result to the console, and then he decided to save the result in a… Read more →
At work, I use windows machines. Recently I generated a key-pair using PuttyGen in Windows, it worked fine when I connected to my remote server using Putty (Of course with my public key stored on the remote server first). However I got troubled when was trying to use this same private key I obtained from PuttyGen with ssh command from… Read more →