• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java/Selenium/Eclipse Setup error

 
Ranch Foreman
Posts: 880
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My simple code to check that my Selenium Setup is correct looks like this:



I run it as a Java Application.

I get errors saying:

You are using an unsupported command line flag.   Ignore certificate errors  
and a bunch of other things.

Every time I install the eclipse combination I run into different trouble.

I do it from memory.  I go to SeleniumHQ.org  and eclipse and download the parts I want.  Something always goes wrong.

Besides assisting me with this error does anyone know of a place that has the Windows 64bit setup written out clearly so I don't have to rely on my memory?

Thanks,

Kevin
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe it is much better to rely on a build system which has automatic dependency management like Apache Maven rather than manually "download the parts I want".


Here is how you can get latest Selenium client libraries into your project.



Another option is compiling so called "uber" jar from the source code, it will allow avoiding any clashes with other libraries you might be using:




See How to Run a Selenium Test with JUnit article for step-by-step instructions on setting up environment for Selenium tests development.
 
kevin Abel
Ranch Foreman
Posts: 880
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dimitry,
The Maven Idea looks good.
Appreciated.
Thanks,
Kevin
reply
    Bookmark Topic Watch Topic
  • New Topic