Skip to content

Instantly share code, notes, and snippets.

@ounziw
Created July 10, 2012 06:10
Show Gist options
  • Save ounziw/3081477 to your computer and use it in GitHub Desktop.
Save ounziw/3081477 to your computer and use it in GitHub Desktop.
Mamp Pro でデータベースを空にする (selenium 利用)
<?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:8888/" />
<title>mamp</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">mamp</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/MAMP/?language=Japanese</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>navigationFrame</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=phpMyAdmin</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>relative=up</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>contentFrame</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>500</td>
<td></td>
</tr>
<tr>
<td>selectFrame</td>
<td>frame_navigation</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=mini_blog (3)</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=Check All</td>
<td></td>
</tr>
<tr>
<td>selectAndWait</td>
<td>name=submit_mult</td>
<td>label=Empty</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>id=buttonYes</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment