Skip to content

Commit

Permalink
- Added example / test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sp0tteh committed Sep 3, 2013
1 parent e34fbc8 commit 048145f
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions exampleTestCase.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?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="file:///home/jason/repos/codeception-selenium-ide-format/demo.html" />
<title>test213</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">test213</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>codeception-selenium-ide-format/demo.html</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=click</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>id=clicked</td>
<td>clicked</td>
</tr>
<tr>
<td>select</td>
<td>id=select</td>
<td>label=foo</td>
</tr>
<tr>
<td>assertValue</td>
<td>id=select</td>
<td>foo</td>
</tr>
<tr>
<td>type</td>
<td>id=field</td>
<td>FooBar</td>
</tr>
<tr>
<td>verifyValue</td>
<td>id=field</td>
<td>FooBar</td>
</tr>
<tr>
<td>dragAndDropToObject</td>
<td>id=draggable</td>
<td>id=droppable</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>id=waitforme</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td></td>
<td>wait for text</td>
</tr>
<tr>
<td>waitForText</td>
<td>id=waitfortextinelement</td>
<td>wait for text in element</td>
</tr>
<tr>
<td>assertText</td>
<td>id=dropped</td>
<td>Dropped</td>
</tr>
<tr>
<td>addSelection</td>
<td>id=multiselect</td>
<td>label=bar</td>
</tr>
<tr>
<td>addSelection</td>
<td>id=multiselect</td>
<td>label=foo</td>
</tr>
<tr>
<td>removeSelection</td>
<td>id=multiselect</td>
<td>label=bar</td>
</tr>
<tr>
<td>verifySelectedValue</td>
<td>id=multiselect</td>
<td>foo</td>
</tr>
</tbody></table>
</body>
</html>

0 comments on commit 048145f

Please sign in to comment.