Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

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 and release with all fields filled in

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 all editable fields under Basic Information Values are entered in the fields
5 Click Add Component The page remain the same and the message You are editing the original document. is displayed
6 Click Add Release The page changes to New Release Edit page
7 Fill in all editable fields under Release Summary and Release Repository Values are entered in the fields
8 Click Add Release The page remain the same and the message You are editing the original document. is displayed
9 Click on Linked Releases link Linked Releases page displayed successfully
10 Click to add Releases Search Release dialog is displayed
11 Click Search by name and Select a release to be added Dialog is closed and selected release is displayed under Linked Releases section
12 Click on Clearing Details link Clearing Details dialog is displayed
13 Fill in all editable fields Values are entered in the fields
14 Click on Attachments link and upload a file File attached successfully
15 Click Update Release Release updated successfully! message is displayed
16 Check all fields of the release under Summary, Linked Releases, Clearing Details and Attachments Values are filled in correctly
17 Click Edit button, modify some fields and Update Release Values are updated successfully

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