Windows mfcembed smoketest results for 2001-06-14

Title: Embed Extended Smoketests
 
 

Embedding Project - Basic Functional Test Results

Purpose:   The tests below should be run on the embedding test application (mfcEmbed, winEmbed, etc) to determine the basic functionality of each feature.   The tests highlighted in yellow are run as part of the daily smoketests by the release team and the Mozilla QA team - these tests were agreed upon with the embedding development team to keep the tree closed if failure occurs.

Note:  There are links which refer to AOL or Netscape specific sites, not accessible to people outside of the Netscape firewall.  You may need to substitute a site for those tests.  We're working to provide additional URLs for those tests.

 
Test No. Test 
(Green Text = PASS, Red Text = FAIL)
Description
EM.1 Pull Embedding Tests Grab the Embedding test files (embed*) from here and decompress them.
EM.2 Loading Using the url bar, load a URL (example: http://www.yahoo.com) to verify that the load completed, and that scrollbars appear.
ensure that there are no errors in the console
ensure that the window does contain the web content.
EM.3 Clicking Click on a link in the window content. 
ensure that the page loads the new content.
EM.4 Authentication Using the url bar, load a URL
ensure that a dialog asking for the authentication credentials comes up
ensure that you can enter the username and password into the dialog
ensure that after clicking "ok" on the dialog that the content appears.
EM.5 FTP URL loading with Authentication Using the url bar, load a ftp:// URL (example: ftp:[EMAIL PROTECTED]).
ensure that a dialog comes up asking you for your password (your password is your regular unix password).
ensure that you can enter the username and password into the dialog
ensure that after clicking "ok" on the dialog that the FTP directory listing comes up.
ensure that you can open a sub directory in the listing.
EM.6 FILE URL content loading Using the url bar, load a file:// URL (example: file:///c|/test/test.html) that points to a content file.
ensure that the page loads the new content.
EM.7 FILE URL directory loading Using the url bar, load a file:// URL (example: file:///c|/) that points to a directory.
ensure that a FILE directory listing comes up.
EM.8 Context Menu Using the right mouse button.
1. right-click on an image
ensure that the context menu appears
ensure that the "save image as" item appears
2. right-click on a link
ensure that the context menu appears
ensure that the "copy link location" item appears
3. right-click on some static content (plain text for example)
ensure that the context menu appears

Visit a url that requires form text input (example: http://bugzilla.mozilla.org).
1. select a word on the page, right-click the selection and select the "copy" item. Then right-click in the bug number text input field and select the "paste" item.
ensure that the selected word appears in the bug number input field.
2. select the word you just pasted into the text field, right-click the selected text and select "cut" item.
ensure that the word dissappears from the text field.

EM.9 Save-As Using the right mouse button.
1. right-click on some static content, then select the "save page as" item. Select a location and hit ok.
ensure that the page was saved to disk.
2. right-click on an image, then select the "save image as" item. Select a location and hit ok.
ensure that the image was saved to disk.
EM.10 Copy Link Location Using the right mouse button, right-click on a link in some content. Select the "Copy link location" item. Paste the clipboard somewhere (example: another application, or the url bar).
ensure that the link was copied correctly
EM.11 View Source Using the right mouse button, right-click on some static content (example: the whitespace in a page). Select the "View Page Source" item.
ensure that a new window comes up
ensure that the new window contains the html source
EM.12 Progress Bar Load a html page.
ensure that the progress bar at the bottom of the window is "working properly."
EM.13 New Window Creation Using the menu bar, select File/New Browser Window.
ensure that a new browser window opens
EM.14 Profile Creation Using the menu bar, select Edit/Profiles and create a new profile.
ensure that the new profile is created in <Application Data on user's machine>MfcEmbed\Profiles
EM.15 Profile Switching

- Global History: Visited links don't change color at all, Bug 70714

- HTTPAuth: Username/PW not being prefilled, Bug 70715

- Chrome: Can't really tell the difference between Classic and Modern
 
 
 
 

  • Global History - If the embedding app uses globalhistory. On the initial url which the embedding app opens, click on somelinks. They should have the "visted" color. Then switch to a different  profile. The initial url will be opened. The visited links will be different.
  • HTTPAuth - Go to http://browsertest.web.aol.com/tests/private. Name and password dialog will appear, prefilled if you have ever vistedthat site on the current profile. The dialog will not be pre-filled if thisis the first time you have visted that site on this profile. Enter name andpassword if need be and go to the site. Close the window and go to the siteagain. No prompt should appear. Now do two things: (1) Create a *new* profileand switch to it. Visit the same site. Since this is a new profile, the nameand password dialog should come up and not be pre-filled. (2) Switch backto the original profile and visit the site again. The name and password dialogshould appear and be pre-filled.
  • Prefs - To specify a home page to start with to check for profile switching.  Create at least two different profiles and set their home page locations to different URLs by selecting the Edit | Preferences menu item.  Use the Edit | Profiles menu item to select the appropriate profile.  When the first window opens after the profile is switched, it should display the correct home page URL for that profile.
  • Chrome - Create at least two different profilesin the embedding app. Copy the file user-skins.rdf from a mozilla profilewhich is set to *not* use the default skin into one of the embedding app'sprofiles. On switching the profile, the scroll bars should change from oneskin to the other.
  • Cookies

  • 1.  Go to http://quicken.com;  In the box labelled "Get Quotes and Research",
    enter the stock ticker symbol AOL.
    2. Press the "Go" button
    3. On the following page, note the column labelled "My Last 5 Quotes" Also
    note that the 'AOL' ticker symbol appears in this column.
    4. Repeat steps 1-3 with the ticker symbol LNUX
    5. Switch to a different profile.
    6. Repeat steps 1-2 with the ticker symbols RHAT
EM.16 Cut/Copy/Paste Visit a page that requires form text input (example: http://bugzilla.mozilla.org). Using the right mouse button:
1. Select some text on the page
EM.17 Find  Using the keyboard accellerator combination "ctrl-f", bring up the Find dialog. Type in a word you know appears in the content area and hit ok.
ensure that the word is "found" and selected after you hit ok.
EM.18 Javascript Windows 1. Goto http://browsertest.web.aol.com/tests/javascript/javascpt/index.htm and run through the "Windows" tests.
ensure that these tests succeed.
Copyright © 1998-2001 The Mozilla Organization.
Last modified April 23, 2001.
Document History.

Reply via email to