

exe file from (click on downloads link, then select latest version folder and select IEDriverServer_Win32_3.3.0.zip or IEDriverServer_圆4_3.3.0.zip).
PROTRACTOR FRAMEWORK INSTALL
For Internet Explorer: Install Selenium IE driver by downloading.Once you install one of them you also need to install the chrome driver to be able to keep tests in chrome working. If you want to be able to run tests also in Internet explorer and firefox you need to install the specific browser drivers for it. If you want to change this you need to do following:īy default tests are running in Chrome. Testing in specific environment from command lineīy default tests are running in acceptance environment.

You can find the available test suites in the conf.js file.Run specific test scripts with command:.Open a new commandline, go to the “PartnerPortal” root directory and do one of the following things: Running tests by using ‘protractor’ commands. Be sure to leave the window open! It runs the selenium-standanlone server.Ģ.

When you see ‘Selenium started’ message in cmd prompt window this means Selenium works fine. You can do this by opening a new cmd prompt window and entering following command: Start Selenium server Before you start a test be sure you have Selenium standalone server running.Right click the Package.json file and click on “npm install” which install the dependencies required for the project. Restart your Webstorm to see the changes like below.Ħ. Website.Tests/conf/conf.js (we have to specify the project config file path here)ĥ. (Appdata is hidden folder under your user name folder) Java Script File: C:\Users\# \AppData\Roaming\npm\node_modules\protractor\built\cli.js.Working director: – C:\protractor\Website.Tests.Node interpreter: – C:\Program Files\nodejs\node.exe.Give the Name “ProtactorPartner” portal(any unique name) and set the properties as mentioned below. Click on the “Node.js” to link to CLI file from NPM module as mentioned in the(Step 04).Ĥ.Click on the “Edit Config” and enter the details as mentioned in the (Step 03).Open Webstorm IDE and go to “File” and “open” Folder “PartnerPortal” root directory( download link is shared at the last).Things required for setting up webstrom IDE Things required for Automation script to work Reading Time: 6 minutes Snap shot of framework which we will be designing.
