Skip to content

Instantly share code, notes, and snippets.

@ss81
Created November 15, 2012 16:02
Show Gist options
  • Save ss81/4079387 to your computer and use it in GitHub Desktop.
Save ss81/4079387 to your computer and use it in GitHub Desktop.
Draft of Selenium Test
<?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://example.com/" />
<title>checkout</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test Title</td></tr>
</thead><tbody>
<tr>
<td>setTimeout</td>
<td>60000</td>
<td></td>
</tr>
<!--Global Variables-->
<tr>
<td>storeEval</td>
<td>Math.floor(Math.random()*11111)</td>
<td>randomNumber</td>
</tr>
<tr>
<td>storeEval</td>
<td>&quot;test&quot; + ${randomNumber} + &quot;@gmail.com&quot;</td>
<td>randomEmail</td>
</tr>
<tr>
<td>storeEval</td>
<td>&quot;test&quot; + ${randomNumber}</td>
<td>randomName</td>
</tr>
<!--Custom Activities-->
</tbody></table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment