All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.gov.nasa.worldwind.render.BrowserBalloonTest.html Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show newest version







    BrowserBalloon Manual Tests



BrowserBalloon Manual Tests

Describes the steps to execute a manual validation test of the World Wind BrowserBalloon implementation.

Run gov.nasa.worldwind.render.BrowserBalloonTest. Use the File menu to open local files or URLs in the BrowserBalloon.

Rendering issues

Test file: testData/PikePlacemarket.html

Test steps
  1. Resize the balloon to be smaller than the content. Confirm that horizontal and vertical scroll bars appear.
  2. Resize the balloon to be larger than the content. Confirm that the scroll bars disappear. There should not be inactive scroll bars visible if the content does not need scroll bars; the scroll bars should completely disappear.

Navigation

Test site: http://en.wikipedia.org/wiki/Main_Page

Test steps
  1. Click on the link for "Contents"
  2. Click through a couple more links, such as "Current events", and then "Random article".
  3. Use the back and forward balloon controls to navigate through the history. Confirm that the balloon navigates back and forward.
  4. Click the close control. Confirm that the balloon closes.
Issues The back control is not able to navigate back to the first page.

Input handling

Test site:http://maps.google.com

Test steps
  1. Use the mouse to drag the map in the right pane. Confirm that the map moves with the mouse.
  2. Double click on the map. Confirm that the map zooms in.
  3. Move the mouse scroll wheel. Confirm that the map zooms in and out with the scroll wheel.
  4. Move the mouse over the little map at the top of the zoom level control. The man should "pop out" when the mouse hovers over him.
  5. Drag the little man onto the map. Confirm that the map enters street view.
  6. Click and drag in street view. Confirm that the view moves with the mouse.
  7. Click and drag to select some text. Copy the text using the Ctrl-C or Cmd-C keyboard shortcut. Paste the text into a text editor. Confirm that text can be selected, copied, and pasted.

Test site: http://google.com

Test steps

  1. Click on the search input box. Confirm that a text caret displays in the box.
  2. Enter a search string and click "search". Confirm that the balloon navigates to a search results page.

Test site: http://youtube.com

Test steps

  1. Resize the window until horizontal scroll bars appear. Confirm that horizontal scroll bar appears.
  2. Drag the vertical scroll bar knob. The page should scroll as the knob drags.
  3. Click the scroll up and down arrows. Click the arrow and hold down. Confirm that the page continues scrolling as long as the mouse is pressed.
  4. Click the scroll page up and page down areas. Confirm that the page scrolls by a page.
  5. Repeat tests with horizontal scroll bar.
  6. Move the mouse scroll wheel. Confirm that the page scrolls as the wheel moves.

Flash content

Test site: http://www.youtube.com/watch?v=oY59wZdCDo0

Test steps

  1. Confirm that the flash video plays.
  2. Click on the pause control. Confirm that the video stops.
  3. Click on the start control. Confirm that the video restarts.
  4. Drag the playback to control to jump to a different part of the video. Confirm that the playback position changes.
Issues
On Windows, mouse hover events do not work in Flash content. For example, hovering over the YouTube volume control should cause the volume slider to appear, but it does not. In some Flash content, a double click is required to before the control responds.

Language issues

Test site: http://www.cuhk.edu.hk/chinese/

Copy and paste this link into "Open URL...".

Test steps

  1. Confirm that the site renders correctly. Open the site in an separate browser and confirm that the correct Chinese characters are displayed in the balloon.

WebResourceResolver

Run the KMLViewer example to test this feature.

Test steps

  1. Open the file testData/KML/RelativeBalloonReferences.kmz
  2. Confirm that the images of "A", "B", and "C" appear on the right side of the page.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy