Download and SetUp First Project

 

Pre-requisites:

1) What is Python?

2) What is Selenium?

3) What is behave ?

1. Download template project as a zip file to C:\seleniumfrmwrk

python_template_project

2. Extract the contents of the zip file and your folder should look like this

python_template_project 

3. Open Pycharm program (from All programs or if there is a shortcut on Desktop) and click Open.

pycharm_open_python_template

4. Point to the python_behave_template directory (In my case I downloaded to c:\seleniumfrmwrk)

pycharm_open_point_python_template

5. Now your project should be imported into pycharm as below

pycharm_template_imported

6. Check that your python runtime is recognized by pycharm (In my case, I have python 3.4 version installed and available in PATH. Hence pycharm picked it up)

pycharm_python34

7. IF your pycharm doesn’t recognize the python runtime installed, then explicitly point it by adding in File – settings – Project settings as shown below (This can also be used to switch between versions of python. Anyways, there is a much better way to handle python versions through virtualenv or pyenv, for now we will assume that we have one python version to work with)

pycharm_add_python_runtime

Download and SetUp First Project

 

Pre-requisites:

1) Set up and install Ruby

2) Set up and install Selenium

3) Set up and install Cucumber

  1.  Download template project as a zip file to C:\seleniumframeworkdownload_tempate_project
  2. Extract the contents of the zip file and your folder should look like this  template_extracted
  3.  Open RubyMine program (from All programs or if there is a shortcut on Desktop). The first screen would look like this. Just click OK  Rubymine_import
  4. Evaluate RubyMine for 30 daysYou can purchase it later if needed
  5. rubymine_evaluate
  6. Accept Rubymine license terms by checking the box  rubymine_acceptlicense
  7. Accept default theme of RubyMine. You may select other themes too.rubymine_defaulttheme
  8. Now click “open directory” [In this case, our directory is already a project]  

    rubymine_open

  9. Point it to the directory where we extracted the template project

    rubymine_pointdir

  10. RubyMine should open and you should see this screen

    rubymine_opened