{"id":18859682,"url":"https://github.com/perfectomobilesa/javacoursesamples","last_synced_at":"2026-02-08T15:30:18.134Z","repository":{"id":95609983,"uuid":"304546578","full_name":"PerfectoMobileSA/JavaCourseSamples","owner":"PerfectoMobileSA","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-08T09:05:42.000Z","size":7244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-30T20:15:12.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/PerfectoMobileSA.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":"2020-10-16T07:03:27.000Z","updated_at":"2021-03-08T09:05:44.000Z","dependencies_parsed_at":"2023-05-21T02:15:30.011Z","dependency_job_id":null,"html_url":"https://github.com/PerfectoMobileSA/JavaCourseSamples","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/PerfectoMobileSA%2FJavaCourseSamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FJavaCourseSamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FJavaCourseSamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FJavaCourseSamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectoMobileSA","download_url":"https://codeload.github.com/PerfectoMobileSA/JavaCourseSamples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800488,"owners_count":19699127,"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":[],"created_at":"2024-11-08T04:18:53.879Z","updated_at":"2026-02-08T15:30:18.075Z","avatar_url":"https://github.com/PerfectoMobileSA.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Sample Java Project\nThis sample project is designed to get you up and running within few simple steps.\n\nBegin with installing the dependencies below, and continue with the Getting Started procedure below.\n\n### Dependencies\nThere are several prerequisite dependencies you should install on your machine prior to starting to work with this project:\n\n* [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\n\n* An IDE to write your tests on - [Eclipse](http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr) or [IntelliJ](https://www.jetbrains.com/idea/download/#)\n\n* [Maven](https://maven.apache.org/)\n\n* Android studio\n\n* Local Appium Server running at http://127.0.0.1 ,  port: 4723\n\n* Download the OS specific chromedriver into libs folder of the project and update the  webdriver.chrome.driver as applicable\n\nEclipse users should also install:\n\n1. [Maven Plugin](http://marketplace.eclipse.org/content/m2e-connector-maven-dependency-plugin)\n\n2. [TestNG Plugin](http://testng.org/doc/download.html)\n\nIntelliJ IDEA users should also install:\n\n1. [Maven Plugin for IDEA](https://plugins.jetbrains.com/plugin/1166)\n\nTestNG Plugin is built-in in the IntelliJ IDEA, from version 7 onwards.\n \n#### Optional Installations\n* For source control management, you can install [git](https://git-scm.com/downloads).\n* To be able to interact with a real device from Perfecto cloud directly from your IDE, and use Perfecto Reporting, install [Perfecto CQ Lab Plugin](https://www.perfectomobile.com/ni/resources/downloads/add-ins-plugins-and-extensions) for your IDE.\n\n## Downloading the Sample Project\n\n* [Clone](https://github.com/PerfectoMobileSA/PerfectoSampleProject.git) the repository.\n\n* After downloading and unzipping the project to your computer, open it from your IDE by choosing the folder containing the pom.xml \n\n**********************\n# Getting Started\n\n* Download the OS specific chromedriver into libs folder of the project and update the webdriver.chrome.driver system path where ever applicable\n\n* Local Appium Server should be running at http://127.0.0.1 ,  port: 4723\n\n\n## Running sample as is\n\n\n* Open PerfectoAppium.java and PerfectoSelenium.java\u003c/p\u003e\n\n* Search for the below line and replace `\u003c\u003ccloud name\u003e\u003e` with your perfecto cloud name (e.g. demo) or pass it as maven properties: `-DcloudName=\u003c\u003ccloud name\u003e\u003e`\u003c/br\u003e  \n\t\t\u0026nbsp;\u0026nbsp;\t\u0026nbsp;\u0026nbsp; String cloudName = `\"\u003c\u003ccloud name\u003e\u003e\"`;\n\t\t\u003c/br\u003e\n\t\t\u003c/p\u003e\n* Search for the below line and replace `\u003c\u003cSECURITY TOKEN\u003e\u003e` with your perfecto [security token](https://developers.perfectomobile.com/display/PD/Generate+security+tokens) or pass it as maven properties: `-DsecurityToken=\u003c\u003cSECURITY TOKEN\u003e\u003e` \u003c/br\u003e\u003c/p\u003e\n\t\t\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; String securityToken = `\"\u003c\u003cSECURITY TOKEN\u003e\u003e\"`;\n\t\u003c/br\u003e\n\nNote: Refer to official documentation on how to execute from eclipse / IntelliJ. \u003c/br\u003e\n* Run pom.xml with the below maven goals \u0026 properties when: \u003c/p\u003e\n   a. If credentials are hardcoded:\n\t\t\n\t\tclean\n\t\tinstall\n\t\t\n   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;b. If credentials are passed as parameters:\n\t\t\n\t\tclean\n\t\tinstall\n\t\t-DcloudName=${cloudName}\n\t\t-DsecurityToken=${securityToken}\n\t\t-DtestngXmlFile=testng_perfecto.xml\n\u003c/p\u003e\n\n* Maven will automatically kick start the parallel execution of different examples inside perfecto package in parallel if `-DtestngXmlFile=testng.xml` is passed as maven properties, if you want to run only perfecto scripts just pass this: `-DtestngXmlFile=testng_perfecto.xml` as maven properties. (this is the default behaviour) \u003c/p\u003e\n\n* CI dashboard integration can be performed by supplying the below properties to top-level Maven Targets:\n\n\t\tclean\n\t\tinstall\n\t\t-DcloudName=${cloudName}\n\t\t-DtestngXmlFile=testng_perfecto.xml\n\t\t-DsecurityToken=${securityToken}\n\t\t-Dreportium-job-name=${JOB_NAME} \n\t\t-Dreportium-job-number=${BUILD_NUMBER} \n\t\t-Dreportium-job-branch=${GIT_BRANCH} \n\t\t-Dreportium-tags=${myTag}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fjavacoursesamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfectomobilesa%2Fjavacoursesamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fjavacoursesamples/lists"}