Skip to content

Instantly share code, notes, and snippets.

@jayliu50
Created September 23, 2017 08:55
Show Gist options
  • Save jayliu50/677a0d5da1342b6779262dcf194d3a6e to your computer and use it in GitHub Desktop.
Save jayliu50/677a0d5da1342b6779262dcf194d3a6e to your computer and use it in GitHub Desktop.
Selenium IDE Test Case: test to fill out ILL request form
<?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://illiad-bpl-org.ezproxy.bpl.org/" />
<title>ILL-{{{Title}}}</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">ILL</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/patrons/illiad.dll?Action=10&Form=21</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=LoanTitle</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=LoanTitle</td>
<td>{{{Title}}}</td>
</tr>
<tr>
<td>click</td>
<td>id=LoanAuthor</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=LoanAuthor</td>
<td>{{{Author l-f}}}</td>
</tr>
<tr>
<td>click</td>
<td>id=LoanPublisher</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=LoanPublisher</td>
<td>{{{Publisher}}}</td>
</tr>
<tr>
<td>click</td>
<td>id=LoanDate</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=LoanDate</td>
<td>{{{Year Published}}}</td>
</tr>
<tr>
<td>click</td>
<td>id=ISSN</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=ISSN</td>
<td>{{{ISBN13}}}</td>
</tr>
<tr>
<td>type</td>
<td>id=Notes</td>
<td>https://www.goodreads.com/book/show/{{{Book Id}}}</td>
</tr>
</tbody></table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment