Polls-01

View Source

name:

Polls Tool

purpose:

Test Procedure to verify that the Polls tool functions properly. User should be able to create a poll, create possible answers, allow others to access the poll, and view the results/statistics.

expected result:

User should be able to access polls and use them

test data:

 

dependencies:

SiteSetup.htm has run

setup:

 

start at:

Home, Login: instructor

Step ID

Action

Expected Result

1.

Select the POLLS link from the left navigation tabs

User is directed to the Polls Detail Page

2.

Select the ADD link

User directed to Add a Poll page

3.

Do not add any info and click SAVE AND ADD OPTIONS

User prompted to with the message Your poll must have a question

4.

Add the question" Do you like Sakai" and leave the rest as default. Click on SAVE AND ADD OPTIONS

User directed to Add an Option page

5.

Do not type any text click SAVE

User prompted You must specify some text for the option

6.

In Answer option type YES and click on SAVE AND ADD OPTIONS

User directed to Add an option page

7.

In Answer option type NO and click on SAVE

User is directed Add a Poll page where user can now see the YES and NO options which were recently added.

8.

Click SAVE

User is directed to the Polls Details Page where recently created Poll is visible

9.

Click on RESULTS link

The two options YES and NO are visible. Votes against both are 0 and % votes are also 0.

10.

Login as student 1 and select POLLS from the left navigation tab

User should be directed to the Polls Details page where he can see the recently created poll

11.

Click on Do you like Sakai? Link

User should be directed to the Vote screen

12.

Do not select any option and click on Vote

User is prompted with the message You have selected no options. You must select at least 1

13.

Select YES and click the VOTE button

Message displayed Thank you for voting! along with reference number

14.

Click on the BACK Link

User directed to the Poll's list Page

15.

Click on the RESULTS Link

User directed to Results page where YES has 1 vote and 100% and NO has 0 vote and 0%

16.

Click on the BACK Link

User directed to Poll's List Page

17.

Logout as a student and login as a instructor and select POLLS from the left navigation links

User is directed to the Polls detail Page

18.

As instructor select the RESULTS link

User directed to Results page where YES has 1 vote and 100% and NO has 0 vote and 0%

19.

Click on the BACK Link

User directed to Polls List Page

20.

Select the EDIT link

User prompted with the message You are editing a poll that has already been voted on

21.

Change the opening date to a week's later date such that the opening date is later than the closing date and click SAVE

User prompted with the message Your poll can't close before it opens

22.

Change the opening date to today's date such that the opening date is before the closing date(a later date) and select results should be visible after the closing date and click SAVE

User directed to Polls List Page

23.

Logout as a instructor and login as a student1 and select POLLS from the left navigation links

User directed to the Poll's list Page but now no RESULTS link is present

24.

Logout as a student1 and login as a instructor and select POLLS from the left navigation links

User is directed to the Polls default Page

25.

Check the REMOVE button and select UPDATE

The poll should be deleted

26.

Select the ADD link

User directed to Add a Poll page

27.

Enter the following:

  • Question:Which color do you like the most?
  • Opening date Leave as default
  • Closing date Leave as default
  • What is the minimum number of Answer Options that can be selected? Choose 2
  • What is the maximum number of Answer Options that can be selected? Choose 3
  • Results are visible:To participants who have voted, or after closing date
  • Click SAVE AND ADD OPTIONS
  • Add just 4 options : Yellow,White,Brown,Black
  • Click SAVE

4 options "YELLOW","BLACK","WHITE" , "BROWN" should be added

28.

Select the EDIT link next to YELLOW

User directed to Edit an Option Page

29.

Change YELLOW TO RED and select CANCEL

User directed to the Add a Poll Page

30.

Again select the EDIT link next to YELLOW

User directed to Edit an Option Page

31.

Change YELLOW TO RED and select SAVE

The option should change from YELLOW to RED

32.

Select DELETE link against RED

User directed to Delete Confirmation page where user is prompted with Are you sure you want to remove this Option?

33.

Select CANCEL

User directed to the Add a Poll Page

34.

Again select DELETE link against RED

User directed to Delete Confirmation page where user is prompted with Are you sure you want to remove this Option?

35.

Select REMOVE

RED should be removed from the options

36.

Login as student1 and select POLLS from the left navigation tab

User directed to Polls List Page

37.

Select Which color do you like the most? link and vote for all the 3 colors BLACK,WHITE AND BROWN

Message displayed Thank you for voting! along with reference number

38.

Login as student2 and select POLLS from the left navigation tab

User directed to Polls List Page

39.

Select "Which color do you like the most?" link and check BLACK and click RESET

The checked box should now be unchecked

40.

Again Check BLACK and click CANCEL

User directed to Polls List Page

41.

Select "Which color do you like the most?" link and check BLACK and click VOTE

Message displayed You have selected too few options. (Minimum: 2)

42.

Select "Which color do you like the most?" link and check BLACK,BROWN and click VOTE

Message displayed Thank you for voting! along with reference number

43.

Click on the BACK Link

User directed to the Polls List page where the RESULT link should be visible

44.

Click on the RESULTS Link

There should be a total of 5 votes.

  • BLACK should have 2 votes(100%)
  • WHITE should have 1 vote(50%)
  • BROWN should have 2 votes(100%)

45.

Logout as student2 and login as student3 and click on POLLS from left navigation tabs

User directed to the POLLS LIST page and RESULTS link should not be visible as the results are visible only after the closing date or to those who have voted

46.

Logout as student3 and login back as instructor and select POLLS from left navigation tab

User directed to Polls List Page

47.

Select the ADD link

User directed to Add a Poll page

48.

Enter the following:

  • Question:What is 5+7
  • Opening date as today
  • Closing date as 10 min later than opening date
  • What is the minimum number of Answer Options that can be selected? Choose 0
  • What is the maximum number of Answer Options that can be selected? Choose 2
  • Results are visible:after closing date
  • Add just 1 option :11,12,13,14
  • Click SAVE

User directed to POLLS LIST Page

49.

Logout as instructor and login as student1 and select POLLS from left navigation tabs

User directed to Polls List Page where only the recently created Poll is shown as a link while the other poll for which the user has voted "Which color do you like the most?" is not shown as a link

50.

Click on the link and select 12,13,14 and click vote

User prompted with message You have selected too many options. (Maximum: 2)

51.

Select 12,11 and click VOTE

Message displayed Thank you for voting! along with reference number

52.

Click on the BACK Link

User directed to Polls List Page and the results for the poll "What is 5+7?" is not visible

53.

Refresh the page after the closing time

Results are now visible to the student and on clicking there is 1 vote for both 11 and 12 with 100% votes

54.

Logout as student and login back as instructor and select POLLS from left navigation tab

User directed to Polls List Page

55.

Click on the *HELP(question)*icon

Help Manual for POLLS should open

56.

Select the ADD Link

User directed to Add a Poll page

57.

Enter the following:

  • Question:What is the shape of the earth?
  • Opening date as today and enter abcd as time
  • Closing date as 10 min later than opening date and enter time as 12:30.Do not add AM or PM
  • What is the minimum number of Answer Options that can be selected? Choose 1
  • What is the maximum number of Answer Options that can be selected? Choose 1
  • Results are visible:never
  • Select SAVE AND ADD OPTIONS

User should be prompted to enter TIME in correct format

58.

Enter the following

  • Opening date as today's date and current time
  • Closing date as today's date and time 10 minutes later than the current time
  • What is the minimum number of never
  • Select SAVE AND ADD OPTIONS
  • Add round, elliptical, oval,square

Round,elliptical,oval and square should be added as options

59.

Logout as instructor and login student1 and select Polls from the left navigation

User directed to Polls List Page

60.

Select "What is the shape of the earth? " and select round and Vote

Message displayed Thank you for voting! along with reference number

61.

Click the BACK Link

User directed to Polls List Page

62.

After 10 minutes click refresh

The RESULTS link is not visible against the POLL "What is the shape of the earth?"

63.

Logout as student1 and login as instructor and select POLLS from the left navigation tabs

User directed to Polls Details Page

64.

Select Permissions link from the top

Check off Student.Vote and click Save

65.

Select ADD link

User directed to *Add a Poll*Page

66.

Enter Poll 1 in Questions and leave rest as default and click "Save and add Options"

User directed to Add an Option

67.

Enter Option 1 and click Save

User directed to Add a Poll Page

68.

Click SAVE

User directed to Poll List Page

69.

Logout as instructor and log in as student1 and select POLLS from the left navigation tab

User directed to Poll List Page and * Poll 1* is not available as a link for which the student can vote

70.

Logout as student1 and log in as instructor and select POLLS from left navigation tabs and then click on the Permissions

User directed to Permissions Page

71.

Check the following

  • Student.vote
  • Student.add
  • Student.deleteOwn
  • Student.deleteAny
  • Student.editOwn
  • Student.editAny and Click SAVE

User directed to Polls List Page

72.

Logout as instructor and log in as student1 and select POLLS from left navigation link

User directed to Polls List page

73.

Select Poll 1 and VOTE for Option 1

Message displayed to the user is * Thank you for voting* along with the reference number

74.

Select the BACK List

User directed to Poll List Page

75.

Select the EDIT button below the Poll 1

User directed to Edit a Poll Page

76.

Change question to Poll1 to Poll2 and click SAVE

User directed to Polls List page

77.

Check the REMOVE button and click UPDATE

Poll2 should be deleted

78.

Click on the Add Link

User directed to Add a Poll Page

79.

Enter Question as Poll 2 and leave rest as default and click * Save and add options*

User directed to Answer Option Page

80.

Enter Option 3 and click SAVE

User directed to Add a Poll page

81.

Click SAVE

User directed to Polls List Page where Poll3 is visible

82.

Check the REMOVE button for a Poll not created by student 1 and select Update

The poll created by a instructor or any other user should be deleted