## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### Seamless Testing

The essence of seamless windows testing is to run both OS/2 Presentation Manager and Windows applications together on the OS/2 Desktop. The tests should execute as many different Windows functions and options as possible, to stress the seamless drivers and environment.

The following situations and scenarios should be considered for seamless testing:

Execute standard Presentation Manager and Windows functionality - move, resize, minimize, maximize and overlay windows of both PM and Windows applications. When minimizing, minimize to the OS/2 Desktop, to the Minimized Window Viewer and hide the applications. Open and close several PM and Windows applications.

When closing applications, exercise various mechanisms (close from the Window List, double click in the window's upper left corner, etc.). For the Windows applications, test within the same DOS session and in different DOS sessions.

Use the Window List, mouse pointer and hot-key sequences (for example, Alt +Esc) to change window focus. Include full-screen, and DOS and OS/2 windowed sessions in some test scenarios.

Verify application functionality - pull-down and pop-up menus, control keys, radio buttons, and so on. Are text font and positioning correct? Are valid colors displayed?

Actual Windows and PM applications should be executed to exercise seamless modifications.

A verification of Windows driver functionality can be obtained using the driver test routines from the Microsoft Windows Device Driver Kit. These tests should execute seamlessly.

Drag both PM and Windows icons and move the cursor over the application windows. Test both hardware and software cursors if available. Exercise various bit map formats - device dependent (DDB), device independent (DIB) and run length encoded (RLE).

Transfer data between Presentation Manager and Windows applications using the Clipboard and DDE.

Exercise all supported hardware resolutions and bits per pels. A different set of problems may be detected at different resolutions and numbers of colors.

Three possible test scenarios are outlined below:

Scenario A (Initial seamless verification):

Two passes:

-Pass One uses a single instance of Windows Clock on the OS/2 Desktop

-Pass Two has multiple instances

Active Sessions:

-Windows Clock

Move, resize, attempt both analog and digital display, overlay OS/2 folder icon view, clip by icon view, minimize, maximize.

Scenario B:

Two passes:

-Pass One with one DOS session for both Windows applications

-Pass Two uses separate DOS sessions.

Exercise the outlined functionality by performing some tasks within an application, then change focus to the next application and continue to test , ultimately returning to the first application.

Active Sessions:

-PM - Jigsaw

Minimize, maximize, move, resize, overlay Windows applications, clip by Windows applications, play the game.

-Windows - Excel

Change fonts, copy data to Clipboard, resize, display chart, minimize, maximize, move, close, cut/paste, overlay PM and Windows applications, clipped by Presentation Manager and Windows applications, change height and width of cells, change colors in cells.

-Windows - Paintbrush

Select color, draw, fill, cut/paste, rotate, edit palette, view bit map, minimize, maximize, move, resize, clipped by and overlay other windows.

Scenario C:

This scenario includes multiple focus changes between the various windows, and exercises hardware palette updates and switching to/from a full-screen session.

The functionality discussed (minimize, maximize, resize, clipping, etc.) should be exercised while changing focus and performing the session switches.

Active Sessions:

-PM - PalDisp

Display hardware palette for verification.

-PM - PalTest

Display bit map using PM Palette Management, and verify palette update.

-PM - Solitaire

Continuous play.

-Windows - ShowDIB

Display bit map using seamless windows Palette Management, and verify palette update.

-Windows - Clock

Analog and digital display.

-DOS Window - batch file in loop, text mode

Run batch file printing text messages, coded in an endless loop.

-DOS Full-Screen - graphics application

Run graphics application program.