Steps for creating a project in Eclipse
Quality,  Selenium,  Selenium Configuration

Steps for creating a project in Eclipse

The steps for creating a project in Eclipse for the Automation Testing using Selenium are given below:

  • Create a project by navigating to File >> New >> Select project.
  • Select the Java Project
  • Steps for creating a project in Eclipse
  • Give the project name ‘Selenium or any name’.
  • Select 1.6/1.7/1.8 from dropdown Use an execution environment JRE then click on finish.
  • Click on Yes to continue the setup

Steps for creating a project in Eclipse

  • Expand the Selenium Automation Project
  • Right click on JRE system library
  • Click on Build path and select Configure build path.

Steps for creating a project in Eclipse

  • Click on Add External JARs – select selenium server standalone jar file from library folder then click on ‘Open’ and ‘Ok’.
  • Steps for creating a project in Eclipse
  • Go to ‘Run’ click an ‘External Tools’ and select ‘External Tools Configurations’.
  • Steps for creating a project in Eclipse
  • Double click on the program.
  • Click on ‘browser file system’ then select ‘Java.exe’ from the following path

C\program files\java\jre8\bin\java.exe

  • Click on ‘browse file system‘ in the working directory and select ‘library folder’.

D:\Library

  • It should contain the selenium server standalone jar file.
  • Give the ‘Argument’ as “–jar selenium–server–standalone–2.48.0 jar”.
  • Click on ‘Apply’ and then ‘Run’.

Steps for creating a project in Eclipse

Note: By default, selenium will run on the part ‘4444’. If required we can change part number also.

Package:

  • Package is nothing but the folder where it contains classes.
  • It will be available in the SRC folder of the project.

Class:

  • A class is a blue print or template, it contains objects.
  • An object can be anything which should physically available.
  • In Java, the object is nothing but ‘datatype, method, instances’.

Public Static Void main:

  • It is the main method which is responsible for execution.
  • To take the elements, locators or targets, we have the below add-on’s for the browser.

 

Browser                                                                    Addons

Firefox                                                            fire bug and inspect element(q)

IE                                                                   developer tools

Google chrome                                             inspect element

Safari                                                            inspect element

Opera                                                           inspect element

 

Please click here to read Selenium Configuration with Java

Please click here to read Selenium Components

Please click here to read Selenium IDE

Please click here to read Advantages and limitations of Selenium IDE

17 Comments

  • kd 11

    I have to show appreciation to you for bailing me out of this particular challenge. Right after scouting through the search engines and obtaining things which are not beneficial, I was thinking my life was well over. Being alive devoid of the strategies to the problems you have solved by way of your main article content is a serious case, and the ones which may have badly affected my entire career if I hadn’t encountered your web blog. Your actual mastery and kindness in playing with the whole thing was helpful. I don’t know what I would’ve done if I had not encountered such a thing like this. I’m able to now relish my future. Thanks for your time so much for your high quality and result oriented help. I won’t be reluctant to propose your blog to any person who would need direction about this problem.

  • golden goose outlet

    Thanks a lot for giving everyone a very memorable possiblity to read in detail from this site. It’s usually so ideal and as well , full of a great time for me personally and my office friends to search your site no less than thrice in one week to read through the fresh tips you have got. And lastly, I’m just usually amazed concerning the surprising methods you give. Some 1 facts in this posting are in reality the most effective we’ve had.

  • retro jordans

    Thank you a lot for giving everyone remarkably nice possiblity to discover important secrets from this blog. It really is so great plus jam-packed with a good time for me personally and my office peers to visit your website nearly three times in 7 days to read the latest items you have got. Of course, I am just at all times impressed considering the mind-blowing tips you give. Some two ideas in this posting are in truth the simplest we have ever had.

  • golden goose outlet

    I must show my appreciation for your kindness giving support to visitors who should have guidance on that niche. Your personal commitment to getting the solution around ended up being incredibly effective and has consistently empowered individuals much like me to reach their dreams. This warm and helpful tips and hints implies so much a person like me and far more to my office workers. Regards; from everyone of us.

  • supreme outlet

    I precisely wanted to appreciate you yet again. I do not know the things that I would’ve undertaken in the absence of the tactics shown by you about my situation. Completely was the frightening setting in my view, nevertheless coming across a professional manner you managed that made me to cry over gladness. I will be happy for this assistance and then expect you recognize what a great job you happen to be providing instructing other individuals with the aid of your web blog. I’m certain you haven’t come across any of us.

  • retro jordans

    My husband and i have been really thrilled that Chris managed to complete his investigations by way of the precious recommendations he had while using the blog. It is now and again perplexing to just happen to be giving freely secrets and techniques which often most people could have been making money from. Therefore we know we’ve got the blog owner to give thanks to because of that. All the illustrations you’ve made, the easy website menu, the relationships you will make it easier to promote – it is everything overwhelming, and it’s really leading our son in addition to the family understand that matter is entertaining, which is certainly quite vital. Many thanks for the whole thing!

  • supreme clothing

    A lot of thanks for all of your hard work on this web site. Ellie enjoys managing internet research and it is easy to see why. We all know all of the dynamic tactic you deliver good suggestions by means of your web blog and as well as boost response from other individuals on this point and our favorite girl is always being taught a lot. Have fun with the remaining portion of the new year. You have been conducting a very good job.

  • kd 10

    I simply wanted to thank you very much once more. I’m not certain what I would have accomplished in the absence of the actual advice discussed by you directly on this field. Previously it was an absolute alarming difficulty in my opinion, but being able to see your well-written form you resolved that made me to weep over contentment. I am just happier for this guidance and expect you find out what a powerful job you’re carrying out training most people thru a site. Most probably you’ve never got to know all of us.

  • lebron james shoes

    I intended to create you one tiny word so as to thank you so much over again over the nice thoughts you’ve featured on this page. This has been certainly tremendously open-handed of you to allow extensively just what most of us could possibly have offered for sale for an e book to generate some dough on their own, primarily given that you might have tried it if you ever decided. The pointers in addition acted like a great way to realize that most people have the identical eagerness just as my personal own to grasp way more in regard to this problem. I think there are numerous more pleasurable times up front for many who see your site.

  • giannis shoes

    My spouse and i were absolutely peaceful when John managed to complete his analysis from your precious recommendations he received from your very own web site. It’s not at all simplistic just to possibly be making a gift of things people today could have been selling. And we understand we’ve got the blog owner to thank for this. The specific explanations you’ve made, the easy blog navigation, the friendships you will make it possible to instill – it is most sensational, and it’s really letting our son in addition to our family imagine that the idea is awesome, and that is seriously pressing. Thanks for the whole thing!

  • kyrie spongebob

    I wanted to send you a tiny word in order to give thanks over again on your magnificent pointers you’ve discussed above. It was certainly seriously open-handed of you to offer unhampered just what many individuals might have sold for an ebook to earn some money on their own, even more so considering the fact that you might have tried it if you decided. Those pointers in addition worked like a great way to fully grasp other people online have similar dream like my personal own to know the truth significantly more when it comes to this condition. I’m sure there are many more fun periods ahead for many who see your website.

  • froleprotrem

    I am no longer positive the place you are getting your info, however good topic. I must spend a while studying much more or understanding more. Thank you for fantastic info I used to be in search of this info for my mission.

  • yeezy 500 blush

    I抦 impressed, I need to say. Actually hardly ever do I encounter a blog that抯 each educative and entertaining, and let me tell you, you’ve hit the nail on the head. Your idea is excellent; the problem is one thing that not sufficient people are talking intelligently about. I’m very pleased that I stumbled across this in my seek for something referring to this.

Leave a Reply

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