QA:Testcase desktop uri

From FedoraProject

Jump to: navigation, search

Contents

Description

This test case tests whether the desktop correctly handles opening common URIs (such as mailto: and http:)

Setup

  1. Boot into the distribution release and desktop you wish to test

How to test

  1. Run the default web browser for the desktop, and browse to a page with a mailto: URI, such as this one
  2. Click on the link (in the example page, click on the address press@fedoraproject.org)
  3. Wait for the result, then click on it again
  4. Close the web browser
  5. Run an application which is part of the desktop which will display http: URIs; the default terminal is often a good choice
  6. Bring up an http: URI within this application - in a terminal, simply type one in (such as http://www.fedoraproject.org )
  7. Click on the URI (Ctrl+Click if you're using the terminal)
  8. Wait for the result, then click on it again (again Ctrl+Click for the terminal)
  9. If the desktop offers configuration of preferred applications for opening URIs, change the default web browser and email client, and repeat the tests. In the GNOME desktop, you can use the Preferred Applications tool to do this

Expected Results

  1. Clicking on a mailto: URI should result in an appropriate email client running and creating an empty email message to the appropriate address
  2. Clicking on a mailto: URI with an email client open should result in an empty email message to the correct address being created within the running email client
  3. Clicking on an http: URI should result in an appropriate web browser running and opening the appropriate site
  4. Clicking on an http: URI with a web browser open should result in the running web browser opening the appropriate site (this may be in an existing or a new window or tab)
  5. If the desktop offers a mechanism for changing the preferred applications, this should work correctly - the chosen applications should be used to open the URIs