• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Java/Selenium/Eclipse Setup error

 
Ranch Hand
Posts: 191
1
  • 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 Hand
Posts: 191
1
  • 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
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic