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 question 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 student 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