Basic Selenium

Eclipse Tips and Tricks

In Selenium we will be playing with Eclipse as well so you should be familiar with some basic tips and tricks.

In this post we will see some of the tricks.

1-Export existing project as zip file in Eclipse .

2-Export existing project as jar file in Eclipse

3-Clean Project in Eclipse.

4-How to change font size and color in Eclipse.

5- Restart Eclipse

 

Export existing project in Eclipse-

 

Eclipse comes with very good feature like import or export any existing project.

Simply follow below steps to export project

 

Step 1- Select project, right click on project, and click on export

Eclipse Tips and Tricks

 

 

Step 2- Now you have option to export as zip file or jar files, in this will export as zip file

Eclipse Tips and Tricks

 

 

 

Step 3- Select the project (By default it will be Selected) and the location where you want to export this file.

Eclipse Tips and Tricks

 

 

 

Step 4- Check your project has been exported.

 

Eclipse Tips and Tricks

 Export project in Eclipse as an Jar file

 

We can export Selenium project as a jar file also using the same steps by doing small changes

 

Step 1- Select project and right click on project and  click on export.

 

 

Eclipse Tips and Tricks

 

 

 

 

 

Step 2-Click on Java > JAR file > Click on Next Button.

 

Eclipse Tips and Tricks

 

 

 

 

 

Step 3-Click Browse button and specify the location.

Eclipse Tips and Tricks

 

Eclipse Tips and Tricks

 

Note- Depends on your choice we can change the location.

 

 

 

Step 4- Project has been exported, you can check the jars.

 

 

Eclipse Tips and Tricks

 

Clean Project in Eclipse

How to Clean Project in Eclipse

Since Eclipse is freeware tool so sometime it does not work as per your requirement and some point still point to old location in this case we can clean our project

When you face any inconsistency with Eclipse then clean your project or restart eclipse.

 

Step 1- Open Eclipse and Click on Project and Click on Clean

 

Eclipse Tips and Tricks
Step 2- Now you will get two options- You can select based on your choice

Clean all projects- This will clean the entire project on project explorer

 

Clean selected project- This will clean only Selected project

 

Eclipse Tips and Tricks

 

 

 

Change font size and color in Eclipse.

 

Eclipse comes with default font size and color standard so in case if you want to change it then yes we can change easily in 2 Steps

 

 

1-   Open Eclipse > Click on Window > Click on Preferences.

Eclipse Tips and Tricks

 

 

Step 2- Click on General > Click on Appearance > Click on Color and Fonts > in right side Click on Basic.

 

Eclipse Tips and Tricks

 

Step 3- Once you click on Basics > Now Select Text font and Click on Edit button.

 

 

Eclipse Tips and Tricks

 

 

 

Step 4- Now Select Font size and color based on your choice and Click on Ok

We are done now.

 

Eclipse Tips and Tricks

 

 

Restart Eclipse-

When you face some issue with Eclipse so don’t close directly, better to restart eclipse

Go to File > Select Restart

author-avatar

About Mukesh Otwani

I am Mukesh Otwani working professional in a beautiful city Bangalore India. I completed by BE from RGPV university Bhopal. I have passion towards automation testing since couple of years I started with Selenium then I got chance to work with other tools like Maven, Ant, Git, GitHub, Jenkins, Sikuli, Selenium Builder etc.

18 thoughts on “Eclipse Tips and Tricks

  1. Jisha says:

    I’m a beginner in Selenium and have recently left my job and looking out . Very detailed and step by step information provided. Thanks Mukesh for this valuable information and help for QA community through your videos, blogs. Successfully able to perform the installation process.

    1. Hi Jisha,

      Thanks for your appreciation. Please feel free to ask your doubts on my blog and email. Happy learning..:)

  2. Chuong says:

    Hi. Thanks you for this share. I just a new tester learning about automation test. And your post so helpful for me.

    1. Hi Choung,

      You are most welcome…:)

  3. Pavithra Manoharan says:

    Hi,
    Thank u so much..Ur guidance is very helpful for the beginners like me.

    1. Hi Pavithra,

      I am glad to read from you.

  4. Shambo says:

    Hi Mukesh,

    Your videos are really helpful and as a senior and adviser i want to take a suggestion from you.

    Here is my point:
    I have left my job recently which was based on Manual Testing.And i was not interested in manual testing and there was nothing to learn in that organization.But i am deeply interested in Automation Testing.So I am Planning to show my work experience of 1.5 years which was based on manual testing(Overall experience=1.5 years)as Automation Testing in Selenium .So can u suggest me what sort of challenges i can expect and what i need to do present my case better and give an impression in the interview that i have worked really on Selenium for 1.5 years.

    1. Hi Shambo,

      Happy to read that you want to move from manual to automation.
      Now wrt your interview, it all depends on interviewer. Most of the time in case of Selenium interview, they generally ask those question which are related to real time scenarios. Moreover Selenium is just an API, knowledge of Java matters a lot. If you are smart enough then you can bluff. But in my opinion, present yourself as what you are instead of something else.

  5. Latha says:

    Thank you very much for your valuable info…

    1. Welcome Latha. Have a nice weekend.

  6. sandeep says:

    Thanks a lot Mukesh its really helpful for beginner like me.

  7. Dhaval Shah says:

    Thank you Mukesh. Really helpful articles.

  8. raju dantuluri says:

    Hi Mukesh,
    Very much thanks for your articles, god bless you.

    1. Thank you so much Raju

  9. abhi says:

    Hi Mukesh

    Great resources. Thanks for the articles.

    Could you please help me with the Projects Export and Import. I dont see any Demo projects which I can export. Am I missing something ?

    Also the links for the topics Encapsulation and Polymorphism are not enabled. could you please look into it.

    Thanks
    Abhi

    1. Hi Abhi,

      You can export your current project only ;0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.