Steps to run this test framework:
-
Install Ubuntu(I use 16.04)
please refer to https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-desktop
-
Install nodejs&npm
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
nodejs -v
-
Install Protractor&Webdriver-manager
npm install -g protractor
webdriver-manager update
webdriver-manager start
-
Install Git
sudo apt-get install git-core
-
Configure your own git setting
git config --global user.name "testuser" git config --global user.email "[email protected]"
-
Clone this project
git clone [email protected]:sl-sandy/UI_Automation.git
-
Enter into root folder(with conf.js in it) of this project then run following command
protractor conf.js --suite smoke