Skip to content

Instantly share code, notes, and snippets.

@jordotech
Created December 3, 2012 23:27
Show Gist options
  • Save jordotech/4199042 to your computer and use it in GitHub Desktop.
Save jordotech/4199042 to your computer and use it in GitHub Desktop.
<?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://test.bfanyc.com/home/my_cart" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/home/event/4947</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Ferguson</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=span#add_568022</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>Would you like a physical</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=button.make_virtual</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
<td>How will you be using</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>class=virtual_item_field license_and_resolution</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Proceed to Checkout</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@id='checkout-screen']/div/div/div[3]/button</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