FORMS-02 Forms tool
View Source
name: |
Forms Tool |
purpose: |
Test Procedure to verify that the Forms tools behaves as expected |
expected result: |
User should be able to Add, Revise, Export, Publish, Publish Global, Import, and Delete Forms |
test data: |
schema.xsd, ImportForm.zip |
dependencies: |
SiteSetup.htm has been run |
setup: |
|
start at: |
French1 1 home page, Login: mpaquette |
Step ID |
Action |
Expected Result |
---|---|---|
1. |
Under Site Management, select the Forms link |
User directed to the Manage Forms page |
2. |
Select the Add link |
User directed to the Add Form page |
3. |
Enter the following:
|
User directed to the Add Attachment page |
4. |
Next to schema.xsd, select the Select link |
Page refreshes with schema.xsd listed under the Items to attach table |
5. |
Select the Continue button |
User directed back to the Add Form page with schema.xsd listed in Schema File (xsd) |
6. |
Continue filling the form:
|
User directed to a preview page of the form |
7. |
Select the Validate button |
A number of validation error messages should appear |
8. |
Select the Return button |
User directed back to the Add Form page |
9. |
Select the Add Form button |
User directed to the Manage Forms page where Contact Form should now be listed |
10. |
Under Contact Form, select the Revise link |
User directed to the Revise Form page |
11. |
Modify the Name to read: Contact Form edited
|
User directed to the Manage Forms page where Contact Form edited should now show |
12. |
Next to Contact Form edited, select the Export link |
File download popup window should prompt user to download Contact Form edited.zip file to desktop |
13. |
Select the OK button |
Popup window closes, user should still be at Manage Forms page
|
14. |
Next to Contact Form edited, select the Publish link |
User directed to publish confirmation page with a message asking: Publishing will make this Form available to others in the worksite. Are you sure you want to do this? |
15. |
Select the Yes button |
User directed to the Manage Forms page and, under Contact Form edited, the Publish link should no longer exist. Under the Site State column, should read: published. |
16. |
Next to Contact Form edited, select the Publish Global link |
User directed to a Publish Form confirmation page with the following message:
|
17. |
Select the Yes button |
User directed to the Manage Forms page where, next to Contact Form edited, the Publish Global link should no longer exist. Also, under the Global State column should read 'waiting for approval' |
18. |
Switch browser to an admin session. Log in to the CLE Gateway page with the following:
|
User directed to the My Workspace page |
19. |
Select the Administration tab |
User directed to the Administration index page |
20. |
Select the PortfolioAdmin link |
User directed to the PortfolioAdmin site |
21. |
From the left menu bar, select the Forms link |
User directed to the Manage Forms page where Contact Form edited should be listed with an option to 'approve global publish' |
22. |
Under Contact Form edited, select the approve global publish link |
User directed to a Publish Form confirmation page stating: Global publishing will make this Form available to all users in worksites. Are you sure you want to do this? |
23. |
Select the Yes button |
User directed to the Manage Forms page where, next to Contact Form edited, the 'approve global publish' link should no longer be visible.
|
24. |
Switch browser back to the coordinator session |
User should still be at the Manage Forms page |
25. |
Select the Refresh Arrow Icon |
Page refreshes and Contact Form edited should no longer be listed (indicating that it has been published globally¿which cannot be undone) |
26. |
Select the Import link |
User directed to the Import Form page |
27. |
Next to the Import file text field, select the Select File... link |
User directed to the Add Attachment page |
28. |
Next to the sites resources folder, hover the mouse over the Add link |
A popup menu should appear |
29. |
Select Upload Files from the popup menu |
User directed to an Upload Files page |
30. |
Next to File To Upload, select the Browse... button |
A popup File Upload window opens |
31. |
Select ImportForm.zip
|
Popup window closes and the ImportForm.zip file should be listed in the File To Upload text field |
32. |
Select the Upload Files Now button |
User directed to the Add Attachment page where ImportForm.zip should be listed under Items to attach |
33. |
Select the Continue button |
User directed to the Import Form page where the ImportForm.zip should populate the Import file text field |
34. |
Select the Import button |
User directed to the Manage Forms page where ImportForm should now be listed |
35. |
Next to ImportForm, select the Delete link |
User directed to a Delete Form page asking: You are about to delete this form. Are you sure you want to do this? |
36. |
Select the Yes button |
User directed to the Manage Forms page where ImportForm should no longer be listed |
finish at: Manage Forms page