Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step ID

Action

Expected Result

1.

Select the Polls link from the left navigation tabs

User is directed to the Polls details 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.

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

User directed to "ADD AN OPTION PAGE"

6.

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.

7.

Click SAVE

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

8.

Click on Results link

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

9.

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

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

10.

Click on Do you like Sakai? Link

User should be directed to the Vote screen

11.

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"

12.

Select YES and click the VOTE button

Message displayed "Thank you for voting!" along with reference number

*|13.

...

| Click on the Back Link

...

|User directed to the Poll's list Page|

14.

Click on the Results Link

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

15.

Click on the Back Link

User directed to Polls List Page

16.

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

User is directed to the Polls default Page

17.

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%

18.

Click on the Back Link

User directed to Polls List Page

19.

Select the EDIT link

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

20.

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"

21.

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

22.

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

23.

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

24.

Check the remove button and select update

The poll should be deleted

25.

Select the add link

User directed to add a poll page

26.

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

27.

Select the EDIT link next to YELLOW

User directed to EDIT AN OPTION Page

28.

Change YELLOW TO RED and select CANCEL

User directed to the ADD A POLL Page

29.

Again select the EDIT link next to YELLOW

User directed to EDIT AN OPTION Page

30.

Change YELLOW TO RED and select SAVE

The option should change from YELLOW to RED

31.

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?

32.

Select CANCEL

User directed to the ADD A POLL Page

33.

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?"

34.

Select REMOVE

RED should be removed from the options

35.

Login as student1 and select polls from the left navigation tab

User directed to POLLS LIST Page

36.

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

37.

Login as student2 and select POLLS from the left navigation tab

User directed to POLLS LIST Page

38.

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

The checked box should now be unchecked

39.

Again Check BLACK and click CANCEL

User directed to POLLS LIST Page

40.

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)"

41.

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

42.

Click on the BACK Link

User directed to the POLLS LIST page where the RESULT link should be visible

43.

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%)

44.

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

45.

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

User directed to POLLS LIST Page

46.

Select the ADD link

User directed to ADD A POLL page

47.

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 0
  • Results are visible:after closing date
  • Add just 1 option :11,12,13,14
  • Click SAVE

User directed to POLLS LIST Page