Follow these steps:
1. Download TestCafe’s Installation package (gzip format) from DevExpress. They are offering a free 30 day trial period which includes full access to their dedicated support desk.
– Extract gzip and recompress it as zip file
– Because some server extracts gzip as a whole document which is a wrong output and not as a folder with files inside it.
2. Upload the zip format of the Installation package and extract it.
See Illustration 1
3. Install TestCafe via Terminal command. For Windows user, use Putty.
– Open Terminal or Putty then connect to your server.
$ ssh email@example.com
– Check if you have installed Node.js first by executing this command.
$ node -v
A version will appear somewhat like this, depending on the version installed:
Once nodejs npm has been installed, execute these commands:
$ cd ~/(path to the folder extracted) $ bash install.sh
Once Installation has been done, execute this command to run TestCafe:
Once running, the URL of the Control Panel appears on the console, and you can now navigate using a browser.
See Illustration 2 and 3
– To exit TestCafe, just close the console application and the web broswer of the Control Panel.
– If you got an error about cannot execute binary file for ./node folder .
See Illustration 4
– Check if you have downloaded the correct Installation package for Linux (32-bit) and (64-bit) for your server’s computer architecture.
– Make sure you have not downloaded the MacOS installation package.
For Our Linux Server 2.6.32-431.20.3.el6.x86_64, we have installed the 64-bit ARM cpu package.
How to check your Linux server’s version? Type this command:
$ uname -a
TestCafe is now installed on your Linux Server! Now start writing your first test with TestCafe