Test website google.com as HTTP referrer using Selenium IDE

The following steps are creating an automatic test for a website where the request originated from google.com using Selenium IDE.

  • Open Selenium IDE and create a new project.

  • Add new test named "google.com referrer".

  • Enter "https://www.google.com" on "Playback base URL" field.

  • Enter the following commands:

    1. Command:
      open
      Target:
      /search?q=webfoobar
      Value:

How to run Selenium tests repeatedly in infinite loop

We have a series of tests and we need to run them repeatedly for an extended length of time but there is no settings in Selenium IDE that allows infinite loop test run. In this article, will show the workaround to achieve that.

  • Open Selenium IDE and create a new project.

  • Add new test named "infinite loop run".

  • Enter the following commands:

    1. Command:
      execute script
      Target:
      return 0;
      Value:
      index

Your RAM might still working

When your computer wont boot and you've done process of elimination confirming that the RAM is the culprit, mostly you might think of replacing the RAM. Before you throw away your RAM, you might want to try this troubleshooting first in this article. There is also the possibility that your motherboard's RAM socket is already loose, specially if it is already old. The motherboard's RAM socket contact pins might not all touching the RAM's golden finger.

Mount SD card to "C:\Program Files" in Windows 10

The following are the steps on how to mount SD card to "C:\Program Files" in Windows 10 without using softlink:

  1. Create "C:\sdcard" folder.

  2. Go to "Administrative Tools" > "Computer Management" > "Disk Management".

  3. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Remove".

  4. Right click on SD card drive, select "Change Drive Letters and Paths…", click "Add..", type "C:\sdcard" and click "OK".

Tags

Smart IP Drupal 8 settings explained

The following is the explanation of each Smart IP Drupal 8 settings.

Database Update Status

This Smart IP section setting will only appear if your Data Source is either IP2Location binary database or MaxMind GeoIP2 binary database. It display the status of database update process from manually executed or automatically during cron run. If the database update failed, you can manually force the database update by clicking the "Update database now" button.

Setup WebPack to sync your defined source folders/files with your distribution folder

In Grunt, there's a plugin called Grunt-sync that can keep directories in sync. This is useful if you have custom template that is common and used in all your websites you are developing (it is good practice to modify/update your common custom template in one place instead of modifying/updating in each of websites source files). As of this writing there's no plugin for WebPack that can do the functionality same as Grunt-sync. However, we can "almost" achieve the functionality of Grunt-sync on WebPack by using two plugins. These are "Copy WebPack Plugin" and "Clean for WebPack" plugins.