Skip to content

Instantly share code, notes, and snippets.

@mohnish82
Created November 8, 2012 03:46
Show Gist options
  • Save mohnish82/4036648 to your computer and use it in GitHub Desktop.
Save mohnish82/4036648 to your computer and use it in GitHub Desktop.
Selenium script to recursively delete google voice call log
<?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=”https://www.google.com/” />
<title>gv_del</title>
</head>
<body>
<table cellpadding=”1″ cellspacing=”1″ border=”1″>
<thead>
<tr><td rowspan=”1″ colspan=”3″>gv_del</td></tr>
</thead><tbody>
<tr>
<td>click</td>
<td>css=div.jfk-checkbox-checkmark</td>
<td></td>
</tr>
<tr>
<td>mouseDown</td>
<td>//div[@id='gc-appbar']/div/div[2]/div[6]</td>
<td></td>
</tr>
<tr>
<td>mouseUp</td>
<td>//div[@id='gc-appbar']/div/div[2]/div[6]</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>20 messages moved to trash.</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