# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Kanwei Li <kanwei@gmail.com> # Date 1279808223 14400 # Node ID 79d38503db4d860f9c9d62560c156fb0a2122b1b # Parent 3ce0b7c2b0083ad37fb6b11679632675a8aea043 First selenium test for trackster --- /dev/null +++ b/test/selenium/visualization/Trackster.html @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="http://localhost:8000/" /> +<title>New Browser</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">New Browser</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/visualization/list</td> + <td></td> +</tr> +<tr> + <td>clickAndWait</td> + <td>link=New Track Browser</td> + <td></td> +</tr> +<tr> + <td>type</td> + <td>new-title</td> + <td>Test</td> +</tr> +<tr> + <td>type</td> + <td>new-dbkey</td> + <td>Human Mar. 2006 (NCBI36/hg18) (hg18)</td> +</tr> +<tr> + <td>click</td> + <td>//div[@id='overlay']/table/tbody/tr/td/div/div/div[3]/div[1]/button[2]</td> + <td></td> +</tr> +<tr> + <td>verifyTextPresent</td> + <td>Test (hg18)</td> + <td></td> +</tr> +<tr> + <td>select</td> + <td>chrom</td> + <td>label=chr21</td> +</tr> +<tr> + <td>verifyValue</td> + <td>//div[@id='center']/div[3]/div[2]/div[2]/form/input[1]</td> + <td>0</td> +</tr> +<tr> + <td>verifyValue</td> + <td>//div[@id='center']/div[3]/div[2]/div[2]/form/input[2]</td> + <td>46,944,323</td> +</tr> + +</tbody></table> +</body> +</html>