import io.appium.java_client.AppiumDriver; and import io.appium.java_client.MobileElement; = error

4,423 views
Skip to first unread message

Jeffrey Blaze

unread,
Jun 23, 2014, 4:40:27 PM6/23/14
to appium-...@googlegroups.com
The sample code (appium / sample-code / examples / java / junit / src / test / java / com / saucelabs / appium / UICatalogTest.java) uses those imports, but when I add them to my code Eclipse complains that the imports cannot be found. Where are they?

bootstrap online

unread,
Jun 23, 2014, 4:41:49 PM6/23/14
to Jeffrey Blaze, appium-...@googlegroups.com
https://github.com/appium/java-client
> --
> http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to appium-discus...@googlegroups.com.
> Visit this group at http://groups.google.com/group/appium-discuss.
> For more options, visit https://groups.google.com/d/optout.

Jeffrey Blaze

unread,
Jun 23, 2014, 4:47:15 PM6/23/14
to appium-...@googlegroups.com
???
A little more info please?
That URL points to the main Appium site.

Jeffrey Blaze

unread,
Jun 23, 2014, 4:50:35 PM6/23/14
to appium-...@googlegroups.com
Sorry, my reply was in reference to "http://appium.io" I see that your reply was actually https://github.com/appium/java-client 
But still, a little more info would help!
All I infer from your response is that I have to Maven-ize my project. Is that correct?


On Monday, June 23, 2014 1:40:27 PM UTC-7, Jeffrey Blaze wrote:

bootstrap online

unread,
Jun 23, 2014, 4:52:12 PM6/23/14
to Jeffrey Blaze, appium-...@googlegroups.com
You need the appium java-client jar. maven isn't required.

Jeffrey Blaze

unread,
Jun 23, 2014, 4:58:07 PM6/23/14
to appium-...@googlegroups.com
At https://github.com/appium/java-client I do not find java-client jar. I find the sentence:

    Or, the compiled jar can be found in out/artifacts/java_client
but I cannot find that location
 

On Monday, June 23, 2014 1:40:27 PM UTC-7, Jeffrey Blaze wrote:

bootstrap online

unread,
Jun 23, 2014, 5:00:41 PM6/23/14
to Jeffrey Blaze, appium-...@googlegroups.com
"Download the jar from Maven" click that

rajendraprasad reddy

unread,
Jun 24, 2014, 2:21:04 PM6/24/14
to appium-...@googlegroups.com

java-client

Java language binding for writing Appium Tests, conforms to Mobile JSON Wire Protocol

Following jars must required.

Depends upon the Selenium Java client library :http://docs.seleniumhq.org/download/    (2.42.2 Latest  )

Download the jar from Maven : Appium Java Client Link: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22io.appium%22%20AND%20a%3A%22java-client%22   (1.4  Is latest)

GSON Jar :   https://code.google.com/p/google-gson/downloads/detail?name=google-gson-2.2.4-release.zip  (gson.2.2.4.jar    latest )

Thanks,

Rajendra 



 
Reply all
Reply to author
Forward
0 new messages