selenium WebDriver common.jar and selenium.jar files

338 views
Skip to first unread message

anurag verma

unread,
Jun 25, 2013, 4:03:41 AM6/25/13
to seleniu...@googlegroups.com
Hi,
I'm new to Selenium and am going through the book 'Selenium 2 Testing
Tools'. I'm setting up a Java environment in Intellij IDEA and have
downloaded the selenium-server-2.28.0 from here<http://code.google.com/p/selenium/downloads/list>.
The book says to add "selenium.jar" and "common.jar" to the global
library, but I can't find those files in the file I downloaded after
extraction. What I see is a libs folder with some "common" jars in it, and
3 selenium-server jars.

Any ideas on which are the correct files to include?

Thanks
Anurag Verma

Ashish Srivastava

unread,
May 25, 2015, 11:26:09 PM5/25/15
to seleniu...@googlegroups.com
Hi Anurag,

I am also facing same problem. Do you know the solution ?

Ashish

Krishnan Mahadevan

unread,
May 25, 2015, 11:28:04 PM5/25/15
to Selenium Users
Ashish,

Can you please tell us what exactly have you tried so far and where are you stuck ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/570d24e4-4735-4e78-9709-a59db8468837%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ashish Srivastava

unread,
May 25, 2015, 11:58:39 PM5/25/15
to seleniu...@googlegroups.com
Hi Krishnan,

I have downloaded language bindings from http://docs.seleniumhq.org/download/.

I have downloaded selenium-server-<version>.zip
But unable to find correct selenium.jar and common.jar.
 
I am trying  to set up your Java environment on intellij IDE.

Ashish

Krishnan Mahadevan

unread,
May 26, 2015, 7:35:55 AM5/26/15
to Selenium Users
Ashish,


You are better off setting a selenium webdriver project as a Maven project [ i.e., leverage a build tool such as Maven to help you with the setup]. That would basically give you all the things that you need out of the box.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

Ashish Srivastava

unread,
May 27, 2015, 8:15:24 PM5/27/15
to seleniu...@googlegroups.com
Thanks!!
Ashish

Afzal

unread,
May 28, 2015, 3:35:34 PM5/28/15
to seleniu...@googlegroups.com
Hi,

Let me give you easy method of creating selenium MAVEN Project

Install Maven

set Maven_HOME

Go for command prompt

type mvn --version

It should display the version which you installed

mvn archetype:generate

select default build no.

provide Group Id 

ArtifactId, Version, leave package as blank


navigate to the project folder which you gave

mvn eclipse:eclipse

Go for Eclipse IDE and import project and convert it as Maven project and add all selenium, unitframework libs 

You can start automating desired application now.


Happy Automation testing


Regards,
Afzal
Reply all
Reply to author
Forward
0 new messages