PageRenderTime 13ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/test/selenium/workflow/CreateSimpleWorkflow.html

https://bitbucket.org/cistrome/cistrome-harvard/
HTML | 188 lines | 186 code | 1 blank | 1 comment | 0 complexity | 492ad79827cc45b99e2ee2aeda0b2c8d MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4<head profile="http://selenium-ide.openqa.org/profiles/test-case">
  5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6<link rel="selenium.base" href="" />
  7<title>Create Simple Workflow</title>
  8</head>
  9<body>
 10<table cellpadding="1" cellspacing="1" border="1">
 11<thead>
 12<tr><td rowspan="1" colspan="3">Create Simple Workflow</td></tr>
 13</thead><tbody>
 14<tr>
 15	<td>setSpeed</td>
 16	<td>100</td>
 17	<td></td>
 18</tr>
 19<tr>
 20	<td>open</td>
 21	<td>/workflow</td>
 22	<td></td>
 23</tr>
 24<tr>
 25	<td>selectFrame</td>
 26	<td>galaxy_main</td>
 27	<td></td>
 28</tr>
 29<tr>
 30	<td>clickAndWait</td>
 31	<td>//span</td>
 32	<td></td>
 33</tr>
 34<tr>
 35	<td>type</td>
 36	<td>workflow_name</td>
 37	<td>Test workflow</td>
 38</tr>
 39<tr>
 40	<td>clickAndWait</td>
 41	<td>//input[@value='Create']</td>
 42	<td></td>
 43</tr>
 44<tr>
 45	<td>click</td>
 46	<td>wf-0-popup</td>
 47	<td></td>
 48</tr>
 49<tr>
 50	<td>clickAndWait</td>
 51	<td>//div[@id='wf-0-popup-menu']/div[1]</td>
 52	<td></td>
 53</tr>
 54<!--Now in workflow editor-->
 55<tr>
 56	<td>waitForNotVisible</td>
 57	<td>overlay</td>
 58	<td></td>
 59</tr>
 60<tr>
 61	<td>click</td>
 62	<td>//div[@id='title___workflow__input__']/a/span</td>
 63	<td></td>
 64</tr>
 65<tr>
 66	<td>click</td>
 67	<td>link=Input dataset</td>
 68	<td></td>
 69</tr>
 70<tr>
 71	<td>waitForElementPresent</td>
 72	<td>//div[@id='wf-node-step-1']/div[1]</td>
 73	<td></td>
 74</tr>
 75<tr>
 76	<td>verifyText</td>
 77	<td>//div[@id='wf-node-step-1']/div[1]</td>
 78	<td>Input Dataset</td>
 79</tr>
 80<tr>
 81	<td>verifyText</td>
 82	<td>//div[@id='wf-node-step-1']/div[2]/div[2]</td>
 83	<td>output</td>
 84</tr>
 85<tr>
 86	<td>click</td>
 87	<td>//div[@id='title_group']/a/span</td>
 88	<td></td>
 89</tr>
 90<tr>
 91	<td>click</td>
 92	<td>link-join1</td>
 93	<td></td>
 94</tr>
 95<tr>
 96	<td>waitForElementPresent</td>
 97	<td>//div[@id='wf-node-step-2']/div[1]</td>
 98	<td></td>
 99</tr>
100<tr>
101	<td>verifyText</td>
102	<td>//div[@id='wf-node-step-2']/div[1]</td>
103	<td>Join two Queries</td>
104</tr>
105<tr>
106	<td>verifyText</td>
107	<td>//div[@id='wf-node-step-2']/div[2]/div[3]</td>
108	<td>out_file1</td>
109</tr>
110<tr>
111	<td>assertElementPresent</td>
112	<td>//div[@id='wf-node-step-1']/div[2]/div[2]/div</td>
113	<td></td>
114</tr>
115<tr>
116	<td>assertElementPresent</td>
117	<td>//div[@id='wf-node-step-2']/div[2]/div[1]/div[1]/div</td>
118	<td></td>
119</tr>
120<tr>
121	<td>mouseDownAt</td>
122	<td>//div[@id='wf-node-step-1']/div[2]/div[2]/div</td>
123	<td>0,0</td>
124</tr>
125<tr>
126	<td>mouseMoveAt</td>
127	<td>//div[@id='wf-node-step-2']/div[2]/div[1]/div[1]/div</td>
128	<td>0,0</td>
129</tr>
130<tr>
131	<td>mouseUpAt</td>
132	<td>//div[@id='wf-node-step-2']/div[2]/div[1]/div[1]/div</td>
133	<td>0,0</td>
134</tr>
135<tr>
136	<td>clickAt</td>
137	<td>//div[@id='wf-node-step-2']</td>
138	<td></td>
139</tr>
140<tr>
141	<td>type</td>
142	<td>field1</td>
143	<td>1</td>
144</tr>
145<tr>
146	<td>type</td>
147	<td>field2</td>
148	<td>1</td>
149</tr>
150<tr>
151	<td>select</td>
152	<td>unmatched</td>
153	<td>label=Yes</td>
154</tr>
155<tr>
156	<td>click</td>
157	<td>tool-form-save-button</td>
158	<td></td>
159</tr>
160<tr>
161	<td>waitForAttribute</td>
162	<td>tool-form-save-button@value</td>
163	<td>Save</td>
164</tr>
165<tr>
166	<td>click</td>
167	<td>close-button</td>
168	<td></td>
169</tr>
170<tr>
171	<td>clickAndWait</td>
172	<td>//div[@id='overlay']/table/tbody/tr/td/div/div/div[3]/div[1]/button[2]</td>
173	<td></td>
174</tr>
175<tr>
176	<td>selectFrame</td>
177	<td>galaxy_main</td>
178	<td></td>
179</tr>
180<tr>
181	<td>verifyText</td>
182	<td>//td[2]</td>
183	<td>2</td>
184</tr>
185
186</tbody></table>
187</body>
188</html>