{"action":"reopened","issue":{"url":"https://api.github.com/repos/saikrishna321/AppiumTestDistribution/issues/7","labels_url":"https://api.github.com/repos/saikrishna321/AppiumTestDistribution/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/saikrishna321/AppiumTestDistribution/issues/7/comments","events_url":"https://api.github.com/repos/saikrishna321/AppiumTestDistribution/issues/7/events","html_url":"https://github.com/saikrishna321/AppiumTestDistribution/issues/7","id":127525046,"number":7,"title":"Not able to run project from eclipse even after setting ANDROID_HOME variable in runner.java class","user":{"login":"VinitSandesara","id":12589206,"avatar_url":"https://avatars.githubusercontent.com/u/12589206?v=3","gravatar_id":"","url":"https://api.github.com/users/VinitSandesara","html_url":"https://github.com/VinitSandesara","followers_url":"https://api.github.com/users/VinitSandesara/followers","following_url":"https://api.github.com/users/VinitSandesara/following{/other_user}","gists_url":"https://api.github.com/users/VinitSandesara/gists{/gist_id}","starred_url":"https://api.github.com/users/VinitSandesara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VinitSandesara/subscriptions","organizations_url":"https://api.github.com/users/VinitSandesara/orgs","repos_url":"https://api.github.com/users/VinitSandesara/repos","events_url":"https://api.github.com/users/VinitSandesara/events{/privacy}","received_events_url":"https://api.github.com/users/VinitSandesara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T19:56:40Z","updated_at":"2016-01-20T01:04:02Z","closed_at":null,"body":"Hi Sai, Can you please help here, I am trying to make some modification in your sample test for debugging purpose in eclipse but even after setting ANDROID_HOME variable in runner.java class, i am not able to run from eclipse.\r\n\r\nIn Below screenshot you can see i have added \"ANDROID_HOME\" variable in runner.java class\r\n\r\n![screen shot 2016-01-19 at 1 48 47 pm](https://cloud.githubusercontent.com/assets/12589206/12430221/151fd532-beb4-11e5-85b0-018833abbb71.png)\r\n\r\n\r\nIn below screenshot you can see i am trying to run project from eclipse using runner.java class as testng project\r\n\r\n![screen shot 2016-01-19 at 1 49 42 pm](https://cloud.githubusercontent.com/assets/12589206/12430223/18593bda-beb4-11e5-9c43-05556bd1625a.png)\r\n\r\nIn below screenshot you can see the run logs, i have highlighted error msg.\r\n\r\n![screen shot 2016-01-19 at 1 55 43 pm](https://cloud.githubusercontent.com/assets/12589206/12430280/73b959ba-beb4-11e5-956d-1b35a6976e28.png)\r\n\r\nBelow is the log  from Terminal where i am successfully be able to run this project without any errors\r\n\r\nushofml916k:PageObjectPatternAppium vsandes$ mvn clean -Dtest=Runner test\r\n[INFO] Scanning for projects...\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building PagePatternAppium 0.0.1-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ PagePatternAppium ---\r\n[INFO] Deleting /Users/vsandes/Desktop/searsAndroid_Apps/PageObjectPatternAppium/target\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ PagePatternAppium ---\r\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\r\n[INFO] Copying 0 resource\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ PagePatternAppium ---\r\n[INFO] Nothing to compile - all classes are up to date\r\n[INFO] \r\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ PagePatternAppium ---\r\n[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!\r\n[INFO] Copying 0 resource\r\n[INFO] \r\n[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ PagePatternAppium ---\r\n[INFO] Changes detected - recompiling the module!\r\n[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!\r\n[INFO] Compiling 24 source files to /Users/vsandes/Desktop/searsAndroid_Apps/PageObjectPatternAppium/target/test-classes\r\n[INFO] \r\n[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ PagePatternAppium ---\r\n[INFO] Surefire report directory: /Users/vsandes/Desktop/searsAndroid_Apps/PageObjectPatternAppium/target/surefire-reports\r\n\r\n-------------------------------------------------------\r\n T E S T S\r\n-------------------------------------------------------\r\nRunning com.appium.tests.Runner\r\nConfiguring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@8807e25\r\ncreating directory: Logs\r\nDIR created\r\ncreating directory: ADBLogs\r\nDIR created\r\nadb service already started\r\nFollowing device is connected\r\ne9739647 samsung SM-G900P 4.4.2\r\n\r\nTotal Number of devices detected::1\r\nstarting running tests in threads\r\nforEach: true\r\nforEach: true\r\nforEach: true\r\nforEach: true\r\nRunning test file: com.appium.tests.AddCommentTest\r\nInto TestNGRunner\r\n[TestNG] Running:\r\n  Command line suite\r\n\r\nadb service already started\r\n*************pool-1-thread-1\r\n******Running Test in Distributed Way******1\r\nStarting Appium Server\r\ne9739647\r\ninfo: Welcome to Appium v1.4.8 (REV c8179bd8352d3c62d98fa58b324491230df9342a)\r\ninfo: Appium REST http interface listener started on 0.0.0.0:55457\r\ninfo: Console LogLevel: info\r\ninfo: File LogLevel: info\r\ninfo: --> GET /wd/hub/status {}\r\ninfo: <-- GET /wd/hub/status 200 8.517 ms - 104 {\"status\":0,\"value\":{\"build\":{\"version\":\"1.4.8\",\"revision\":\"c8179bd8352d3c62d98fa58b324491230df9342a\"}}}\r\ninfo: --> GET /wd/hub/status {}\r\ntrue\r\nio.appium.java_client.service.local.AppiumServiceBuilder@2267791f\r\ninfo: <-- GET /wd/hub/status 200 3.014 ms - 104 {\"status\":0,\"value\":{\"build\":{\"version\":\"1.4.8\",\"revision\":\"c8179bd8352d3c62d98fa58b324491230df9342a\"}}}\r\ninfo: --> POST /wd/hub/session {\"desiredCapabilities\":{\"app\":\"/Users/vsandes/Desktop/Appium/PageObjectPatternAppium/build/wordpress.apk\",\"appPackage\":\"org.wordpress.android\",\"appActivity\":\"org.wordpress.android.ui.WPLaunchActivity\",\"platformVersion\":\"5.X\",\"appWaitActivity\":\"org.wordpress.android.ui.accounts.SignInActivity\",\"platformName\":\"Android\",\"deviceName\":\"Android\"}}\r\ninfo: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)\r\ninfo: Starting android appium\r\ninfo: Java version is: 1.8.0_25\r\ninfo: Retrieving device\r\ninfo: Found device e9739647\r\ninfo: Device API level is: 19\r\ninfo: App is already installed, resetting app\r\ninfo: Starting App\r\ninfo: <-- POST /wd/hub/session 303 13959.549 ms - 74 \r\ninfo: --> GET /wd/hub/session/a9530ce2-63fe-4847-9d9f-642eb4cb123c {}\r\ninfo: <-- GET /wd/hub/session/a9530ce2-63fe-4847-9d9f-642eb4cb123c 200 3.117 ms - 942 {\"status\":0,\"value\":{\"platform\":\"LINUX\",\"browserName\":\"Android\",\"platformVersion\":\"4.4.2\",\"webStorageEnabled\":false,\"takesScreenshot\":true,\"javascriptEnabled\":true,\"databaseEnabled\":false,\"networkConnectionEnabled\":true,\"locationContextEnabled\":false,\"warnings\":{},\"desired\":{\"app\":\"/Users/vsandes/Desktop/Appium/PageObjectPatternAppium/build/wordpress.apk\",\"appPackage\":\"org.wordpress.android\",\"appActivity\":\"org.wordpress.android.ui.WPLaunchActivity\",\"platformVersion\":\"5.X\",\"appWaitActivity\":\"org.wordpress.android.ui.accounts.SignInActivity\",\"platformName\":\"Android\",\"deviceName\":\"Android\"},\"app\":\"/Users/vsandes/Desktop/Appium/PageObjectPatternAppium/build/wordpress.apk\",\"appPackage\":\"org.wordpress.android\",\"appActivity\":\"org.wordpress.android.ui.WPLaunchActivity\",\"appWaitActivity\":\"org.wordpress.android.ui.accounts.SignInActivity\",\"platformName\":\"Android\",\"deviceName\":\"e9739647\"},\"sessionId\":\"a9530ce2-63fe-4847-9d9f-642eb4cb123c\"}\r\n/Users/vsandes/Desktop/searsAndroid_Apps/PageObjectPatternAppium\r\nJan 19, 2016 1:24:32 PM com.relevantcodes.extentreports.Configuration <init>\r\nINFO: Configurating report from file:/Users/vsandes/.m2/repository/com/relevantcodes/extentreports/2.40/extentreports-2.40.jar!/com/relevantcodes/extentreports/resources/extent-config.xml\r\n\r\n\r\n\r\n\r\nThanks\r\nVinit"}}