{"id":20065805,"url":"https://github.com/inflectra/rapise-dynamics365-crm","last_synced_at":"2025-07-17T23:04:00.979Z","repository":{"id":98238420,"uuid":"243253076","full_name":"Inflectra/rapise-dynamics365-crm","owner":"Inflectra","description":"Framework for testing Microsoft Dynamics 365 for Sales","archived":false,"fork":false,"pushed_at":"2021-10-06T16:02:11.000Z","size":517,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-11T03:56:13.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Inflectra.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-02-26T12:05:44.000Z","updated_at":"2021-10-06T16:02:14.000Z","dependencies_parsed_at":"2023-03-12T13:45:46.821Z","dependency_job_id":null,"html_url":"https://github.com/Inflectra/rapise-dynamics365-crm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Inflectra/rapise-dynamics365-crm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Frapise-dynamics365-crm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Frapise-dynamics365-crm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Frapise-dynamics365-crm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Frapise-dynamics365-crm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inflectra","download_url":"https://codeload.github.com/Inflectra/rapise-dynamics365-crm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inflectra%2Frapise-dynamics365-crm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265677009,"owners_count":23809879,"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-13T13:52:50.733Z","updated_at":"2025-07-17T23:04:00.960Z","avatar_url":"https://github.com/Inflectra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nFramework for testing Microsoft Dynamics 365 for Sales.\n\n- Reusable functions are defined in `User.js`.\n- Data for each test case is defined in `Data.xlsx`.\n- `Dropdowns.xlsx` contains lists of values for [RVL dropdowns](https://rapisedoc.inflectra.com/Guide/rvl_editor/#param-dropdowns).\n- `Output.xlsx` is used to persist data between test executions (see SetOutputValue, GetOutputValue common functions below).\n \nThe way of test parameterization and reading data from an Excel spreadsheet is described in the docs:\n\n[Data-Driven Testing](https://rapisedoc.inflectra.com/Guide/ddt/)\n\n## Browser Profiles\n\nThe framework includes a [local browser profile](https://rapisedoc.inflectra.com/Guide/browser_settings/#local-browser-profiles) located in `Profiles\\BrowserProfiles` folder. It is a profile for Chrome. The profile to use is specified in `User.js` file and is used globally by all test cases:\n\n```javascript\ng_browserLibrary = \"Chrome\";\n```\n\nYou may change the profile in `User.js` or pass `g_browserLibrary` value from SpiraTest or via command line.\n\n## Common Functions\n\nAll functions are defined in [User.js](User.js). Look into this file for details.\n\n**Note:** If you are on Rapise 6.6+ you may use global `Crm` object.\n\n![Global Object](Media/Crm.png)\n\nEvery function with `Crm` prefix is now also an action of `Crm` (without the prefix). These two variants are equavalent:\n\n![Equivalents](Media/FunctionCrm.png)\n\n### CrmLaunch\n\nLaunches specific app of Dynamics 365 in a browser. `Dynamics365Url`, `UserName`, `Password` must be set in `Config.xlsx`.\n\n![CrmLaunch RVL](Media/CrmLaunch.png)\n\n![Launch RVL](Media/Launch.png)\n\n### CrmLaunchSales\n\nLaunches Dynamics 365 for Sales in a browser. `Dynamics365SalesUrl`, `UserName`, `Password` must be set in `Config.xlsx`.\n\n![CrmLaunchSales RVL](Media/CrmLaunchSales.png)\n\n### CrmChangeArea\n\nChanges area in the left bottom corner of the dashboard.\n\n![CrmChangeArea RVL](Media/CrmChangeArea.png)\n\n![ChangeArea RVL](Media/ChangeArea.png)\n\n### CrmOpenEntity\n\nOpens entity in the site map.\n\n![CrmOpenEntity RVL](Media/CrmOpenEntity.png)\n\n![OpenEntity RVL](Media/OpenEntity.png)\n\n### CrmClickButton\n\nClicks button on a toolbar.\n\n![CrmClickButton RVL](Media/CrmClickButton.png)\n\n![ClickButton RVL](Media/ClickButton.png)\n\n### CrmSelectTab\n\nSelects tab on the page.\n\n![CrmSelectTab RVL](Media/CrmSelectTab.png)\n\n![SelectTab RVL](Media/SelectTab.png)\n\n### CrmLookupField\n\nSelects value from a lookup field.\n\n![CrmLookupField RVL](Media/CrmLookupField.png)\n\n![LookupField RVL](Media/LookupField.png)\n\n### SrmScrollTo\n\nScrolls to an element with given `data-id` attribute value. To find out the data-id you may use `//div[@data-id and @data-z-index]` query in the Web Spy.\n\n### CrmSetDate\n\nSets value to a date field.\n\n![CrmSetDate RVL](Media/CrmSetDate.png)\n\n![SetDate RVL](Media/SetDate.png)\n\n### CrmSearchRecords\n\nSearches for records.\n\n![CrmSearchRecords RVL](Media/CrmSearchRecords.png)\n\n![SearchRecords RVL](Media/SearchRecords.png)\n\n### SetOutputValue\n\nWrites key/value pair to Output.xlsx\n\n![SetOutputValue RVL](Media/SetOutputValue.png)\n\n### GetOutputValue\n\nReads value from Output.xlsx\n\n![GetOutputValue RVL](Media/GetOutputValue.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflectra%2Frapise-dynamics365-crm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finflectra%2Frapise-dynamics365-crm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflectra%2Frapise-dynamics365-crm/lists"}