How to setup Appium in Ubuntu for android

前端 未结 9 2195
無奈伤痛
無奈伤痛 2020-11-29 08:28

I am new in appium(automation testing technology).

I\'m using a PC running Ubuntu Linux.

I have searched about this topic but I have not got any

相关标签:
9条回答
  • 2020-11-29 09:08

    It is very simple and easy, Please check the below steps!.

    1) Install latest Node.js

    Terminal commands:

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y nodejs  
    

    More information please check official website.

    2) Install latest Appium

    Terminal commands :

    npm install -g appium
    

    or

    sudo npm install -g appium
    

    More information please check official documentation.

    0 讨论(0)
  • 2020-11-29 09:10

    I can tell about the 14.04 version

    1. Download the file from https://nodejs.org/en/

    2.Now for extracting the file path press Ctrl+l , it will give the exact path , copy it

    3.open bash.src file and it has to be open with gedit, this file is hidden Press Ctrl+h to see the hidden files

    4.now in the bash.src file,paste the below commands

       export PATH=$PATH:"somepath u copied upto bin" 
    
       export NODE_PATH=$PATH:"somepath u copied upto bin node_modules'"
    

    It will surely work

    0 讨论(0)
  • 2020-11-29 09:11

    Steps to get appium working on ubuntu pc :

    Install ruby: Paste the below command at terminal and hit enter

    sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
    

    Install linux brew:Paste the below command at terminal and hit enter

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
    

    set path for brew

    Type: gedit .bashrc at terminal and copy paste following into the .bashrc file

    export PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
    export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
    

    Install node:Paste the below commands one by one at terminal and hit enter

    brew update
    brew install node
    brew link node
    

    Install appium

    npm install -g appium
    
    
    npm install wd
    

    To start appium: Paste the below command at terminal and hit enter

    appium
    
    0 讨论(0)
提交回复
热议问题