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
Step 2- Now you have option to export as zip file or jar files, in this will export as zip file
Step 3- Select the project (By default it will be Selected) and the location where you want to export this file.
Step 4- Check your project has been exported.
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.
Step 2-Click on Java > JAR file > Click on Next Button.
Step 3-Click Browse button and specify the location.
Note- Depends on your choice we can change the location.
Step 4- Project has been exported, you can check the jars.
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
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
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.
Step 2- Click on General > Click on Appearance > Click on Color and Fonts > in right side Click on Basic.
Step 3- Once you click on Basics > Now Select Text font and Click on Edit button.
Step 4- Now Select Font size and color based on your choice and Click on Ok
We are done now.
Restart Eclipse-
When you face some issue with Eclipse so don’t close directly, better to restart eclipse
Go to File > Select Restart
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.
Mukesh Otwani says
Hi Jisha,
Thanks for your appreciation. Please feel free to ask your doubts on my blog and email. Happy learning..:)
Chuong says
Hi. Thanks you for this share. I just a new tester learning about automation test. And your post so helpful for me.
Mukesh Otwani says
Hi Choung,
You are most welcome…:)
Pavithra Manoharan says
Hi,
Thank u so much..Ur guidance is very helpful for the beginners like me.
Mukesh Otwani says
Hi Pavithra,
I am glad to read from you.
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.
Mukesh Otwani says
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.
Latha says
Thank you very much for your valuable info…
Mukesh Otwani says
Welcome Latha. Have a nice weekend.
sandeep says
Thanks a lot Mukesh its really helpful for beginner like me.
Mukesh Otwani says
Thanks Sandeep.
Dhaval Shah says
Thank you Mukesh. Really helpful articles.
Mukesh Otwani says
Welcome Dhaval
raju dantuluri says
Hi Mukesh,
Very much thanks for your articles, god bless you.
Mukesh Otwani says
Thank you so much Raju
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
Mukesh Otwani says
Hi Abhi,
You can export your current project only ;0