Monday, September 9, 2019

Post#6.Install Eclipse


Install Eclipse

Pre-requisite:  JDK should be installed.
Eclipse is an IDE for Java; we are going to use the same IDE for selenium also.
1. Go to https://www.eclipse.org/downloads/packages/
2.Click download on the Windows 64 is bit Under Eclipse IDE for Java and DSL Developers.



3. Once it completes download right Click on the .zip file and extract it.




4. After extraction Double click on the Eclipse Icon or right>Open

5. It will ask for the workspace location by default it creates workspace in Documents

6. Click Launch and it takes some time to open.

7. After Opening you might see below screen Click on Close (cross)

8. Click on file ->New->Java Project (if java project is not there means please select project and then select java from the list)

9. Enter project name with Camel Convention (first letter Capital and second word first letter Capital)

10. Click Finish
11. You may see Screen like below Now Right click on the project New->Package

11.1. Package Name should follow pascal Convention first letter of first word should be small letter and first letter of second word should be Capital letter


12. Right click on the Package->Click New Class

12.1. Class name should follow Camel Convention.


13. After clicking finish you may screen like this.
Now you can write your java program inside the class.

No comments:

Post a Comment