This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Test Cases: Components
Adrian V edited this page Sep 22, 2016
·
6 revisions
TC01: Add a component and release with vendor present
Step | Action | Result |
---|---|---|
1 | Sign In with a known user | User successfully signed in and Home page is displayed |
2 | Click on Components tab | Components page is displayed |
3 | Click Add Component | New Component page is displayed with mandatory fields marked with red star |
4 | Fill in a component Name and Categories and click Add Component | The page remain the same and the message You are editing the original document. is displayed |
5 | Click Add Release | The page changes to New Release Edit page |
6 | Fill in a release Version and CPE ID | Values are entered in the fields |
7 | Click Add Release | The page remain the same and the message You are editing the original document. is displayed |
8 | Click Vendor field | Search Vendor dialog is displayed |
9 | Search for a Vendor, select it and click Select | Dialog is closed and selected Vendor is added under Vendor field |
10 | Click on Attachments link | Attachments page is displayed |
11 | Click on Add Attachment | Upload Attachment dialog is displayed |
12 | Click Browse and select the attachment | File name is displayed in the dialog |
13 | Click Upload button | The file is uploaded and dialog is closed. Also the attached file is listed in the Attachment page |
14 | Change the Attachment type to real type, e.g. Source file if it is a source file | Type changed successfully |
15 | Click Update Release | Release updated successfully! message is displayed |
16 | Click on Components tab | The new component should be added to the components list (e.g. filter by Keyword Search) |
TC02: Modify a component and release with vendor present
Step | Action | Result |
---|---|---|
1 | Search for an existing component (e.g. created in TC01) and click Edit | You are editing the original document message is displayed |
2 | Execute steps 5-16 from TC01 |
TC03: Add and modify a component with release attached and all fields filled in
TC04: Add a new release to an existing component
TC05: Delete a component that is first linked to a project and then not, and a project
TC06: Add a new attachement to an existing release
TC07: Delete an attachement from an existing release
TC08: Duplicate an existing release
TC09: Search for and create a new vendor for a new release