Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exadel-inc/crisp
CRISP is a Google Chrome extension for automated testing that generates test code and automates time-consuming operations in test development. It speeds up test development by replacing time-consuming manual operations with automated features.
https://github.com/exadel-inc/crisp
automated-software-testing-solution automated-testing-chrome-extension chrome-automated-testing-plugin chrome-extension-automated-testing code-generator hacktoberfest hacktoberfest2021 qa-automation
Last synced: about 1 month ago
JSON representation
CRISP is a Google Chrome extension for automated testing that generates test code and automates time-consuming operations in test development. It speeds up test development by replacing time-consuming manual operations with automated features.
- Host: GitHub
- URL: https://github.com/exadel-inc/crisp
- Owner: exadel-inc
- Created: 2021-05-18T11:41:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T07:51:13.000Z (over 1 year ago)
- Last Synced: 2024-05-23T05:06:39.420Z (7 months ago)
- Topics: automated-software-testing-solution, automated-testing-chrome-extension, chrome-automated-testing-plugin, chrome-extension-automated-testing, code-generator, hacktoberfest, hacktoberfest2021, qa-automation
- Language: TypeScript
- Homepage:
- Size: 17.3 MB
- Stars: 21
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRISP overview
CRISP is an open-source Chrome extension which helps to select web elements on the page, automatically populate its selectors, assign configured actions and generate ready test code based on the customized patterns. It can speed up the process of test development by replacing manual time-consuming operations with automated features.
### CRISP configured to use [WebdriverIO Cucumber Boilerplate](https://github.com/webdriverio/cucumber-boilerplate#cucumber-boilerplate) project by default.
1. Follow the [quick start guide](https://github.com/webdriverio/cucumber-boilerplate#quick-start) to setup the WebdriverIO Cucumber Boilerplate project.
1. [Install](#Installation) and [use](#how-to-get-started) CRISP to generate test steps.
1. Add generated test steps to [new scenario](https://github.com/webdriverio/cucumber-boilerplate#how-to-write-a-test) in WebdriverIO Cucumber Boilerplate project.
1. [Run](https://github.com/webdriverio/cucumber-boilerplate#how-to-run-the-test) the test.![](./docs/overview.gif)
## Requirements
- [Node](https://nodejs.org/en/) version 12 or higher
## Installation1. Download the latest stable release [here](https://github.com/exadel-inc/crisp/archive/refs/heads/master.zip) or clone the git repo:
```
$ git clone https://github.com/exadel-inc/crisp.git
```
2. Navigate to the root folder and run the command to install the dependencies
```
$ npm install
```
3. Run the command to build the artifacts
```
$ npm run build
```
4. Launch Chrome browser and open the Extension Management page by navigating to `chrome://extensions`
5. Enable Developer Mode by clicking the toggle switch next to **Developer mode**.
6. Click the **Load unpacked** button and select the `dist` directory from CRISP files.![](./docs/chrome_extension_load.png)
![](./docs/chrome_crisp_loaded.png)
## How to get started
To start using CRISP:
1. Launch Chrome browser.
2. Open Developer tools:
- Click “Customize and control Google Chrome” (3-dots icon) at the status bar -> Select “More Tools” -> select “Developer Tools”;
- Or press Ctrl+Shift+I;
- Or press F12 key.
3. Open “Elements” tab.
4. Open "CRISP" sub-tab on the same level with the "Styles" sub-tab.
![](./docs/crisp_opened.png)
5. Click [+] icon to open “Add element” screen.
6. Launch the “Inspect” tool and select the necessary element at the page.
_(As a result, CRISP will populate found locators of the element into the related fields “ID”, “CSS”, “xPath”_).
7. Select the necessary test “Actions\Verifications” for this element.
_(e.g. “`click`” or “`expect element is displayed`”)_
8. Click [Save] button.
9. Open “Test Actions\Verifications” tab in the bottom.
10. Click “Generate for page” button and see results.
11. Copy & Paste the generated test steps into [new scenario](https://github.com/webdriverio/cucumber-boilerplate#how-to-write-a-test) in WebdriverIO Cucumber Boilerplate project and [run](https://github.com/webdriverio/cucumber-boilerplate#how-to-run-the-test) it## Tips & Tricks
- Use ![](./app/images/sign-in.svg) to generate test steps sequentially for different elements and create comprehensive E2E scenarios.
- [Create new pages](./docs/crisp-help.md#saved-pages) to store elements.
- [Add many elements at once](./docs/crisp-help.md#add-elements-in-bulk) based on a common attribute.
- Customize and define your own steps and patterns in the “Settings” -> [“Framework”](./docs/crisp-help.md#framework).For more details please refer to the [CRISP manual](./docs/crisp-help.md).
_______## Entryfiles (bundles)
There are two kinds of entryfiles that create bundles.
1. All ts-files in the root of the `./app/scripts` directory
2. All css-,scss- and less-files in the root of the `./app/styles` directory_______
## Upcoming features1. UI/UX redesign
2. Highlight elements
3. Verify locators of elements
4. User actions history
5. Presets for actions/verifications
6. User-friendly merge conflict resolution during Import/Pull/Push