You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: browser/composer front-end qa > front-end test plans > Publish Feature Test Plan

Feature Testcases

6.x Composer Project: Publish feature

Written by: Sujay Desai

History
Date Change Description Revision Updated By
1/29/02 Created 1.0 Sujay Desai

References:

http://bubblegum/beth/publishSpec.html (internal URL only)

Test Case Management Usage:
Major Area: Composer
Minor Areas: Publish
Category: Composer UI

Publishing feature was the most requested feature when 6.0 was released. It will finally make it into the upcoming release. This feature test plan will highlight the publishing scenarios we must cover when updating/posting remote documents.

  • Publish
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat for toolbar icon
  • Publish As
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish As
    • Verify that the Publish dialog is displayed allowing you to select a different destination
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
  • HTTP address to browse to (need ISP account with homepage setup)
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a valid HTTP address to browse to (ask ISP)
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system by entering the HTTP address and browsing.
  • Site Name
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a site name in the publish dialog
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • File | Publish As
    • Verify that you can enter a new site name
  • User Name
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a site name in the publish dialog
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat with invalid username and blank user name
    • Verify that a dialog comes up asking to to renter the username/passwd.
  • Password
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a site name in the publish dialog
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat with invalid password and blank password
    • Verify that a dialog comes up asking to to renter the username/passwd.
  • Page Title
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat with no title
    • Verify that a dialog prompts you for a page title
  • File Name
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat with no filename
    • Verify that a dialog prompts you for a filename
  • Save Password checkbox
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a site name in the publish dialog
    • Enter a valid Publishing URL
    • Enter a valid Username and Password
    • Click on Save Password checkbox
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • New Blank Page
    • Enter/edit some text/content
    • File | Publish To
    • Select a site name to publish to
    • Publish
    • Verify that subsequent publish utilizes the passwd in the Save Passwd checkbox.
    • Verify that the document got pushed/updated on the remote system.
  • Set as Default
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a valid Username and Password
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system.
    • Repeat above and give it a different site name
    • Now go into Edit | Publish Site Settings
    • Click on a Site name
    • Click on Set as Default
    • Click OK on Publish Site Settings panel
    • File | Publish To | Publish As
    • Verify the Site Name field is populated with the default site you selected.
    • Open new blank page
    • File | Publish
    • Verify that the Site Name field is populated with the default site you selected.
  • New Site
    • Open new blank/existing HTML page
    • Edit | Publish Site Settings
    • Click on New
    • Enter Publish URL, username, site name, passwd.
    • Click OK on the New panel
    • Verify that this new site got added to the site list in this panel
    • Also verify that this new site gets added in the Publish To list in the file menu
  • Remove Site
    • Open new blank/existing HTML page
    • Edit | Publish Site Settings
    • Click on a site in the site list
    • Click on Remove
    • Verify that the site gets removed from the list
    • Also verify that this new site gets removed from the Publish To list in the file menu
  • Subdirectory for this web page
    • Create a directory on your server that you are going to publish to, for example "FILES"
    • Open new blank/existing HTML page
    • Enter/edit some text/content
    • File | Publish
    • Enter a Site Name
    • Enter a valid Publishing URL
    • Enter a title for the document
    • Enter a filename for the document
    • Enter a valid Username and Password
    • In the Subdirectory for this web page, enter FILES in the field
    • Click Publish on the Publish dialog
    • Verify that the document got pushed/updated on the remote system in the subdirectory FILES.
  • Include images and other files
    • Use same location as page
      • Open new blank/existing HTML page
      • Enter/edit some text/content and add an image(s)
      • File | Publish
      • Enter a Site Name
      • Enter a valid Publishing URL
      • Enter a title for the document
      • Enter a filename for the document
      • Enter a valid Username and Password
      • Click Publish on the Publish dialog
      • Verify that the document got pushed/updated on the remote system and the images
        are on the same level as the file you published.
    • Use this subdirectory
      • Create a directory on your server that you are going to publish to, for example "IMAGES"
      • Open new blank/existing HTML page
      • Enter/edit some text/content and add an image(s)
      • File | Publish
      • Enter a Site Name
      • Enter a valid Publishing URL
      • Enter a title for the document
      • Enter a filename for the document
      • Enter a valid Username and Password
      • In the Subdirectory for this web page, enter IMAGES in the field
      • Click Publish on the Publish dialog
      • Verify that the document got pushed/updated on the remote system and the images went to that subdirectory IMAGES.

The goal of this feature test plan is to exercise the functionality of Publish within the Composer UI