{"id":21902115,"url":"https://github.com/destafajri/java-appium","last_synced_at":"2026-04-10T23:04:01.666Z","repository":{"id":55459244,"uuid":"522810370","full_name":"destafajri/Java-Appium","owner":"destafajri","description":"My Source Code of Appium-Java for mobile testing","archived":false,"fork":false,"pushed_at":"2022-09-02T02:34:21.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T06:45:34.169Z","etag":null,"topics":["appium-framework","java","mobile-testing"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/destafajri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-09T05:09:45.000Z","updated_at":"2022-08-20T08:15:36.000Z","dependencies_parsed_at":"2022-08-15T00:40:52.395Z","dependency_job_id":null,"html_url":"https://github.com/destafajri/Java-Appium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destafajri%2FJava-Appium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destafajri%2FJava-Appium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destafajri%2FJava-Appium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destafajri%2FJava-Appium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/destafajri","download_url":"https://codeload.github.com/destafajri/Java-Appium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913920,"owners_count":20530930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appium-framework","java","mobile-testing"],"created_at":"2024-11-28T15:16:34.222Z","updated_at":"2026-04-10T23:04:01.622Z","avatar_url":"https://github.com/destafajri.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java-Appium\nMy Source Code of Java-Appium for mobile testing\n\nHow to Install appium\n\n    Installing appium with Node.js\n\n    Step 1 : Check if node.js is installed on your system    node --version    npm --version\n\n    Step 2 : Download node.js installer    https://nodejs.org/en/download/\n\n    Step 3 : Run the installer \u0026 install node.js \u0026 npm\n\n    Step 4 : Check if node.js \u0026 npm are installed\n        node --version    npm --version\n        where node\n        where npm\n\n    Step 5 : Install appium with node.js\n        npm install -g appium\n\n    Step 6 : Check if appium is installed\n        appium -v\n        where appium\n\n    Step 7 : Start appium\n        appium\n\nInstalling appium with APPIUM DESKTOP CLIENT\n\n    Step 1 : Download appium desktop client\n       http://appium.io/\n       https://github.com/appium/appium-desk...\n\n    Step 2 : Install appium desktop client\n\n    Step 3 : Start appium through appium desktop client\n\n    To check appium installation \u0026 dependencies\n    Install appium-doctor\n    https://github.com/appium/appium-doctor\n    npm install appium-doctor -g\n    appium-doctor -h\n    appium-doctor --android\n\n\n\nHow to run appium with emulator\n    https://www.seleniumeasy.com/appium-tutorials/running-appium-tests-on-android-emulator\n\n    I suggest you to download Android Studio, because it inclucded SDK\n    And dont forget to make System variable on the Environment system\n    ANDROID_HOME\tC:\\Users\\ASUS\\AppData\\Local\\Android\\Sdk\n\n    and also PATH\n    %ANDROID_HOME%\\platform-tools\n    %ANDROID_HOME%\\tools\n\nif you got \"error has terminated solution for emulator img\" you can check\nhttps://stackoverflow.com/questions/57122856/error-while-downloading-google-apis-intel-x86-atom-system-image\nhttps://blog.andevindo.com/the-emulator-process-for-avd-has-terminated-error-log/\nhttps://www.youtube.com/watch?v=bOURCXjmXlg\n\n\nHow to make appium project\n\n    Step 1 : Open Eclipse IDE\n\n    Step 2 : Create a Java maven project\n\n    Step 3 : Add libraries\n       Selenium java\n       Appium java client \n       https://mvnrepository.com/\n\n    Step 4 : Connect device\n       run command : adb devices\n\n    Step 5 : Start appium server\n       can do from command line or appium desktop client\n\n    Step 6 : Add code to start automation on mobile device\n       Set desired capabilities\n        deviceName\n        udid\n        platformName\n        platformVersion\n\n        appPackage\n        appActivity\n\n        this is the URL http://127.0.0.1:4723/wd/hub\n       Start application\n\n    Step 7 : Run and validate\n\nHow to use UIAutomatorViewer for Object Locators\n\n        Step 1 : Connect mobile device to computer system through cable  OR  through wifi OR open your emulator\n  \n        Step 2 : Run command adb devices\n\n        Step 3 : Start UIAutomatorViewer\n            Windows - goto android-sdk/tools/bin\n            Mac - from terminal run command uiautomatorviewer\n\n        Step 4 : Open the application on mobile device and capture on uiautomatorviewer to find element locators\n \n  \n   \nHow to make appium test project\n\n\n    Step 1 : Open Eclipse\n    Step 2 : Install TestNG in eclipse\n    Step 3 : Create a new maven project\n    Step 4 : Add required lib/dependencies\n            Appium java client \n            Selenium java\n            TestNG\n    Step 5 : Save - Clean - Build project\n    Step 6 : Create 2 folders under src/test/java\n            tests\n            pages\n    Step 7 : User src/test/resources create a folder\n            apps\n            will keep application files (.apk, .ipa, .app)\n    Step 8 : Inside tests folder create a class - BaseClass\n    Step 9 : Create setup \u0026 afterTest functions\n            Annotate with testng annotations\n    Step 10 : Add code for desired capabilities\n    Step 11 : Attach mobile device (or make emulator ready)\n            adb devices\n            get id and platform ver and add in desired capabilities\n    Step 12 : Start appium server\n    Step 13 : Run \u0026 test\n    Step 14 : Add test class and extend BaseClass\n\n    Appium Automation Framework from scratch\n    Eclipse Java Maven TestNG\n    Step by Step\n    Can follow on Windows \u0026 Mac\n\n    What we will do:\n    1. Create a java maven project in eclipse\n    2. Add required libraries\n    3. Create classes and functions\n    4. Add desired capabilities\n    5. Setup mobile device and appium\n    6. Create tests for mobile test automation\n    7. Run and test","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestafajri%2Fjava-appium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdestafajri%2Fjava-appium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestafajri%2Fjava-appium/lists"}