![]() ![]() Click, Add Library… -> User Library -> Next. Make sure the ‘libraries’ tab is selected. ![]() ![]() Whereas in method 2, we will be creating a separate folder and name accordingly for easy identification and documentation purposes. If method 1 is followed, then it might become very difficult to differentiate the JARs added for each purpose. This is really handy when you are adding numerous external JAR files for various purposes such as, WebDriver, JUnit, Ant etc. Currently I have one file in ‘selenium-java-3.0.0-beta2’ folder and 16 files in selenium-java-3.0.0-beta2\lib folder.Ĭlick ‘Open’ to add them to the Libraries tab. Make sure that you select all the files with type, ‘Executable Jar File’. ![]() Browse to the location where the files from site (Selenium Client and WebDriver Language Bindings) were downloaded and extracted. Now there are TWO WAYS to add external JARs to our project. Choose ‘Build Path’ -> ‘Configure Build Path…’ I have named my project as ‘WebDriver Tests’. Switch over to Eclipse and choose the desired workspace directory.Ĭreate a new Java Project as follows, File -> new -> Java Project. (Please note that the version number that you are seeing might be different from the one in the snapshot here as 3.0.0-beta2 is the latest when this post is created.)Įxtract the downloaded files to required location on your system. Under “Selenium Client
0 Comments
Leave a Reply. |