Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

why im not able to run selenium with eclipse

View previous topic View next topic Go down

why im not able to run selenium with eclipse

Post by anbarasi on Thu Dec 15, 2016 12:09 pm

hi
im trying to run java code  using eclipse and i get the following error .please someone help me out,,, im new to webdriver

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    WebDriver cannot be resolved to a type
    FirefoxDriver cannot be resolved to a type

    at runprojpack.runclass.main(runclass.java:6)

anbarasi
Amateur
Amateur

Posts : 49
Join date : 2012-04-30
Age : 29
Location : chennai

Back to top Go down

Re: why im not able to run selenium with eclipse

Post by aryasajeev on Mon Jan 16, 2017 11:50 pm

hi,

Please install java ,selenium standalone server selenium src along with eclipse and click on build as and select  add an external jar file ,then add all .jar files and selenium standalone and src.Please make sure that it doesn't have compatible issues.


Thanks
arya

aryasajeev

Posts : 4
Join date : 2016-11-24

Back to top Go down

Re: why im not able to run selenium with eclipse

Post by anbarasi on Wed Jan 25, 2017 9:00 pm

i did all still get this error

Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
    at org.openqa.selenium.firefox.FirefoxProfile.(FirefoxProfile.java:89)
    at org.openqa.selenium.firefox.FirefoxProfile.(FirefoxProfile.java:79)
    at org.openqa.selenium.firefox.FirefoxProfile.(FirefoxProfile.java:67)
    at org.openqa.selenium.firefox.FirefoxDriver.getProfile(FirefoxDriver.java:260)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:236)
    at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:190)
    at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:183)
    at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:179)
    at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:92)
    at neww.newwclass.main(newwclass.java:7)
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 11 more

anbarasi
Amateur
Amateur

Posts : 49
Join date : 2012-04-30
Age : 29
Location : chennai

Back to top Go down

Re: why im not able to run selenium with eclipse

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum