test.gov.nasa.worldwind.render.BrowserBalloonTest.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwindx Show documentation
Show all versions of worldwindx Show documentation
World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.
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
- Resize the balloon to be smaller than the content. Confirm that horizontal and vertical scroll bars appear.
- 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
- Click on the link for "Contents"
- Click through a couple more links, such as "Current events", and then "Random article".
- Use the back and forward balloon controls to navigate through the history. Confirm that the balloon navigates
back and forward.
- 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
- Use the mouse to drag the map in the right pane. Confirm that the map moves with the mouse.
- Double click on the map. Confirm that the map zooms in.
- Move the mouse scroll wheel. Confirm that the map zooms in and out with the scroll wheel.
- 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.
- Drag the little man onto the map. Confirm that the map enters street view.
- Click and drag in street view. Confirm that the view moves with the mouse.
- 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
- Click on the search input box. Confirm that a text caret displays in the box.
- Enter a search string and click "search". Confirm that the balloon navigates to a search results page.
Test site: http://youtube.com
Test steps
- Resize the window until horizontal scroll bars appear. Confirm that horizontal scroll bar appears.
- Drag the vertical scroll bar knob. The page should scroll as the knob drags.
- 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.
- Click the scroll page up and page down areas. Confirm that the page scrolls by a page.
- Repeat tests with horizontal scroll bar.
- 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
- Confirm that the flash video plays.
- Click on the pause control. Confirm that the video stops.
- Click on the start control. Confirm that the video restarts.
- 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
- 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
- Open the file testData/KML/RelativeBalloonReferences.kmz
- Confirm that the images of "A", "B", and "C" appear on the right side of the page.