Why 2 ways to start appium server ( Using Node.js or using the App )

953 views
Skip to first unread message

80Vikram

unread,
Apr 25, 2014, 10:16:05 AM4/25/14
to appium-...@googlegroups.com
Hi,

I'm not really clear why there are 2 ways to start appium server as per http://appium.io/getting-started.html

 1. what is advantages / disadvantages of each one of them ? 

2. In case of any update of appium build how is it taken care of ?

3. Coming back web driver ( java ) background , I really like how webdriver team kept it simple , just one jar file and all magic around it. 

I'm finding it quite difficult to get started , any detailed clarifications will be very helpful. Thanks in advance.

Using Node.js

$ npm install -g appium
$ appium &

Using the App

Satyajit Malugu

unread,
Apr 25, 2014, 11:58:22 AM4/25/14
to 80Vikram, appium-...@googlegroups.com
Actually there is a third way. Git clone github.com/appium/appium. This is the way I prefer.
1. Its the bleeding edge
2. I can get code udpates as soon as someone merges code (no need to wait for appium.app to update or appium module to be updated)

Every approach has its proponents/users. If you are more from the windows/GUI based world or not very technical, appium.app might be more to your liking.
If your app is a node app, having appium in your package.json and updating through npm, might be to your liking.

--
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.

Rameshwar Juptimath

unread,
Apr 28, 2014, 1:38:39 PM4/28/14
to appium-...@googlegroups.com
I find advantage in using appium through command line. You can test you test cases on one device and use a shell script to stop the appium server and start again with a new device udid to run the test against another.

Although there is another way of doing this.

80Vikram .

unread,
Apr 29, 2014, 6:02:15 AM4/29/14
to Satyajit Malugu, appium-...@googlegroups.com
Thanks Satyajit for clarifications & sharing your experiences.

Regards,
Vikram

Gowtham Raja

unread,
Apr 29, 2014, 8:07:47 AM4/29/14
to appium-...@googlegroups.com, Satyajit Malugu
Actually, I am starting appium via terminal only,

I could not know how to start via appium app

if i tried via appium app in mac machine for android and also in windows (i.e., click the Launch button) it displayed,

info: Pre-launching app

info: Got configuration error, not starting session

info: Cleaning up appium session

error: Could not determine your device from Appium arguments or desired capabilities. Please make sure to specify the 'deviceName' capability

can you please help me out.

Because I don't no how to change the version of appium and to change different port via terminal, So, I feel if in appium app both it is easy.

Thanks in advance.

Reply all
Reply to author
Forward
0 new messages