{"id":16373649,"url":"https://github.com/wasiqb/appium-locator-sample","last_synced_at":"2026-03-20T16:30:14.308Z","repository":{"id":88143666,"uuid":"519706869","full_name":"WasiqB/appium-locator-sample","owner":"WasiqB","description":"Demo project for Appium supported locators","archived":false,"fork":false,"pushed_at":"2022-08-19T06:40:45.000Z","size":16826,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T21:13:27.371Z","etag":null,"topics":["appium","demonstration","espresso","locators","uiautomator2","xcuitest"],"latest_commit_sha":null,"homepage":"","language":"Java","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/WasiqB.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-31T07:20:28.000Z","updated_at":"2022-08-19T12:29:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6e9e2ee-e23e-4a57-85b8-b7771eaa4f6a","html_url":"https://github.com/WasiqB/appium-locator-sample","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/WasiqB%2Fappium-locator-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fappium-locator-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fappium-locator-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasiqB%2Fappium-locator-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WasiqB","download_url":"https://codeload.github.com/WasiqB/appium-locator-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239934038,"owners_count":19720870,"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","demonstration","espresso","locators","uiautomator2","xcuitest"],"created_at":"2024-10-11T03:14:51.733Z","updated_at":"2026-03-20T16:30:14.268Z","avatar_url":"https://github.com/WasiqB.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appium Locator sample\n\nThis repository is used for demonstrating different locator strategies supported by Appium.\n\n## Prerequisites\n\nYou must have Java JDK 11 installed on your machine.\n\nFor running the tests on LambdaTest cloud platform, you must have a valid LambdaTest account.\nAlso, you must save your username and access key in the environment variables of your `.zshrc` / `.bash_profile`. If you\nare on Windows, you must save your API key and secret in the System environment variables.\n\n```shell\nexport LT_USERNAME=\u003ccloud-username\u003e\nexport LT_ACCESS_KEY=\u003ccloud-key\u003e\nexport LT_APP_ANDROID=\u003cproverbial-app-cloud-url\u003e\nexport LT_APP_ANDROID_2=\u003capi-demo-app-cloud-url\u003e\nexport LT_APP_IOS=\u003cproverbial-app-ios-cloud-url\u003e\n```\n\n## What tests are there?\n\n### `LocatorsAndroidEspressoCloudTest.java` and `LocatorsAndroidEspressoTest.java`\n\nThis test class contains the tests for,\n\n- `testByDataMatcher`\n- `testByViewMatcher`\n\nClass `LocatorsAndroidEspressoTest.java` was created because Espresso automation type is not yet supported on\nLambdaTest as well as many other cloud platforms. Hence, this class will execute the test on local Android emulator.\n\n### `LocatorsAndroidUiAutomatorTest.java`\n\nThis test class contains the tests for,\n\n- `testByClassName`\n- `testById`\n- `testByUiSelector`\n- `testByXpath`\n\n### `LocatorsIOSTest.java`\n\nThis test class contains the tests for,\n\n- `testByAccessibilityId`\n- `testByClassChain`\n- `testByPredicate`\n\n## How to run the tests?\n\nYou can run the tests by running the following command:\n\n```bash\n\u003e mvn clean install\n```\n\nYou can also run from the IDE by opening `testng.xml` file and right-clicking on it and selecting `Run`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasiqb%2Fappium-locator-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasiqb%2Fappium-locator-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasiqb%2Fappium-locator-sample/lists"}