Skip to content

Instantly share code, notes, and snippets.

@jahentao
Created October 8, 2017 03:55
Show Gist options
  • Save jahentao/0bcf0721b4946476fca81152e086033e to your computer and use it in GitHub Desktop.
Save jahentao/0bcf0721b4946476fca81152e086033e to your computer and use it in GitHub Desktop.
百度云重复文件删除Selenium IDE脚本
<?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://pan.baidu.com/" />
<title>百度云重复文件删除</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">百度云重复文件删除</td></tr>
</thead><tbody>
<tr>
<td>store</td>
<td>1000</td>
<td>total</td>
</tr>
<tr>
<td>store</td>
<td>0</td>
<td>count</td>
</tr>
<tr>
<td>while</td>
<td>${count} &lt;${total}</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=span.g-v-button-right &gt; span.text</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>link=确定</td>
<td></td>
</tr>
<tr>
<td>pause</td>
<td>2000</td>
<td></td>
</tr>
<tr>
<td>store</td>
<td>${count} + 1</td>
<td>count</td>
</tr>
<tr>
<td>endWhile</td>
<td></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