Darkbound
Darkbound

Reputation: 3434

Appium JavaScript, how to write & execute my first test?

I want to run tests with Appium written in JavaScript but I can't find any info on how to write/execute them. I have followed the tutorials that I have found and I am pretty sure that I have everything in place to get going. I have installed:

npm install appium -g
npm install wd in my local directory
Android SDK 
my device's driver and I can see it listed when I run adb devices. 

When I run appium-doctor everything is with green ticks, executing appium & starts the appium server (I think?) and everything looks fine. What do I need to do from here on? What files I need to create?

Any info is appreciated!

Upvotes: 3

Views: 5817

Answers (1)

Paul
Paul

Reputation: 566

It looks like you have everything setup that will allow you to run mocha android-simple.js from the Appium node examples. You may need to npm install various modules required by the test's helpers before it will run.

If that works then the examples and the javascript bindings docs are a good starting point.

Upvotes: 2

Related Questions