Personal tools

Browser Compatibility Tests

From OpenLaszlo

A number of features are dependent on browser compatibility. This page describes those features and the tests that should be run in order to verify that the features work in all browsers. Some of these features are only used by Emerald and will need to be tested with that app until suitable testcases are created separately.

The OpenLaszlo Snippets Test Plan page contains a sublist of tests that can be run.

Note: The links that point to svn.openlaszlo.org link to the source code of the tests. To run these tests, please install and run OpenLaszlo and execute the tests locally. The tests that point to localhost:8080 also need to be run locally, but they can be run directly without having to copy the source code into a compiler. Please make sure that the localhost link points to the same lps version as the one you have installed (default is lps-3.3.3).


Test Configuration

Platform SWF7 SWF8 SWF9 DHTML
WindowsXP - Firefox 1.5        
WindowsXP - Internet Explorer 6.0.2        
Linux - Firefox 1.5        
MacOSX - Firefox 1.5        
MacOSX - Safari 2.0.4        


General Tests

Comment Pass Fail
LFC - http://svn.openlaszlo.org/openlaszlo/trunk/test/smoke/smokecheck.lzx Should run without errors.    
OpenLaszlo Snippets Test Plan Includes SOLO and Snippets capabilities (documentation on SOLO at http://localhost:8080/lps-3.3.3/docs/guide/proxied.html)    
SOLO data - http://svn.openlaszlo.org/openlaszlo/trunk/test/solo/solo-data.lzx The requested dataset should display Latin text.    
SOLO media - http://svn.openlaszlo.org/openlaszlo/trunk/test/solo/loadmedia.lzx This test needs to be run once in swf7 and once in swf8. Switching images will work in swf8, whereas in swf 7 you will get an error.    
Client fonts - http://localhost:8080/lps-3.3.3/examples/components/style_example.lzx Uses client fonts everywhere. You should not see any blank text areas, except under 'whale bones'.    
Canvas resize - http://svn.openlaszlo.org/openlaszlo/trunk/test/bugs/bug-4065/test-resize-app.lzx Resizing browser window should resize canvas.    
Back button support tests
  • Previous and Next buttons within the app should toggle "0" and "1", but not change pages within the browser (doesn't work in Safari).
  • Forward and back buttons in the browser should move focus within the app, but not change pages within the browser (doesn't work in Safari).
   
Scroll Wheel - http://svn.openlaszlo.org/openlaszlo/trunk/test/bugs/LPP-115/LPP-115.lzx For scrollboxes on the left side of the page, scrolling should work when focus is on the scrollbox. For scrollboxes on the right side, mousing over the scrollbox should enable scrolling.    
Context menu tests In both tests, when mousing over the blue box and then right-clicking (or control-clicking in a one-button environment), you should see a 'view custom item' menu.    
Keyboard navigation (and initial focus) - http://localhost:8080/lps-3.3.3/examples/components/style_example.lzx The linked page tests the ability to tab through various fields. Initial focus should be on the 'Trunk of the tree' folder. In the lower left corner window there is a tab for Bogart, GA -- test group selection with ctrl-click and shift-click there. (Note that this example is the same as the 'client fonts' example, but here you are testing keyboard function)    
Persistent connection - http://localhost:8080/lps-3.3.3/demos/chat/chat.lzx When you test this application, make sure the client does not time out.    
Data transport - http://localhost:8080/lps-3.3.3/demos/vacation-survey/vacation-survey.lzx Makes a client-to-server connection through HTTP separate from the OpenLaszlo server.    
Media transport tests
  • Make sure the images load and the application works.
  • Make sure the music plays when the client loads.
   
Data caching - http://localhost:8080/lps-3.3.3/demos/calendar/calendar.lzx Watch lps.log to see that you get 304 on reload of data and the app.    
App caching Any example in Laszlo in 10 Minutes will work.