Testing tools

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

Find target URL in each links in a page using advanced Selenium IDE script

In this article, we will create Selenium IDE routine that will find a target URL (we will use "webfoobar.com") in each links in each Google search page results until it finds the target URL. The Selenium IDE standard set of commands can't accomplish this task, we will need additional plugin "Flow control" that provides goto, while, etc. commands.As of this writing, the latest Selenium IDE does not support "Flow control" plugin additional commands and we will need to install legacy Selenium IDE plugin (version 2.9.1.1).

Remote Linux server PHP debugging using PhpStorm Xdebug with its port forwarded through SSH tunnel

If your client's site setup is complicated and you don't have time to replicate it in your local machine, your choice is to debug it directly. This article will show steps on how to debug a website's PHP codes remotely in a server with firewall specifically hosted in Linode server running Centos 7 64-bit Linux distribution, PHP-FPM (FastCGI Process Manager) and PHP 7.0 (the server is running multiple PHP versions).