# creatingModule

### Test Repository

Test Repository is a collection of Modules, which acts as a centralised storage location for [Test Scripts](https://docs.qyrus.com/web-testing/build/creatingscript) and [Test Steps](https://docs.qyrus.com/web-testing/build/creatingsteps) in an organised and hierarchical manner. It serves as a structured and easily accessible repository for managing and maintaining testing assets.

#### Module

Modules are a collection of Test Scripts. Each module can have multiple test scripts. Grouping the test scripts inside a module repository helps in better organisation of test cases for testing scenarios , version control for test scripts and facilitates reusability.

### Creating Modules

1. Navigate to ***Web Testing*** and select desired project
2. Under the ***Build*** tab, Select ***Test Repository***

   ![Creating Modules 1](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-81506597b698ff7e9a4163d96482720f322657e0%2FTest_repo.jpg?alt=media)

#### Module Creation

1. On the "Test Repository" page click the "New Module" button

   ![Creating Modules 2](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-15d293562af2281ddf9b95acc5053efe7eb0bbad%2Fmodule_button.jpg?alt=media)
2. Enter a module "Name"
3. Enter up to a four-character key for the "Module Key Name"
4. Select a color for the "Module Identity"
5. Enter a "Module Description"

   ![Creating Modules 3](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-dac54101079b29f9f4340c26f1140c05940def8f%2Fcreate_module.jpg?alt=media)
6. Click Create Module

   ![Creating Modules 4](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-ddd34de52b13ef167072822290cdc07ef5c3be54%2Fcreate_module1.png?alt=media)
