{"id":18859660,"url":"https://github.com/perfectomobilesa/perfecto-testmodeller-sample","last_synced_at":"2025-07-11T06:35:08.349Z","repository":{"id":95610158,"uuid":"269358859","full_name":"PerfectoMobileSA/Perfecto-TestModeller-Sample","owner":"PerfectoMobileSA","description":"Perfecto TestModeller Sample project","archived":false,"fork":false,"pushed_at":"2020-06-04T13:28:15.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-30T08:45:05.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","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,"zenodo":null}},"created_at":"2020-06-04T12:52:34.000Z","updated_at":"2020-06-04T13:28:18.000Z","dependencies_parsed_at":"2023-05-21T02:15:15.467Z","dependency_job_id":null,"html_url":"https://github.com/PerfectoMobileSA/Perfecto-TestModeller-Sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PerfectoMobileSA/Perfecto-TestModeller-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FPerfecto-TestModeller-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FPerfecto-TestModeller-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FPerfecto-TestModeller-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FPerfecto-TestModeller-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerfectoMobileSA","download_url":"https://codeload.github.com/PerfectoMobileSA/Perfecto-TestModeller-Sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerfectoMobileSA%2FPerfecto-TestModeller-Sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264747855,"owners_count":23657916,"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:50.157Z","updated_at":"2025-07-11T06:35:08.344Z","avatar_url":"https://github.com/PerfectoMobileSA.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Java Selenium Framework for use with TestModeller.io and Perfecto\nOpen source repository of Java based selenium tests. For use with [TestModeller.io](http://www.testmodeller.io) and [Perfecto](http://www.Perfecto.io)\n\nThis sample project is designed to get you up and running within few simple steps.\n\nFollow along with this [Tutorial](https://testmodeller.io/tutorials/selenium-java/)\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\nEclipse users should also install:\n\n1. [Maven Plugin](http://marketplace.eclipse.org/content/m2e-connector-maven-dependency-plugin)\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/Perfecto-TestModeller-Sample.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\n## Running sample as is\n\n* Register the code templates to Test Modeller following this [tutorial](https://curiositysoftware.ie/Resources/tutorials/ConfigureTMFramework.mp4)\n* Copy generated `page objects` into the `Framework\\src\\main\\java\\pages` directory. \n* Copy generated `tests` into the `Framework\\src\\test\\java\\tests` directory.\n* Open CapabilityLoader.java from src/main/java/utilities package\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\ttest\n   \n   b. If credentials are passed as parameters:\n\t\t\n\t\tclean\n\t\ttest\n\t\t-DcloudName=${cloudName}\n\t\t-DsecurityToken=${securityToken}\n\t\t-DtestngXmlFile=testng.xml\n\u003c/p\u003e\n\n* Maven will automatically kick start the parallel execution of different examples inside perfecto package in parallel \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\ttest\n\t\t-DcloudName=${cloudName}\n\t\t-DtestngXmlFile=testng.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}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fperfecto-testmodeller-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperfectomobilesa%2Fperfecto-testmodeller-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperfectomobilesa%2Fperfecto-testmodeller-sample/lists"}