Qtopia/Image Viewer

Test cases

Before starting these tests, prepare the device to have a set of test images available.
For Troll testers you can upload these images to the device from aurochs/common/qtopia_test_doc/images

View image

Test Purpose

Verify that images of various types can be viewed

Test Description

1.           Click on View > Settings and uncheck Fast load pictures and click OK

2.           Click on the Open button and select an image.

3.           Verify that the image looks good (you can compare the image by viewing the same file on a desktop PC).

4.           Click on View > Settings and check Fast load pictures and click OK.

5.           Click on the Open button and select an image

6.           Verify that the image looks good.

7.           If the image is a JPEG image: verify that the image is shown faster than without the option enabled.

8.           Repeat the same for test images of type PNG, BMP, XBM, XPM, PNM, JPEG, MNG, GIF and NPD.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Rotate image

Test Purpose

Verify that an image can be rotated

Test Description

1.      Click on View > Settings

2.      In the Options tab, uncheck Rotate pictures to fit screen and click OK

3.      Click on the Open button and select an image.

4.      Click on the Rotate 90 button.

5.      Verify that the image is rotated 90 degrees counter clockwise.

6.      Click Rotate 90 again.

7.      Verify that the image is now shown upside down.

8.      Click Rotate 180

9.      Verify that the image is shown 'normal' again.

10.  Repeat Step 1.

11.  In the Options tab, check Rotate pictures to fit screen and click OK

12.  Select an image, which is of 800 by 600 resolution.

13.  Verify that the image is rotated to fit in screen.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Flipping an image

Test Purpose

Verify that an image can be 'flipped'

Test Description

1.           Click on View > Settings

2.           In the Options tab, uncheck Rotate pictures to fit screen and click OK

3.           Click on the Open button and select an image.

4.           Click on the Image menu and select Horizontal flip

5.           Verify that the image has flipped horizontally (e.g. a person looking to the right on the image now looks to the left).

6.           Click on the Image menu and select Vertical flip

7.           Verify that the image has flipped vertically (e.g. a person standing on the floor suddenly hangs on the ceiling).

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Fullscreen mode

Test Purpose

Verify that an image can be viewed 'Fullscreen'

Test Description

1.           Click on the Open button and select an image.

2.           Click on the Full Screen button and verify that the image is shown full screen, e.g. there is no title bar, no menu bar, no status bar, just a picture and possibly some black areas on two sides of the image to solve scaling issues.

3.           Tap the screen.

4.           Verify that the display returns to 'normal' mode, e.g. the title bar, menu bar and status bar are visible again.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Slide show

Test Purpose

Verify that multiple images can be shown in a 'slide show'

Test Description

1.           Click on View > Slide show

2.           Verify that all available images are shown one after the other.

3.           End the slide show by clicking View > Slide Show again.

4.           Click on View > Settings

5.           Select the Slideshow tab

6.           Drag the slider to adjust the interval time between pictures.

7.           Click on Slide Show again.

8.           Verify that the show is now proceeding with the new interval.

9.           Click on View > Settings and go to the Slideshow tab

10.       Drag the slider to the left again.

11.       Check the Repeat slideshow checkbox and click OK

12.       Start the slideshow again.

13.       Verify that the slideshow starts again after the last image is shown.

14.       Click on View > Settings and go to the Slideshow tab

15.       Uncheck the Repeat slideshow checkbox.

16.       Check the Show pictures in reverse checkbox and click OK

17.       Verify that after the slideshow is started again pictures are now shown in reverse order.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Image scaling

Test Purpose

Verify that small pictures can be scaled up

Test Description

1.           Click on View > Settings

2.           Uncheck Scale up small pictures and click OK

3.           Open images until you find a small one (for instance qt.bmp).

4.           Click on View > Settings

5.           Check Scale up small pictures and click OK

6.           Open the same image again.

7.           Verify that it is shown at a larger scale.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Navigating

Test Purpose

Verify that you can navigate through the available images.

Test Description

1.           Click on the Open button and select an image.

2.           Click on the Next button and verify that the next available image is shown.

3.           Click on the Previous button and verify that the previous button is shown again.

4.           Play with the Next and Previous buttons to navigate through all available images.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

 Filter by Type

Test Purpose

Verify that the images can be filtered according to the type.

Test Description

  1. Download some image files of type PNG, BMP, XBM, XPM, PNM, JPEG, MNG, GIF and NPD on Qtopia device.
  2. Select the PNG image file format from the file type list box.
  3. Verify that only files of PNG format are displayed in the file list.
  4. Repeat step 2 for all the file formats.
  5. Verify that the image files of respective file formats are displayed in the file list correctly.
  6. Finally select “All Image Files” from file type list box.
  7. Verify that image files of all formats are displayed in the file list.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

An insurance agent and New family member (Filter by Category and changing category)

Test Purpose

Verify that the images can be filtered by categories.

Test Description

  1. Select an image file and select “Image” menu and tap on “Properties” option.
  2. Select the “Categories” field.
  3. Verify that you can change the category to Unfiled, Business, Personal and any other custom category.
  4. Check the “Personal” category and tap “OK” button.
  5. Tap on “Open” button in the toolbar to view image file list.
  6. Select “Personal” category from the category filter combo box.
  7. Verify that the last edited image file is displayed.
  8. Select “Business” category from the category filter combo box.
  9. Verify that the last edited image is not displayed.
  10. Change the category of this image to “Business”.
  11. Again verify in the file list view that the last edited image is displayed.
  12. Select “All” from the category filter combo box.
  13. Verify that all the images are displayed.
  14. Again select an image and click on “Image” menu and click on “Properties”.
  15. Tap “…” (Browse) button. Create a new category and select this category for the image.
  16. Verify that the new category is available in the Category filter combo box of the file list view.
  17. Verify that the image is displayed only when “All” or the category to which it belongs is selected in the category filter combo box.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

A news story (Beaming an image)

Test Purpose

Verify that the image can be sent to other Qtopia devices

Test Description

  1. On receiver Qtopia device, select “Beaming” from startup menu and turn the receiver on.
  2. On sender device, select an image. Select “Properties” option from “Image” menu and tap on “Beam” button.
  3. Verify that, on receiver device, “Infrared receive” dialog box appears which shows the details of image file transmission.
  4. When the image file is completely received, verify that a confirmatory dialog appears on the receiver device.
  5. Verify that it has three buttons “Store”, “Open”, And “Discard”.
  6. Tap “Store” button.
  7. Verify that the beamed image has been added into the “Documents” tab of receiver device.
  8. Again repeat steps 2 and 3 on sender Qtopia device.
  9. Now tap “Open” button on receiver Qtopia device.
  10. Verify that image is stored and is added into Image Viewer list. And then opened in Image Viewer.
  11. Again repeat steps 2 and 3 on sender Qtopia device.
  12. Now press “Discard” button on receiver Qtopia device.
  13. Verify that “Discard” button rejects the incoming image and it is not stored anywhere on the receiver device.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

Copying an image

Test Purpose

Verify that an image can be copied

Test Description

  1. Select an image file.
  2. Select “Image” menu and tap on “Properties” option.
  3. Tap the “Copy” button.
  4. Tap on “Open” button in the toolbar.
  5. Verify that a copy of the image is created.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test

A divorced husband (Deleting an image)

Test Purpose

Verify that an image can be deleted

Test Description

  1. Select an image file.
  2. Select “Image” menu and tap on “Properties” option. 
  3. Tap the “Delete” button.
  4. A warning dialog should pop up to prompt you if it is ok to delete the picture.
  5. Verify that the name of the image is shown in the warning dialog correctly.
  6. Tap “X” (Close) button.
  7. Verify that the image is still there.
  8. Tap the “Delete” button again and then tap  “No” button.
  9. Verify that the image is still there.
  10. Tap “Delete” button again and this time tap “Yes” button in the warning dialog.
  11. Verify that the image is deleted from Qtopia device.

Expected TestResult

All the verification steps as described in the Test Description must be met.

Testnorm/Criteria

Exact Match

Test Suitability

Manual test