Thursday, 19 September 2013

Python | Eclipse | PyDev | Selenium

Configure PyDev in Eclipse

1| Install PyDev plugin in Eclipse
Help > Install New Software...
2| Click Add and type http://pydev.org/updates
3| Select the check box, 'PyDev' and press Next.

Note:
By default, Aptana Studio has inbuilt PyDev installed; Other steps are similar to Eclipse.



4| Go to Windows > Preferences > Interpreter - Python


5| Click on 'New' and Locate python.exe  "C:\Python27\python.exe"




6| Create a New Python Project  
Right click on package Explorer > New > others
7| Type 'PyDev Project'.
8| Select 'PyDev Project' and press Finish.


9| Create a new Python package.


10| Create a new PyDev module.
Right click on package > New > PyDev module



11| Develop your python selenium script and execute Tests ;)


6 comments: