# Running Appium Automation scripts with Android Emulator and IOS simulators

**URL:** <https://discuss.bitrise.io/t/running-appium-automation-scripts-with-android-emulator-and-ios-simulators/10324>\
**Category:** Question & Answer\
**Created:** [September 23, 2019, 3:25pm UTC](https://discuss.bitrise.io/t/running-appium-automation-scripts-with-android-emulator-and-ios-simulators/10324 "2019-09-23T15:25:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhu.muddanarappara](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@madhu.muddanarappara](https://discuss.bitrise.io/u/madhu.muddanarappara)\
**Post date:** [September 23, 2019, 3:25pm UTC](https://discuss.bitrise.io/t/running-appium-automation-scripts-with-android-emulator-and-ios-simulators/10324/1 "2019-09-23T15:25:00Z")

</div>

I am trying to run the Appium tests against Emulators and Simulators  
Currently I have performed below steps

1. Git Clone Repository - To clone the repo from the bitbucket
2. Added below scripts in Script step.  
npm install selenium-webdriver -----\> to Install the selenium webdriver  
npm install -g appium ------\> to install the appium  
appium &\>/dev/null &  
adb devices -----------\> to check the servers are up and running.  
gradle test ------------\> task to run the scripts.

I am getting the below error

org.openqa.selenium.SessionNotCreatedException at HotelDetailsPage.java:31  
Caused by: java.lang.reflect.InvocationTargetException at HotelDetailsPageTest.java:31  
Caused by: org.openqa.selenium.WebDriverException at HotelDetailsPageTest.java:31

Please help in resolving this issue

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [August 19, 2022, 5:26am UTC](https://discuss.bitrise.io/t/running-appium-automation-scripts-with-android-emulator-and-ios-simulators/10324/2 "2022-08-19T05:26:00Z")

</div>

Closed on August 19, 2022, 5:26am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
