QA

Test Script (June 2012)

Main Functionality

#

Test Case

Expected Result(s)

Pass/Fail

Notes

 

As user with site.upd (ie Instructor),  use Site Setup to add  a Web Content tool.  Site Setup >> Edit tools >> Choose Web content >> Enter in Title and URL >> Complete wizard.

Tool is successfully added to the site, the title specified is the tool name in left nav and as header, and the page points to correct URL

pass

 

 

As user with site.upd (ie Instructor), access an existing Web content tool

Options link displays, url loads

pass

 

 

As user without site.upd (ie Student, access an existing Web Content tool

No options link displays, url loads

pass

 

 

As user with site.upd (ie Instructor), click the options link, edit fields and click cancel

Changes are not saved. 

pass

 

 

As any type user, click help icon

Ensure appropriate help content displays

pass

 

Other tests (as time permits)

#

Test Case

Expected Result(s)

Pass/Fail

Notes

 

As user with site.upd (ie Instructor), click the options link.  Change the tool title to "Tool Title', page Title to 'Page Title', choose a pre-determined frame size and update the url to 'http://sakaiproject.org/'.  Click

Left nav reads 'Page title', header for page reads 'Tool Title' frame size is adjusted and the url points to the new url

pass

 

 

As user with site.upd (ie Instructor), Choose options and select 'something else' for the frame height.  A Custom height text box appears.  Specify a height in pixels

Verify the custom height is displayed.

pass

 

 

As user with site.upd (ie Instructor), Choose options and select 'Open in a new Window?'.  Click to new tool and select web content tool

Pop up options are selected by default in options screen.   Clicking on web content tool pops url open in a new window and options link is available there

pass

 

 

As user without site.upd (student), access the site in previous test.

Clicking on web content tool pops url open in a new window.

pass

 

 

As user with site.upd (ie Instructor), Choose options and select 'Open in a new Window?' and 'If opening in new window, show browser toolbar?;   Click to new tool and select web content tool

Clicking on web content tool pops url open in a new window with tool and address bar.  Options link is available

fail

show browser toolbar option isn't available

 

As user without site.upd (student), access the site in previous test.

Clicking on web content tool pops url open in a new window.

pass

 

 

As user with site.upd permission, in an official course site, create a Web Content tool that uses variable passing

http://www.yahoo.com/?fsiteid=${SITE_ID}&internalid=${USER_ID}
&username=${USER_EID}&fname=${USER_FIRST_NAME}&lname=${USER_LAST_NAME}
&role=${USER_ROLE}

. Choose to open the frame in a new window

Ensure the siteid, internal id, username, fname, lname, role, and  appear in the url.