Appium Studio and Java Cucumber

I downloaded and installed appium studio on win10 and integrated it with eclipse. I run a few tests from appium studio directly and from eclipse too and all tests run properly. Now I would like to run my other tests written in java cucumber.
How I can do this?

Hi,
In order to work with cucumber I would recommend you first to build your cucumber project. Use the java tutorial.
Once your have an implementation for Given, When Then implement the method with the driver code.
In general Given will create the driver …

Hi Guy,

I already have test suite that I can run using Eclipse and Appium however it is java cucumber project. Now I would like to run it with Appium Studio but I’m not sure what I should do (import or convert the project to the Gradle).

Can you please point me to right direction how can I use my existing java cucumber project with Appium Studio?

Thank you,
Beata

Wait with it to 10.9 (expected on Friday) it will enable you to run it without changing anything.

WOW! Perfect! :smiley: It is really good news :slight_smile:

You can already try the beta version:

Thank you very much for the new version of Appium Studio. I updated it and tried to run my java cucumber tests. I changed drivers for Android and iOS but I’m not sure how I should import them to Appium Studio. When I was using Appium I used drivers from io.appium.* but if I try to do it my tests execute using plain Appium instead of Appium Studio. Can you please tell me how can I set up my configuration to run java cucumber tests or where to get correct drivers to run my test on Appium Studio?

The correct client files you need are located in a folder below the app itself. Using MacOS you’ll see

/Applications/AppiumStudio_10p9/clients/appium/clients/java

You need the entire contents of the java folder (at least that’s what I have done).

I believe your cucumber jars will need to be in addition to this.

I am actually on windows 10, not a mac. I think I found correct location on my machine: …AppiumStudio/clients/appium/clients/java and added this path to the Libraries in Eclipse. However id didn’t help. I still get the error “IOSDriver cannot be resolved to a type”.

The only way I can fix it is by importing IOSDriver: (import io.appium.java_client.ios.IOSDriver)
However it causes my tests to run try to use appium instead of appium studio server